AssignMetricsConfig
Defined in: src/policies/observability/assign-metrics.ts:13
Configuration for the assignMetrics policy.
Extends
Section titled “Extends”Properties
Section titled “Properties”skip()?
Section titled “skip()?”
optionalskip: (c) =>boolean|Promise<boolean>
Defined in: src/policies/types.ts:33
Skip this policy when condition returns true
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”boolean | Promise<boolean>
Inherited from
Section titled “Inherited from”tags:
Record<string,string| (c) =>string|Promise<string>>
Defined in: src/policies/observability/assign-metrics.ts:18
Metric tags to attach to the request. Values can be static strings or functions that receive the context.