MCPcopy Create free account
hub / github.com/Effect-TS/effect / serializeAttributes

Function serializeAttributes

packages/effect/src/Metric.ts:3498–3500  ·  view source on GitHub ↗
(attributes: Metric.Attributes)

Source from the content-addressed store, hash-verified

3496}
3497
3498function serializeAttributes(attributes: Metric.Attributes): string {
3499 return JSON.stringify(Array.isArray(attributes) ? attributes : Object.entries(attributes))
3500}
3501
3502function mergeAttributes(
3503 self: Metric.Attributes | undefined,

Callers 1

makeKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected