Create a Monitoring MetricSet with a custom dimension
Learn how to create a Monitoring MetricSet with a custom dimension.
Create Monitoring MetricSets (MMS) with custom dimensions to monitor your services in real time. Splunk APM provides a default set of dimensions, but you can index additional dimensions using indexed span attributes. Use custom MMS to create custom charts, dashboards, and detectors to track what matters most to your team.
For more information about custom MMS, see About custom Monitoring MetricSets.
Prerequisites
To create a custom MMS, you must meet the following requirements:
You must have an admin role.
You have indexed the span tag or process it as a TMS on which your custom MMS will be based. See Index span tags to create Troubleshooting MetricSets.
Before you create a custom MMS, you can optionally:
Review Metadata: Dimensions, custom properties, tags, and attributes for an overview of the concepts underpinning MetricSets.
Review About custom Monitoring MetricSets to learn more about the concept, scope, cardinality implications, and other considerations of custom MMS.
Create a custom Monitoring MetricSet for an instrumented service
Create a custom MMS for an instrumented service for more detailed monitoring and analysis.
Before you create a custom MMS for an instrumented service, first consider:
How you want to allocate the cardinality of your data to make your MMS most efficient.
Your organization's cardinality limits. See Troubleshoot cardinality in Monitoring MetricSets for guidance on editing your MetricSet configuration to optimize your overall cardinality.
The following table describes the configuration options for custom MMS. Select the best option for your needs to efficiently allocate your organization's cardinality entitlement. You can also filter by specific tag values to further reduce the cardinality of your MMS.
Option | Guidance |
|---|---|
Service-level MMS and endpoint-level MMS for all endpoints within a service | This option creates a custom dimensionalized MMS for each selected service, as well as an MMS for each endpoint in each selected service. This is the highest cardinality option. |
Service-level MMS and endpoint-level MMS for specific endpoints | This option creates a custom dimensionalized MMS for each selected service and an MMS for specific endpoints you select. In the box labeled Endpoint Filters, provide a list of endpoints or a regular expression pattern to create MMS for specific endpoints you’re interested in. This helps you to minimize unnecessary cardinality. |
Service-level MMS only | This option creates an MMS for each selected service and no endpoint-level MMS. This is the lowest cardinality option. |
Create a custom Monitoring MetricSet for an inferred service
Create a custom MMS for an inferred service for more detailed monitoring and analysis.
Next steps
How to create charts, dashboards, and alerts with your custom Monitoring MetricSet.