Metrics
Metrics in Xitoring is a built-in dashboard that lets you visualize and analyze server performance and integration data through interactive graphs. Open it from the sidebar under Dashboards → Metrics (the old /metrics address opens it too). You can pin graphs from your servers to it and compare the same metrics across several servers. 
Overview of Metrics
The Metrics dashboard works like a custom dashboard that every account has. It is marked Built-in and can't be renamed or deleted. Key features include:
- Pinned graphs: Pin any graph from a server's Metrics tab with the pin icon, and it appears on this dashboard.
- Multiple Server Comparison: Use Quick compare to preview all metrics of an integration across two or more servers side by side.
- Integration Graphs: Visualize data from supported third-party integrations.
Available Integration Types
Xitoring supports a range of integration types, each providing specific data points for analysis. The available types include:
- Nginx
- Netstat
- Apache
- PHP-FPM
- Redis
- KeyDB
- Supervisor
- Docker
- MySQL
- MongoDB
- HAproxy
- PostgreSQL
- IIS
- RabbitMQ
- Disk Health
- Varnish
- CouchDB
Metric Types
When the Metrics source is selected on a server's Metrics tab, these graphs appear to provide insights into server performance:
- Load Average: Graphs appear showing the system's load over a specified period.
- CPU Usage: Graphs appear tracking the percentage of CPU capacity being used.
- Memory Usage: Graphs appear depicting the amount of memory being utilized.
- Disk Usage: Graphs appear that check the storage space usage on your disks.
- Disk I/O: Graphs appear analyzing input/output operations on disk.
- Network: Graphs appear viewing network traffic and usage patterns.
Using the Metrics Dashboard
Adding Graphs
- Open a server: Go to Servers, open a server and select the Metrics tab.
- Choose a metric source: Use the selector at the top left of the tab to switch between the system metrics and the integrations that run on the server.
- Pin a graph: Click the pin icon on a graph and pick the Metrics dashboard as the existing dashboard to pin to (you can also pick another dashboard or create a new one).
Comparing Servers
- Click Quick compare at the top of the dashboard.
- Select an integration and the servers you want to compare, then click Compare.
- Xitoring shows all metrics of that integration for the selected servers. The preview is not saved to the dashboard.
Interacting with Graphs
- Zoom and Pan: Interact with graphs by zooming in for a detailed view or panning across time ranges.
- Apply Filters: Use time-based filters to adjust the data displayed (e.g., Last 24 hours, Last 7 days).
- Synchronize Graphs: Enable graph synchronization to apply interactions across multiple graphs for consistent analysis.
- Hide or remove graphs: Use the icons in a graph's header to hide it, edit it or remove it from the dashboard.
Filters and Options
- Graph Synchronization: The Metrics dashboard supports synchronizing graphs. When enabled, interactions (e.g., zooming or panning) on one graph will apply to all graphs within the same page. This ensures consistent visualization across widgets.
- Change Layout: Use Layout to show the graphs in 1 to 6 columns.
- Interval Updates: Configure the time interval for fetching new data for graphs (e.g., every 1 minute, 5 minutes, etc.).
- Period Filters: Apply time-based filters to control the data displayed in the graphs (e.g., Last 24 hours,Last 7 days, etc.)
- Wallboard mode: Click Enter wallboard mode to show the dashboard full screen, for example on a NOC screen.
Reordering Widgets
Widgets can be rearranged using the drag-and-drop interface:
- Click and hold a widget.
- Drag it to the desired position.
- Drop the widget in place to reorder it.
Benefits of Metrics Visualization
- Comprehensive Monitoring: Gain a holistic view of server performance and integration data.
- Proactive Management: Identify potential issues early by monitoring critical metrics.
- Informed Decision-Making: Use data-driven insights to guide infrastructure and resource management.