OptionalrecordRecord a value into a histogram. Optional — omit it and only spans are produced.
Instrument name.
Recorded value. For http.client.request.duration this is
in seconds, matching OpenTelemetry semantic conventions.
Optionalattributes: MetricAttributes
Low-cardinality dimensions (method, status, host).
OptionalincrementIncrement a counter. Optional — omit it and only spans are produced.
Instrument name.
Optionalvalue: number
Amount to add (default 1).
Optionalattributes: MetricAttributes
Low-cardinality dimensions.
Minimal interface for an OpenTelemetry-compatible tracer. Kinetex does NOT take a hard dependency on @opentelemetry/api. Instead, pass a tracer that implements this interface.
Compatible with @opentelemetry/api's
Tracerinterface — just passtrace.getTracer("kinetex")from your OTel SDK setup.