Docs » Monitor your applications » Understand how metrics work in Splunk Observability Cloud

Understand how metrics work in Splunk Observability Cloud πŸ”—

A metric is a measurable number that varies over time. Multiple sources or emitters, such as host machines, usually report the same metric. Infrastructure Monitoring can store dimension metadata for these sources or emitters. A combination of a metric and a set of dimension names and values forms a metric time series (MTS). Individual metric values in an MTS are called datapoints.

  • CPU utilization % of a server

  • Response time in milliseconds of an API call

  • The number of unique users who logged in over the previous 24-hour period

For more information about metrics and the metadata available for finding, filtering, and aggregating data for building charts and configuring detectors for alerting, see Metrics, dimensions, and metric time series.

Metric time series πŸ”—

A metric time series (MTS) is defined by the unique combination of a metric and a set of dimensions. The most common dimension is a source, for example, a host or instance for infrastructure metrics, or an application component or service tier for application metrics. The output of analytics pipelines is a stream object in SignalFlow.

The same metric can be reported from multiple sources or emitters, and each unique combination of a source and a metric is referred to as a metric time series in Infrastructure Monitoring. For example, suppose you report on the CPU utilization of 10 hosts in a cluster. Then, CPU utilization is the metric and you have time series that represent the CPU utilization over time for each host.

Data points πŸ”—

The individual measurements that make up a time series are data points. A data point is a single reported value of a metric from a particular source at a specific point in time. Each data point sent to Infrastructure Monitoring contains four pieces of information: metric type, metric name, metric value, and zero or more dimensions. For example, a data point can be the CPU utilization of server β€˜foo’ or the count of API calls for service β€˜bar’ on 12 March 2015 at 10:05:15 pm.

Metric type πŸ”—

One of three predefined types: counter, cumulative counter, or gauge. The metric type specified determines the default visualization rollup that Infrastructure Monitoring uses when combining multiple values of this metric for longer time scales. For more information on Metric types, see Metric types.

Metric name πŸ”—

A name that identifies the values being sent in. For example: memory.free, CPUUtilization, transaction.cost, page_visits. For information on naming constraints, see name requirements. For more information, see Metric, Dimension, and Event Name Requirements.

Metric value πŸ”—

The actual measurement from your system, represented as a number.

Dimensions πŸ”—

Key/value pairs that are used to identify the source of the datapoint and other useful contextual information. Common examples of dimensions include host names, the environment from which the metric is being generated, or the name of the service with which it is associated.

Dimensions are one of several forms of metadata in Infrastructure Monitoring that are useful in aggregating and filtering metrics. For example, sending an environment dimension with each datapoint would allow you to suppress alerts on metrics coming from the test environment, but direct alerts from production to your operations team’s preferred messaging system. For more information, see Dimensions.