Skip to main content

OtelMetric

Datalayer Core


Datalayer Core / OtelMetric

Interface: OtelMetric

Defined in: src/otel/types.ts:62

A metric data point.

Properties

attributes?

optional attributes?: Record<string, unknown>

Defined in: src/otel/types.ts:70


metric_name

metric_name: string

Defined in: src/otel/types.ts:63


metric_type?

optional metric_type?: string

Defined in: src/otel/types.ts:71


service_name

service_name: string

Defined in: src/otel/types.ts:64


timestamp

timestamp: string

Defined in: src/otel/types.ts:67


timestamp_unix_nano?

optional timestamp_unix_nano?: string

Defined in: src/otel/types.ts:69

Raw nanosecond timestamp preserved from the backend.


unit?

optional unit?: string

Defined in: src/otel/types.ts:66


value

value: number

Defined in: src/otel/types.ts:65