Skip to content

[TracesHostInfo] Only produce metric for instances generating application metrics #283

Open
@jcreixell

Description

@jcreixell

The traces_host_info metric should only be produced for hosts generating application telemetry (specifically, spanmetrics and servicegraph), and stop being produced when the host no longer produces such metrics.

At the moment, the prometheus implementation behaves correctly in the sense that is wrapped in an expirer and only updated when consuming a span.

The OTEL implementation does not follow this pattern and always exposes the metric, regardless on whether spans have been consumed or not.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions