Skip to content

OtelDataPoint

This docs was updated at: 2026-03-21

com.paragon.telemetry.otel.OtelDataPoint  ยท  Record


Represents an OTLP metric data point (gauge/counter value at a point in time).

See Also

  • OTEL metrics data model: https://opentelemetry.io/docs/specs/otel/metrics/data-model/

Methods

gaugeInt

public static @NonNull OtelDataPoint gaugeInt(
      long value, @NonNull List<OtelAttribute> attributes)

Creates a gauge data point with an integer value.


gaugeDouble

public static @NonNull OtelDataPoint gaugeDouble(
      double value, @NonNull List<OtelAttribute> attributes)

Creates a gauge data point with a double value.


counterInt

public static @NonNull OtelDataPoint counterInt(
      long startTime, long value, @NonNull List<OtelAttribute> attributes)

Creates a counter data point with an integer value.