@salesforce/b2c-tooling-sdk / operations/metrics / MetricsTagContext
Interface: MetricsTagContext
Defined in: packages/b2c-tooling-sdk/src/operations/metrics/tags.ts:71
The request identity and applied filters used to derive authoritative tags.
realm/environment are parsed from tenantId. The optional filter fields mirror the Metrics API's category filters; when a filter was sent, that dimension is known from the request and is stamped onto every series as an authoritative tag — rather than being (mis)parsed from a drilled-down series id. For example, requesting apiFamily=shopper makes the server return finer-grained ids like bdpx.shopper.auth.v1; folding the filter in yields the correct apiFamily: "shopper" instead of the string-parser's wrong apiFamily: "shopper.auth.v1".
Properties
apiFamily?
optionalapiFamily:string
Defined in: packages/b2c-tooling-sdk/src/operations/metrics/tags.ts:75
The apiFamily filter sent with a scapi request, if any.
apiName?
optionalapiName:string
Defined in: packages/b2c-tooling-sdk/src/operations/metrics/tags.ts:77
The apiName filter sent with a scapi request, if any.
ocapiApi?
optionalocapiApi:string
Defined in: packages/b2c-tooling-sdk/src/operations/metrics/tags.ts:81
The ocapiApi filter sent with an ocapi request, if any.
ocapiCategory?
optionalocapiCategory:string
Defined in: packages/b2c-tooling-sdk/src/operations/metrics/tags.ts:79
The ocapiCategory filter sent with an ocapi request, if any.
tenantId
tenantId:
string
Defined in: packages/b2c-tooling-sdk/src/operations/metrics/tags.ts:73
Tenant or organization id the request targeted (with or without f_ecom_).
thirdPartyServiceId?
optionalthirdPartyServiceId:string
Defined in: packages/b2c-tooling-sdk/src/operations/metrics/tags.ts:83
The thirdPartyServiceId filter sent with a third-party request, if any.