Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/metrics / MetricSeriesTags

Type Alias: MetricSeriesTags

MetricSeriesTags = Record<string, string>

Defined in: packages/b2c-tooling-sdk/src/operations/metrics/tags.ts:57

A flat map of a series' identifying dimensions (string → string), following the InfluxDB/Prometheus/CloudWatch "tag"/"label"/"dimension" convention.

Always contains realm and environment (derived from the request context). Category-specific keys (apiFamily, host, cacheStatus, statusClass, ocapiCategory, controller, exceptionType) are added when recognized. A rollup/aggregation series carries aggregation (a statistic, not a dimension — kept distinct so consumers can separate "how it was computed" from "what it describes"). An unrecognized remainder is preserved under series.

Released under the Apache-2.0 License.