open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
2.86k stars 2.24k forks source link

Add metrics to understand cost of telemetry #30729

Closed pavolloffay closed 2 months ago

pavolloffay commented 7 months ago

Component(s)

No response

Is your feature request related to a problem? Please describe.

I would like to use the collector to understand the cost of telemetry data collection. Usually, observability vendors charge per ingest volume.

Describe the solution you'd like

I would like to have internal telemetry metrics that will help me understand how much data is collector processing/sending.

I want to understand how much each instrumented process (service) reports bytes. What is average span size and attribute cardinality?

Describe alternatives you've considered

No response

Additional context

No response

crobert-1 commented 6 months ago

Am I correct in understanding that you're proposing to add these to the internal metrics the collector exposes? Would these values be per telemetry pipeline, or for the running collector as a whole?

crobert-1 commented 6 months ago

Related: https://github.com/open-telemetry/oteps/pull/249

github-actions[bot] commented 4 months ago

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

github-actions[bot] commented 2 months ago

This issue has been closed as inactive because it has been stale for 120 days with no activity.