Use the Metrics Explorer for advanced metric exploration and querying. In addition to the core functionalities (grouping, scope tree, metrics, and graphing) of Explore, Metrics Explorer provides you the ability to:
- Graph multiple metrics simultaneously for correlation. For example, CPU usage vs CPU limits.
- View ungrouped queries by default, showing the individual time series for a metric.
- View context-specific metrics for a selected a scope. You no longer see no data for a selected metric.
- View metrics that are logically categorized with metric namespace prefix.
- Display metrics at high resolution. For example a 1-hour view now shows data at 10-seconds resolution instead of 1 minute.
About the Metrics Explorer UI
The main components of the Metrics Explorer UI are widgets, time navigation, dashboard, and time series panel.
You’ll find Metrics Explorer on the Explore slider menu on the Sysdig Monitor UI. Click Explore to display the slider.
Use Metrics Explorer
This section helps you drill down into your infrastructure stack for troubleshooting views and create alerts and dashboard by using Metrics Explorer.
Switch Groupings
Sysdig Monitor detects and collects the metrics associated with your infrastructure once the agent is deployed in your environment. Use the Explore UI to search, group, and troubleshoot your infrastructure components.
To switch between available data sources:
On the Metrics Explorer tab, click the My Groupings drop-down menu:
Select the desired grouping from the drop-down list.
Groupings Editor
The Groupings Editor helps you create and manage your infrastructure groupings.
Filter Infrastructure (Scope Filtering)
You can drill down the infrastructure stack and get insight into the numerous metrics available to you at each level of your stack. These displays can be found by selecting a top-level infrastructure object, then using the scope filtering for relevant infrastructure objects and metrics filtering for desired metrics.
Sysdig Monitor displays only the metrics and dashboards that are relevant to the selected infrastructure object.
Metrics
You can view specific metrics for an infrastructure object by navigating the scope filtering and metrics filtering menus:
On the Metrics Explorer tab, open the scope filtering menu.
Select the infrastructure object you want to explore.
Navigate to Filter metrics.
Click the desired metrics.
The metric will instantly be presented on the form query and on the dashboard. The scope of the metric, when viewed via the scope filtering menu, is set to the infrastructure object that you have selected.
Optionally, click Add Query, then click a metric to add additional queries.
You can do all the operations, such as setting Time Aggregation, Show Top 50 and Bottom 50 time series, Group Rollup, Segmentation, and Unit of Value Returned by Query, as you use form query. See Building a Form-Based Query for more information.
Create an Alert
Build a form query as described in Metrics.
Click Create Alert.
If you have built multiple queries, you will be prompted to choose a single metric to be alerted on.
Select the metric you want to create an alert for.
Click Create Alert. The New Metric Alert page will be displayed.
The group aggregation will be set to the default one for an alert that is created from a query with group aggregation set to none.
Complete creating the alert as described in Metric Alerts.
Create a Dashboard Panel
Build a form query as described in Metrics.
Click Create dashboard panel.
Select an existing dashboard or create a new dashboard by typing in a name.
Click Copy and Open. The newly created dashboard will be displayed.
The group aggregation will be set to the default one for a dashboard that is created from a query with group aggregation set to none.
Optionally, continue with other operations as described in Managing Panels.