Class MetricSchema.Entry
java.lang.Object
com.codename1.backend.metrics.MetricSchema.Entry
- Enclosing class:
MetricSchema
One instrument of the schema.
-
Method Summary
Modifier and TypeMethodDescriptionString[]The attribute keys a point may carry, in order.intgetKind()One of theInstrumentkinds.The Micrometer meter a Spring Boot application reports the same figure under, or null when it has none.getName()The instrument's name, as the OTLP exporter and the JSON view send it.The name the Prometheus view exposes it under: dots become underscores, and a counter gains_total.getUnit()The UCUM unit, as OpenTelemetry writes it:ms,s,By, or a{curly}annotation for a count.
-
Method Details
-
getName
The instrument's name, as the OTLP exporter and the JSON view send it. -
getKind
public int getKind()One of theInstrumentkinds. -
getUnit
The UCUM unit, as OpenTelemetry writes it:ms,s,By, or a{curly}annotation for a count. -
getAttributes
The attribute keys a point may carry, in order. -
getTemporality
-
getAvailability
-
getMicrometer
The Micrometer meter a Spring Boot application reports the same figure under, or null when it has none. -
getDescription
-
getPrometheusName
The name the Prometheus view exposes it under: dots become underscores, and a counter gains_total. A histogram's series add_bucket,_sumand_countto it.
-