How to View Database Metrics
要实时监控数据库的指标,比如 CPU、EBS、活跃数据库连接和内存使用情况,你可以部署一个 Grafana 仪表板。查看我们的 GitHub 仓库 了解本地或免费的 Fly.io 部署设置说明。参考我们简明的 文档 了解更多关于指标端点的信息。
🌐 To monitor real-time metrics of your database, like CPU, EBS, active database connections, and memory usage, you can deploy a Grafana Dashboard. Check our GitHub repo for setup instructions for local or free Fly.io deployments. Refer to our concise documentation to learn more about the metrics endpoint.
虽然仪表板的报告页面显示了一些指标数据,但它提供的是每小时平均值,而不是按秒的实时数据。不过,它提供查询指标,这是Grafana仪表板没有的。
🌐 While the Dashboard's Reports Page displays some metric data, it provides hourly averages, not real-time by the second data. However, it offers query metrics, which the Grafana Dashboard does not include.