Skip to main content

SetMetricKeys

Sets keys to use with labeled metrics. The values of these keys will be pulled from context at runtime.

def SetMetricKeys(
keys: contextutils.Key
)

Sets keys to use with labeled metrics. The values of these keys will be pulled from context at runtime.

Parameters

NameTypeDescription
keyscontextutils.KeyThe keys to be used with labeled metrics. These keys are used to extract values from the context at runtime.