Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit b835005

Browse files
Added note
1 parent e07b222 commit b835005

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

apm/span-tags/metricsets.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ MMS are available for the following APM components:
4040
- traces
4141
- workflows (Workflow metrics are created by default when you create a Business Workflow. Custom MMS are not available for Business Workflows.)
4242

43-
Monitoring MetricSets in APM are classified as histogram metrics. Previously, MMS were classified as either counter or gauge metrics. A histogram metric type represents a distribution of measurements or metrics, with complete percentile data available. Data is distributed into equally sized intervals, allowing you to compute percentiles across multiple services, and aggregate datapoints from multiple metric time series. Histogram metrics provide a noticeable advantage over other metric types when calculating percentiles, such as the p90 percentile for a single MTS. See more in :ref:`metric-types`.
43+
Monitoring MetricSets in APM are generated as histogram metrics. Previously, MMS were classified as either a counter or gauge metric type. Histogram metrics represent a distribution of measurements or metrics, with complete percentile data available. Data is distributed into equally sized intervals, allowing you to compute percentiles across multiple services, and aggregate datapoints from multiple metric time series. Histogram metrics provide an advantage over other metric types when calculating percentiles, such as the p90 percentile for a single MTS. See more in :ref:`metric-types`.
4444

4545
For each metric, there is 1 metric time series (MTS) with responses ``sf_error: true`` or ``sf_error: false``.
4646

@@ -72,24 +72,23 @@ For each metric, there is 1 metric time series (MTS) with responses ``sf_error:
7272
- ``<component>.duration.ns.p99``
7373

7474

75-
Example histogram MetricSets in APM
75+
Example histogram metrics in APM
7676
---------------------------------------------
7777

78-
A histogram MTS uses the following syntax using Signalflow:
78+
A histogram MTS uses the following syntax using SignalFlow:
7979

8080
.. code-block:: none
8181
histogram(metric=<metric_name>[,filter=<filter_dict>][,resolution=<resolution>)
8282
83-
83+
The following table displays example SignalFlow
8484
.. list-table::
8585
:widths: 33 33 33
8686
:width: 100
8787
:header-rows: 1
8888

89-
9089
* - Description
91-
- Previous MMS syntax
92-
- Histogram MMS syntax
90+
- Previous MMS function
91+
- Histogram MMS function
9392
* - Aggregate count of all MTS
9493
- ``A = data('spans.count').sum().publish(label='A')``
9594
- ``A = histogram('spans').count().publish(label='A')``
@@ -102,6 +101,8 @@ A histogram MTS uses the following syntax using Signalflow:
102101
- ``A = data('service.request.duration.ns.p90', filter=filter('sf_service', 'apm-graphql', 'apm-api-peanuts'), rollup='average').mean().publish(label='A')``
103102
- ``A = histogram('service.request', filter=filter('sf_service', 'apm-graphql', 'apm-api-peanuts')).percentile(pct=90).publish(label='A')``
104103

104+
.. note:: Because an aggregation is applied on histogram(), to display all of the metric sets separately, each dimension needs to be applied as a groupby.
105+
105106
Each MMS has a set of dimensions you can use to monitor and alert on service performance.
106107

107108
.. _service-mms:

0 commit comments

Comments
 (0)