Readonly<Record<string, string>>A metric's label set (from Effect Metric attributes).
models
Source src/Telemetry.ts:601 lines
export type type MetricLabels = {
readonly [x: string]: string
}
A metric's label set (from Effect Metric attributes).
MetricLabels = type Readonly<T> = {
readonly [P in keyof T]: T[P]
}
Make all properties in T readonly
Readonly<type Record<K extends keyof any, T> = {
[P in K]: T
}
Construct a type with a set of properties K of type T
Record<string, string>>;