Skip to content

monitoring: Update observable otlp metrics to improve reporting frequency #17341

Closed
@isaacaflores2

Description

@isaacaflores2

APM Server version (apm-server version): 9.0, 8.19

Description of the problem including expected versus actual behavior:
In a prior issue #17104 we noticed that asynchronous (observable) metrics were providing data at the same intervals as other synchronous metrics. This is due to the nature of observable metrics described here.

All asynchronous instruments (Int64ObservableCounter, Int64ObservableUpDownCounter, Int64ObservableGauge, Float64ObservableCounter, Float64ObservableUpDownCounter, and Float64ObservableGauge) are used to measure metrics outside of the execution of source code. They are said to make "observations" via a callback function called once every measurement collection cycle.

This issue track two remaining observable metrics that should be updated: apm-server.otlp.grpc.metrics.consumer.unsupported_dropped and apm-server.otlp.http.metrics.consumer.unsupported_dropped. These metrics should be converted two synchronous metrics to avoid any large time gaps in reporting data.

Steps to reproduce:

TBP

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions