Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update all metrics to include otelcol_ prefix #9759

Conversation

codeboten
Copy link
Contributor

@codeboten codeboten commented Mar 14, 2024

This ensures the consistency for folks emitting metrics w/ OTLP until the OTEP to specify pipeline telemetry is completed.

Waiting on #9775 before moving this forward

Fixes #9315

Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.26%. Comparing base (6227646) to head (b030567).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9759      +/-   ##
==========================================
- Coverage   92.29%   92.26%   -0.03%     
==========================================
  Files         395      395              
  Lines       18706    18702       -4     
==========================================
- Hits        17264    17256       -8     
- Misses       1084     1086       +2     
- Partials      358      360       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codeboten
Copy link
Contributor Author

One thing to note with this change is that metrics that are generated by an instrumentation library or by a component that instantiates its own metric will not be prefixed as the prefixing is now done manually. You can see an example of this in the results below

Here's the comparison of the metric names for both Prometheus and OTLP emitted metrics before and after this change.

Before this change

Prometheus metrics

# HELP otelcol_exporter_send_failed_spans Number of spans in failed attempts to send to destination.
# TYPE otelcol_exporter_send_failed_spans counter
otelcol_exporter_send_failed_spans{exporter="debug",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 0
# HELP otelcol_exporter_sent_spans Number of spans successfully sent to destination.
# TYPE otelcol_exporter_sent_spans counter
otelcol_exporter_sent_spans{exporter="debug",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 2
# HELP otelcol_process_cpu_seconds Total CPU user and system time in seconds
# TYPE otelcol_process_cpu_seconds counter
otelcol_process_cpu_seconds{service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 0.05
# HELP otelcol_process_memory_rss Total physical memory (resident set size)
# TYPE otelcol_process_memory_rss gauge
otelcol_process_memory_rss{service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 2.4100864e+07
# HELP otelcol_process_runtime_heap_alloc_bytes Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')
# TYPE otelcol_process_runtime_heap_alloc_bytes gauge
otelcol_process_runtime_heap_alloc_bytes{service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 3.010136e+06
# HELP otelcol_process_runtime_total_alloc_bytes Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
# TYPE otelcol_process_runtime_total_alloc_bytes counter
otelcol_process_runtime_total_alloc_bytes{service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 4.247488e+06
# HELP otelcol_process_runtime_total_sys_memory_bytes Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')
# TYPE otelcol_process_runtime_total_sys_memory_bytes gauge
otelcol_process_runtime_total_sys_memory_bytes{service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 1.2274704e+07
# HELP otelcol_process_uptime Uptime of the process
# TYPE otelcol_process_uptime counter
otelcol_process_uptime{service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 11.321643
# HELP otelcol_processor_batch_batch_send_size Number of units in the batch
# TYPE otelcol_processor_batch_batch_send_size histogram
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="10"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="25"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="50"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="75"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="100"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="250"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="500"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="750"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="1000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="2000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="3000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="4000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="5000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="6000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="7000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="8000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="9000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="10000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="20000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="30000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="50000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="100000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="+Inf"} 1
otelcol_processor_batch_batch_send_size_sum{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 2
otelcol_processor_batch_batch_send_size_count{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 1
# HELP otelcol_processor_batch_metadata_cardinality Number of distinct metadata value combinations being processed
# TYPE otelcol_processor_batch_metadata_cardinality gauge
otelcol_processor_batch_metadata_cardinality{service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 1
# HELP otelcol_processor_batch_timeout_trigger_send Number of times the batch was sent due to a timeout trigger
# TYPE otelcol_processor_batch_timeout_trigger_send counter
otelcol_processor_batch_timeout_trigger_send{processor="batch",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev"} 1
# HELP otelcol_receiver_accepted_spans Number of spans successfully pushed into the pipeline.
# TYPE otelcol_receiver_accepted_spans counter
otelcol_receiver_accepted_spans{receiver="otlp",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",transport="grpc"} 2
# HELP otelcol_receiver_refused_spans Number of spans that could not be pushed into the pipeline.
# TYPE otelcol_receiver_refused_spans counter
otelcol_receiver_refused_spans{receiver="otlp",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",transport="grpc"} 0
# HELP otelcol_rpc_server_duration Measures the duration of inbound RPC.
# TYPE otelcol_rpc_server_duration histogram
otelcol_rpc_server_duration_bucket{rpc_grpc_status_code="0",rpc_method="Export",rpc_service="opentelemetry.proto.collector.trace.v1.TraceService",rpc_system="grpc",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="0"} 0
otelcol_rpc_server_duration_bucket{rpc_grpc_status_code="0",rpc_method="Export",rpc_service="opentelemetry.proto.collector.trace.v1.TraceService",rpc_system="grpc",service_instance_id="d64666ef-1bf6-48d1-9cfd-ab242e9f1f50",service_name="otelcorecol",service_version="0.96.0-dev",le="5"} 1

OTLP metrics

        {
          "Name": "processor/batch/metadata_cardinality",
          "Description": "Number of distinct metadata value combinations being processed",
          "Unit": "1",
          "Data": {
            "DataPoints": [
              {
                "Attributes": [],
                "StartTime": "2024-03-15T09:13:05.950473-07:00",
                "Time": "2024-03-15T09:13:09.265554-07:00",
                "Value": 1
              }
            ],
            "Temporality": "CumulativeTemporality",
            "IsMonotonic": false
          }

After this change

Prometheus metrics

# HELP otelcol_exporter_send_failed_spans Number of spans in failed attempts to send to destination.
# TYPE otelcol_exporter_send_failed_spans counter
otelcol_exporter_send_failed_spans{exporter="debug",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 0
# HELP otelcol_exporter_sent_spans Number of spans successfully sent to destination.
# TYPE otelcol_exporter_sent_spans counter
otelcol_exporter_sent_spans{exporter="debug",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 2
# HELP otelcol_process_cpu_seconds Total CPU user and system time in seconds
# TYPE otelcol_process_cpu_seconds counter
otelcol_process_cpu_seconds{service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 0.04
# HELP otelcol_process_memory_rss Total physical memory (resident set size)
# TYPE otelcol_process_memory_rss gauge
otelcol_process_memory_rss{service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 2.3904256e+07
# HELP otelcol_process_runtime_heap_alloc_bytes Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')
# TYPE otelcol_process_runtime_heap_alloc_bytes gauge
otelcol_process_runtime_heap_alloc_bytes{service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 3.023424e+06
# HELP otelcol_process_runtime_total_alloc_bytes Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
# TYPE otelcol_process_runtime_total_alloc_bytes counter
otelcol_process_runtime_total_alloc_bytes{service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 4.268616e+06
# HELP otelcol_process_runtime_total_sys_memory_bytes Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')
# TYPE otelcol_process_runtime_total_sys_memory_bytes gauge
otelcol_process_runtime_total_sys_memory_bytes{service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 1.2274704e+07
# HELP otelcol_process_uptime Uptime of the process
# TYPE otelcol_process_uptime counter
otelcol_process_uptime{service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 7.331369
# HELP otelcol_processor_batch_batch_send_size Number of units in the batch
# TYPE otelcol_processor_batch_batch_send_size histogram
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="10"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="25"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="50"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="75"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="100"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="250"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="500"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="750"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="1000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="2000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="3000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="4000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="5000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="6000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="7000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="8000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="9000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="10000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="20000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="30000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="50000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="100000"} 1
otelcol_processor_batch_batch_send_size_bucket{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="+Inf"} 1
otelcol_processor_batch_batch_send_size_sum{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 2
otelcol_processor_batch_batch_send_size_count{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 1
# HELP otelcol_processor_batch_metadata_cardinality Number of distinct metadata value combinations being processed
# TYPE otelcol_processor_batch_metadata_cardinality gauge
otelcol_processor_batch_metadata_cardinality{service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 1
# HELP otelcol_processor_batch_timeout_trigger_send Number of times the batch was sent due to a timeout trigger
# TYPE otelcol_processor_batch_timeout_trigger_send counter
otelcol_processor_batch_timeout_trigger_send{processor="batch",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev"} 1
# HELP otelcol_receiver_accepted_spans Number of spans successfully pushed into the pipeline.
# TYPE otelcol_receiver_accepted_spans counter
otelcol_receiver_accepted_spans{receiver="otlp",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",transport="grpc"} 2
# HELP otelcol_receiver_refused_spans Number of spans that could not be pushed into the pipeline.
# TYPE otelcol_receiver_refused_spans counter
otelcol_receiver_refused_spans{receiver="otlp",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",transport="grpc"} 0
# HELP rpc_server_duration Measures the duration of inbound RPC.
# TYPE rpc_server_duration histogram
rpc_server_duration_bucket{rpc_grpc_status_code="0",rpc_method="Export",rpc_service="opentelemetry.proto.collector.trace.v1.TraceService",rpc_system="grpc",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="0"} 0
rpc_server_duration_bucket{rpc_grpc_status_code="0",rpc_method="Export",rpc_service="opentelemetry.proto.collector.trace.v1.TraceService",rpc_system="grpc",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="5"} 1
rpc_server_duration_bucket{rpc_grpc_status_code="0",rpc_method="Export",rpc_service="opentelemetry.proto.collector.trace.v1.TraceService",rpc_system="grpc",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="10"} 1
rpc_server_duration_bucket{rpc_grpc_status_code="0",rpc_method="Export",rpc_service="opentelemetry.proto.collector.trace.v1.TraceService",rpc_system="grpc",service_instance_id="0fd7a1f3-3a39-4825-b8f7-9146185f98fb",service_name="otelcorecol",service_version="0.96.0-dev",le="25"} 1

OTLP metrics

        {
          "Name": "otelcol_processor_batch_metadata_cardinality",
          "Description": "Number of distinct metadata value combinations being processed",
          "Unit": "1",
          "Data": {
            "DataPoints": [
              {
                "Attributes": [],
                "StartTime": "2024-03-15T09:07:20.89055-07:00",
                "Time": "2024-03-15T09:07:56.470161-07:00",
                "Value": 1
              }
            ],
            "Temporality": "CumulativeTemporality",
            "IsMonotonic": false
          }
        }

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added Stale and removed Stale labels Mar 30, 2024
@codeboten codeboten force-pushed the codeboten/update-all-metrics-with-prefix branch from 7f6c9cb to d37279d Compare April 3, 2024 21:51
@codeboten codeboten marked this pull request as ready for review April 3, 2024 21:51
@codeboten codeboten requested review from a team and mx-psi April 3, 2024 21:51
Copy link
Contributor

@kristinapathak kristinapathak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

@dmitryax
Copy link
Member

@codeboten I updated #9767. It'd be great to merge that PR first in order to disable the grps/http instrumentation metrics by default before changing their names

@codeboten
Copy link
Contributor Author

@codeboten I updated #9767. It'd be great to merge that PR first in order to disable the grps/http instrumentation metrics by default before changing their names

@dmitryax i think that's fine, we can get #9767 merged and released in 0.99.0 and then this change can go out on the following release

Copy link
Contributor

github-actions bot commented May 1, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added Stale and removed Stale labels May 1, 2024
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label May 16, 2024
@codeboten codeboten removed the Stale label May 16, 2024
Copy link
Contributor

github-actions bot commented Jun 1, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added Stale and removed Stale labels Jun 1, 2024
@jaronoff97
Copy link
Contributor

@codeboten are we waiting on anything for this PR to continue?

@codeboten
Copy link
Contributor Author

@jaronoff97 yeah im just wrapping up the mdatagen work, which will make this PR as easy as updating metadata.yaml files to add the prefix.

@codeboten
Copy link
Contributor Author

@codeboten codeboten force-pushed the codeboten/update-all-metrics-with-prefix branch 3 times, most recently from 686bf0a to 1bedd0b Compare June 10, 2024 19:39
Copy link
Contributor

@jaronoff97 jaronoff97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like obsreport may need some fixes too, otherwise this is 🎉 ❤️

@codeboten
Copy link
Contributor Author

@jpkrohling @jaronoff97 this is ready to move forward now.

Most components in core and contrib using mdatagen for metric generation which allows me to make the prefix change in mdatagen instead of having to rename all the metrics in metadata.yaml.

This forces any metrics listed in telemetry::metrics to be prefixed, which I think is what we want for all internal metrics to be prefixed consistently. Note that the documentation generated shows the metric including the prefix.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Copy link
Contributor Author

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will plan to merge this after Monday's release

@codeboten codeboten added this to the Self observability milestone Jul 16, 2024
@codeboten codeboten merged commit 5753a58 into open-telemetry:main Jul 16, 2024
50 checks passed
@codeboten codeboten deleted the codeboten/update-all-metrics-with-prefix branch July 16, 2024 23:18
codeboten added a commit to codeboten/opentelemetry-collector-contrib that referenced this pull request Jul 22, 2024
This used to be automatically added previously via the prometheus exporter's WithNamespace configuration. That has been removed in open-telemetry/opentelemetry-collector#9759

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
codeboten added a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jul 22, 2024
This used to be automatically added previously via the prometheus
exporter's WithNamespace configuration. That has been removed in
open-telemetry/opentelemetry-collector#9759

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@@ -172,7 +172,6 @@ func initPrometheusExporter(prometheusConfig *config.Prometheus, asyncErrorChann
otelprom.WithoutScopeInfo(),
// This allows us to produce metrics that are backwards compatible w/ opencensus
otelprom.WithoutCounterSuffixes(),
otelprom.WithNamespace("otelcol"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change to components that integrate with collector internal metrics - it should have been called out in the changelog...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you referring to instrumentation library telemetry or telemetry produced by collector component themselves? This was called out as a breaking change in the changelog.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean any components that use the component meter provider and export their own metrics together with the collector native metrics.

For example we use the meter provider in https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/4bac6477d10a371bc44b7f9a937d85996f020584/exporter/datadogexporter/factory.go#L316 and export a bunch of metrics via Prometheus, like datadog_xyz. Before this PR they used to have the prefix otelcol_datadog_xyz and this PR changed that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah... thanks for the clarification @songy23, I wasn't aware of this use-case. I guess it falls into the same category as the instrumentation libraries where the collector component have no mechanism to add the prefix. I'll add a changelog entry in a separate PR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds great - thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See PR #10940

codeboten added a commit to codeboten/opentelemetry-collector that referenced this pull request Aug 21, 2024
…9759

Follow up to discussion in open-telemetry#9759 (comment)

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
codeboten added a commit that referenced this pull request Aug 21, 2024
Follow up to discussion in
#9759 (comment)

@songy23 PTAL

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
mx-psi pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Aug 22, 2024
…34807)

**Description:** 
Put back the `otelcol_` prefix for Datadog internal metrics on trace and
APM stats exporting

**Link to tracking Issue:** 
Recovers these metrics from an upstream breaking change. See
open-telemetry/opentelemetry-collector#9759 and
open-telemetry/opentelemetry-collector#10940.
codeboten referenced this pull request in open-telemetry/opentelemetry-collector-contrib Aug 27, 2024
…ib/internal/common to v0.108.0 (#34894)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/opentelemetry-collector-contrib/internal/common](https://togithub.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.107.0` -> `v0.108.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.107.0/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.107.0/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-collector-contrib
(github.com/open-telemetry/opentelemetry-collector-contrib/internal/common)</summary>

###
[`v0.108.0`](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01080)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.107.0...v0.108.0)

##### 🛑 Breaking changes 🛑

- `all`: Added support for go1.23, bumped the minimum version to 1.22
([#&#8203;34658](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34658))
- `lokiexporter`: Update the scope name for telemetry produced by the
lokiexporter from `otelcol/loki` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter`
([#&#8203;34612](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34612))
- `azuretranslator`: The scope name has been updated from
`otelcol/azureresourcelogs` and `otelcol/azureresourcetraces` to
`github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure`
([#&#8203;34712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34712))
- `datadogreceiver`: The scope name has been updated from
`otelcol/datadogreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator`
([#&#8203;34711](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34711))
- `splunkhecexporter`: The scope name has been updated from
`otelcol/splunkhec` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter`
([#&#8203;34710](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34710))
- `googlecloudmonitorreceiver`: The scope name has been updated from
`otelcol/googlecloudmonitoringreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudmonitoringreceiver`
([#&#8203;34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709))
- `elasticsearchexporter`: Update OTel mapping mode for logs and
metrics; Remove trace_flags
([#&#8203;34472](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34472))
Update logs and metrics OTel mapping mode to always emit "scope" and
zero int, but not emit empty strings for known fields. Breaking change
to remove trace_flags from logs.
- `elasticsearchexporter`: Change default retry.retry_on_status to
\[429]
([#&#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
To retain the previous behavior, set retry.retry_on_status to `[429,
500, 502, 503, 504]`.
- `gitproviderreceiver`: Update metric names and attributes to match the
newest Semantic Conventions for VCS.
([#&#8203;34278](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34278))
    Attribute Changes:
    -   `branch.name` is now `ref.name`
    -   Added a `ref.type` attribute
    -   `pull_request.state` is now `change.state`
    -   `git.vendor.name` is now `vcs.vendor.name`
        Metric Changes:
    -   `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
    -   `git.repository.branch.count` is now `vcs.repository.ref.count`
    -   `git.repository.branch.time` is now \`vcs.repository.ref.time
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
\`vcs.repository.ref.revisions_behind
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
    -   `git.repository.pull_request.count` is now `vcs.change.count`
- `transformprocessor`: Promote
processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag
from alpha to beta
([#&#8203;34567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34567))
- `exporter/datadog`: The `logs::dump_payloads` config option is invalid
when the Datadog Agent logs pipeline is enabled (now enabled by
default).
([#&#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
An error will be raised if `logs::dump_payloads` is set while the
Datadog Agent logs pipeline is enabled. To avoid this error, remove the
`logs::dump_payloads` config option or temporarily disable the
`exporter.datadogexporter.UseLogsAgentExporter` feature gate.
- `vcenterreceiver`: Several host performance metrics now return 1 data
point per time series instead of 5.
([#&#8203;34708](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34708))
The 5 data points previously sent represented consecutive 20s sampling
periods. Depending on the collection interval
these could easily overlap. Sending just the latest of these data points
is more in line with other performance metrics.

This change also fixes an issue with the googlecloud exporter seeing
these datapoints as duplicates.

Following is the list of affected metrics which will now only report a
single datapoint per set of unique attribute values.

    -   vcenter.host.cpu.reserved
    -   vcenter.host.disk.latency.avg
    -   vcenter.host.disk.latency.max
    -   vcenter.host.disk.throughput
    -   vcenter.host.network.packet.drop.rate
    -   vcenter.host.network.packet.error.rate
    -   vcenter.host.network.packet.rate
    -   vcenter.host.network.throughput
    -   vcenter.host.network.usage

##### 🚀 New components 🚀

- `exporter/doris`: Add a new component for exporting logs, traces and
metrics to Doris
([#&#8203;33479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33479))

##### 💡 Enhancements 💡

- `geoipprocessor`: Add a context configuration option to specify the IP
address attribute telemetry location.
([#&#8203;34036](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34036))
- `awss3receiver`: Enhance the logging of the AWS S3 Receiver in normal
operation to make it easier for user to debug what is happening.
([#&#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))
- `datadogreceiver`: Implement '/info' endpoint
([#&#8203;34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772))
- `datadogreceiver`: Add sampling.priority attribute for Probabilistic
Sampling Processor
([#&#8203;34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267))
- `datadogreceiver`: Implement '/stats' endpoint
([#&#8203;34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790))
- `datadogconnector`: Add a config `traces::bucket_interval`
([#&#8203;34554](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34554))
`traces::bucket_interval` specifies the time interval size of
aggregation buckets that aggregate the Datadog trace metrics. It is also
the time interval that Datadog trace metrics payloads are flushed to the
pipeline. Default is 10s if unset.
- `deltatocumulative`: Promote to `alpha` stability
([#&#8203;34747](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34747))
promotes the deltatocumulative processor to alpha stability, as most
features are now implemented and ready for wider testing.
- `deltatocumulative`: explicit-bounds histograms
([#&#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))
    implements aggregation of explicit-bounds (traditional) histograms.
- `elasticsearchexporter`: Add OTel mapping mode for metrics
([#&#8203;34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248))
- `elasticsearchexporter`: Add OTel mapping mode for traces
([#&#8203;34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588),
[#&#8203;34590](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34590))
    Add OTel mapping mode support for traces, without span events.
- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a
shared lock before reading a file.
([#&#8203;34801](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34801))
Unix only. If a lock cannot be acquired then the file will be ignored
until the next poll cycle.
- `solacereceiver`: Updated the format for generated metrics. Included a
`receiver_name` attribute that identifies the Solace receiver that
generated the metrics
([#&#8203;34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541))
- `geoipprocessor`: Move processor's stability to alpha.
([#&#8203;34737](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34737))
- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in
the receiver's service discovery
([#&#8203;33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370))
- `datadogreceiver`: Include error when logging unmarshaling failures in
Datadog receiver.
([#&#8203;34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515))
- `metricstransformprocessor`: Add scaling exponential histogram support
([#&#8203;29803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29803))
- `exporter/datadog`: Use Datadog Agent logs pipeline by default for
exporting logs to Datadog. Upgrades
`exporter.datadogexporter.UseLogsAgentExporter` feature flag to beta.
([#&#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings
([#&#8203;32434](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32434))

##### 🧰 Bug fixes 🧰

- `tailsamplingprocessor`: Update the `policy` value in metrics
dimension value to be unique across multiple tail sampling components
with the same policy name.
([#&#8203;34192](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34192))
This change ensures that the `policy` value in the metrics exported by
the tail sampling processor is unique across multiple tail sampling
processors with the same policy name.

- `datadogreceiver`: add feature discovery
([#&#8203;34718](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34718))

- `datadogconnector`: Put back the `otelcol_` prefix for Datadog
internal metrics on trace and APM stats exporting
([#&#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `datadogexporter`: Put back the `otelcol_` prefix for Datadog internal
metrics on trace and APM stats exporting
([#&#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `awsfirehosereceiver`: Fix validation of requests with empty access
key
([#&#8203;34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847))

- `connector/exceptionsconnector`: Fix dimensions configuration did not
take effect for resource attributes
([#&#8203;34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603))

- `prometheusreceiver`: Group scraped metrics into resources created
from `job` and `instance` label pairs
([#&#8203;34237](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34237))
The receiver will now create a resource for each distinct job/instance
label combination.
In addition to the label/instance pairs detected from the scraped
metrics, a resource representing the overall
scrape configuration will be created. This additional resource will
contain the scrape metrics, such as the number of scraped metrics, the
scrape duration, etc.

- `cmd/opampsupervisor`: Fix supervisor support for Windows.
([#&#8203;34570](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34570))

- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with
`inverse_match` set to `true`.
([#&#8203;34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296))

- `pkg/stanza`: fix nil value conversion
([#&#8203;34672](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34672))

- `k8sclusterreceiver`: Lower the log level of a message indicating a
cache miss from WARN to DEBUG.
([#&#8203;34817](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34817))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
mx-psi referenced this pull request in open-telemetry/opentelemetry-collector-contrib Aug 28, 2024
…ib/cmd/telemetrygen to v0.108.0 (#34893)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen](https://togithub.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.107.0` -> `v0.108.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.107.0/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.107.0/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-collector-contrib
(github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen)</summary>

###
[`v0.108.0`](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01080)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.107.0...v0.108.0)

##### 🛑 Breaking changes 🛑

- `all`: Added support for go1.23, bumped the minimum version to 1.22
([#&#8203;34658](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34658))
- `lokiexporter`: Update the scope name for telemetry produced by the
lokiexporter from `otelcol/loki` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter`
([#&#8203;34612](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34612))
- `azuretranslator`: The scope name has been updated from
`otelcol/azureresourcelogs` and `otelcol/azureresourcetraces` to
`github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure`
([#&#8203;34712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34712))
- `datadogreceiver`: The scope name has been updated from
`otelcol/datadogreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator`
([#&#8203;34711](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34711))
- `splunkhecexporter`: The scope name has been updated from
`otelcol/splunkhec` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter`
([#&#8203;34710](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34710))
- `googlecloudmonitorreceiver`: The scope name has been updated from
`otelcol/googlecloudmonitoringreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudmonitoringreceiver`
([#&#8203;34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709))
- `elasticsearchexporter`: Update OTel mapping mode for logs and
metrics; Remove trace_flags
([#&#8203;34472](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34472))
Update logs and metrics OTel mapping mode to always emit "scope" and
zero int, but not emit empty strings for known fields. Breaking change
to remove trace_flags from logs.
- `elasticsearchexporter`: Change default retry.retry_on_status to
\[429]
([#&#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
To retain the previous behavior, set retry.retry_on_status to `[429,
500, 502, 503, 504]`.
- `gitproviderreceiver`: Update metric names and attributes to match the
newest Semantic Conventions for VCS.
([#&#8203;34278](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34278))
    Attribute Changes:
    -   `branch.name` is now `ref.name`
    -   Added a `ref.type` attribute
    -   `pull_request.state` is now `change.state`
    -   `git.vendor.name` is now `vcs.vendor.name`
        Metric Changes:
    -   `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
    -   `git.repository.branch.count` is now `vcs.repository.ref.count`
    -   `git.repository.branch.time` is now \`vcs.repository.ref.time
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
\`vcs.repository.ref.revisions_behind
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
    -   `git.repository.pull_request.count` is now `vcs.change.count`
- `transformprocessor`: Promote
processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag
from alpha to beta
([#&#8203;34567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34567))
- `exporter/datadog`: The `logs::dump_payloads` config option is invalid
when the Datadog Agent logs pipeline is enabled (now enabled by
default).
([#&#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
An error will be raised if `logs::dump_payloads` is set while the
Datadog Agent logs pipeline is enabled. To avoid this error, remove the
`logs::dump_payloads` config option or temporarily disable the
`exporter.datadogexporter.UseLogsAgentExporter` feature gate.
- `vcenterreceiver`: Several host performance metrics now return 1 data
point per time series instead of 5.
([#&#8203;34708](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34708))
The 5 data points previously sent represented consecutive 20s sampling
periods. Depending on the collection interval
these could easily overlap. Sending just the latest of these data points
is more in line with other performance metrics.

This change also fixes an issue with the googlecloud exporter seeing
these datapoints as duplicates.

Following is the list of affected metrics which will now only report a
single datapoint per set of unique attribute values.

    -   vcenter.host.cpu.reserved
    -   vcenter.host.disk.latency.avg
    -   vcenter.host.disk.latency.max
    -   vcenter.host.disk.throughput
    -   vcenter.host.network.packet.drop.rate
    -   vcenter.host.network.packet.error.rate
    -   vcenter.host.network.packet.rate
    -   vcenter.host.network.throughput
    -   vcenter.host.network.usage

##### 🚀 New components 🚀

- `exporter/doris`: Add a new component for exporting logs, traces and
metrics to Doris
([#&#8203;33479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33479))

##### 💡 Enhancements 💡

- `geoipprocessor`: Add a context configuration option to specify the IP
address attribute telemetry location.
([#&#8203;34036](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34036))
- `awss3receiver`: Enhance the logging of the AWS S3 Receiver in normal
operation to make it easier for user to debug what is happening.
([#&#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))
- `datadogreceiver`: Implement '/info' endpoint
([#&#8203;34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772))
- `datadogreceiver`: Add sampling.priority attribute for Probabilistic
Sampling Processor
([#&#8203;34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267))
- `datadogreceiver`: Implement '/stats' endpoint
([#&#8203;34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790))
- `datadogconnector`: Add a config `traces::bucket_interval`
([#&#8203;34554](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34554))
`traces::bucket_interval` specifies the time interval size of
aggregation buckets that aggregate the Datadog trace metrics. It is also
the time interval that Datadog trace metrics payloads are flushed to the
pipeline. Default is 10s if unset.
- `deltatocumulative`: Promote to `alpha` stability
([#&#8203;34747](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34747))
promotes the deltatocumulative processor to alpha stability, as most
features are now implemented and ready for wider testing.
- `deltatocumulative`: explicit-bounds histograms
([#&#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))
    implements aggregation of explicit-bounds (traditional) histograms.
- `elasticsearchexporter`: Add OTel mapping mode for metrics
([#&#8203;34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248))
- `elasticsearchexporter`: Add OTel mapping mode for traces
([#&#8203;34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588),
[#&#8203;34590](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34590))
    Add OTel mapping mode support for traces, without span events.
- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a
shared lock before reading a file.
([#&#8203;34801](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34801))
Unix only. If a lock cannot be acquired then the file will be ignored
until the next poll cycle.
- `solacereceiver`: Updated the format for generated metrics. Included a
`receiver_name` attribute that identifies the Solace receiver that
generated the metrics
([#&#8203;34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541))
- `geoipprocessor`: Move processor's stability to alpha.
([#&#8203;34737](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34737))
- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in
the receiver's service discovery
([#&#8203;33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370))
- `datadogreceiver`: Include error when logging unmarshaling failures in
Datadog receiver.
([#&#8203;34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515))
- `metricstransformprocessor`: Add scaling exponential histogram support
([#&#8203;29803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29803))
- `exporter/datadog`: Use Datadog Agent logs pipeline by default for
exporting logs to Datadog. Upgrades
`exporter.datadogexporter.UseLogsAgentExporter` feature flag to beta.
([#&#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings
([#&#8203;32434](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32434))

##### 🧰 Bug fixes 🧰

- `tailsamplingprocessor`: Update the `policy` value in metrics
dimension value to be unique across multiple tail sampling components
with the same policy name.
([#&#8203;34192](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34192))
This change ensures that the `policy` value in the metrics exported by
the tail sampling processor is unique across multiple tail sampling
processors with the same policy name.

- `datadogreceiver`: add feature discovery
([#&#8203;34718](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34718))

- `datadogconnector`: Put back the `otelcol_` prefix for Datadog
internal metrics on trace and APM stats exporting
([#&#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `datadogexporter`: Put back the `otelcol_` prefix for Datadog internal
metrics on trace and APM stats exporting
([#&#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `awsfirehosereceiver`: Fix validation of requests with empty access
key
([#&#8203;34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847))

- `connector/exceptionsconnector`: Fix dimensions configuration did not
take effect for resource attributes
([#&#8203;34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603))

- `prometheusreceiver`: Group scraped metrics into resources created
from `job` and `instance` label pairs
([#&#8203;34237](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34237))
The receiver will now create a resource for each distinct job/instance
label combination.
In addition to the label/instance pairs detected from the scraped
metrics, a resource representing the overall
scrape configuration will be created. This additional resource will
contain the scrape metrics, such as the number of scraped metrics, the
scrape duration, etc.

- `cmd/opampsupervisor`: Fix supervisor support for Windows.
([#&#8203;34570](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34570))

- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with
`inverse_match` set to `true`.
([#&#8203;34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296))

- `pkg/stanza`: fix nil value conversion
([#&#8203;34672](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34672))

- `k8sclusterreceiver`: Lower the log level of a message indicating a
cache miss from WARN to DEBUG.
([#&#8203;34817](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34817))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
…pen-telemetry#34807)

**Description:** 
Put back the `otelcol_` prefix for Datadog internal metrics on trace and
APM stats exporting

**Link to tracking Issue:** 
Recovers these metrics from an upstream breaking change. See
open-telemetry/opentelemetry-collector#9759 and
open-telemetry/opentelemetry-collector#10940.
f7o referenced this pull request in f7o/opentelemetry-collector-contrib Sep 12, 2024
…ib/internal/common to v0.108.0 (open-telemetry#34894)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/opentelemetry-collector-contrib/internal/common](https://togithub.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.107.0` -> `v0.108.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.107.0/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.107.0/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-collector-contrib
(github.com/open-telemetry/opentelemetry-collector-contrib/internal/common)</summary>

###
[`v0.108.0`](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01080)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.107.0...v0.108.0)

##### 🛑 Breaking changes 🛑

- `all`: Added support for go1.23, bumped the minimum version to 1.22
([#&open-telemetry#8203;34658](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34658))
- `lokiexporter`: Update the scope name for telemetry produced by the
lokiexporter from `otelcol/loki` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter`
([#&open-telemetry#8203;34612](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34612))
- `azuretranslator`: The scope name has been updated from
`otelcol/azureresourcelogs` and `otelcol/azureresourcetraces` to
`github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure`
([#&open-telemetry#8203;34712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34712))
- `datadogreceiver`: The scope name has been updated from
`otelcol/datadogreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator`
([#&open-telemetry#8203;34711](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34711))
- `splunkhecexporter`: The scope name has been updated from
`otelcol/splunkhec` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter`
([#&open-telemetry#8203;34710](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34710))
- `googlecloudmonitorreceiver`: The scope name has been updated from
`otelcol/googlecloudmonitoringreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudmonitoringreceiver`
([#&open-telemetry#8203;34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709))
- `elasticsearchexporter`: Update OTel mapping mode for logs and
metrics; Remove trace_flags
([#&open-telemetry#8203;34472](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34472))
Update logs and metrics OTel mapping mode to always emit "scope" and
zero int, but not emit empty strings for known fields. Breaking change
to remove trace_flags from logs.
- `elasticsearchexporter`: Change default retry.retry_on_status to
\[429]
([#&open-telemetry#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
To retain the previous behavior, set retry.retry_on_status to `[429,
500, 502, 503, 504]`.
- `gitproviderreceiver`: Update metric names and attributes to match the
newest Semantic Conventions for VCS.
([#&open-telemetry#8203;34278](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34278))
    Attribute Changes:
    -   `branch.name` is now `ref.name`
    -   Added a `ref.type` attribute
    -   `pull_request.state` is now `change.state`
    -   `git.vendor.name` is now `vcs.vendor.name`
        Metric Changes:
    -   `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
    -   `git.repository.branch.count` is now `vcs.repository.ref.count`
    -   `git.repository.branch.time` is now \`vcs.repository.ref.time
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
\`vcs.repository.ref.revisions_behind
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
    -   `git.repository.pull_request.count` is now `vcs.change.count`
- `transformprocessor`: Promote
processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag
from alpha to beta
([#&open-telemetry#8203;34567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34567))
- `exporter/datadog`: The `logs::dump_payloads` config option is invalid
when the Datadog Agent logs pipeline is enabled (now enabled by
default).
([#&open-telemetry#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
An error will be raised if `logs::dump_payloads` is set while the
Datadog Agent logs pipeline is enabled. To avoid this error, remove the
`logs::dump_payloads` config option or temporarily disable the
`exporter.datadogexporter.UseLogsAgentExporter` feature gate.
- `vcenterreceiver`: Several host performance metrics now return 1 data
point per time series instead of 5.
([#&open-telemetry#8203;34708](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34708))
The 5 data points previously sent represented consecutive 20s sampling
periods. Depending on the collection interval
these could easily overlap. Sending just the latest of these data points
is more in line with other performance metrics.

This change also fixes an issue with the googlecloud exporter seeing
these datapoints as duplicates.

Following is the list of affected metrics which will now only report a
single datapoint per set of unique attribute values.

    -   vcenter.host.cpu.reserved
    -   vcenter.host.disk.latency.avg
    -   vcenter.host.disk.latency.max
    -   vcenter.host.disk.throughput
    -   vcenter.host.network.packet.drop.rate
    -   vcenter.host.network.packet.error.rate
    -   vcenter.host.network.packet.rate
    -   vcenter.host.network.throughput
    -   vcenter.host.network.usage

##### 🚀 New components 🚀

- `exporter/doris`: Add a new component for exporting logs, traces and
metrics to Doris
([#&open-telemetry#8203;33479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33479))

##### 💡 Enhancements 💡

- `geoipprocessor`: Add a context configuration option to specify the IP
address attribute telemetry location.
([#&open-telemetry#8203;34036](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34036))
- `awss3receiver`: Enhance the logging of the AWS S3 Receiver in normal
operation to make it easier for user to debug what is happening.
([#&open-telemetry#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))
- `datadogreceiver`: Implement '/info' endpoint
([#&open-telemetry#8203;34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772))
- `datadogreceiver`: Add sampling.priority attribute for Probabilistic
Sampling Processor
([#&open-telemetry#8203;34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267))
- `datadogreceiver`: Implement '/stats' endpoint
([#&open-telemetry#8203;34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790))
- `datadogconnector`: Add a config `traces::bucket_interval`
([#&open-telemetry#8203;34554](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34554))
`traces::bucket_interval` specifies the time interval size of
aggregation buckets that aggregate the Datadog trace metrics. It is also
the time interval that Datadog trace metrics payloads are flushed to the
pipeline. Default is 10s if unset.
- `deltatocumulative`: Promote to `alpha` stability
([#&open-telemetry#8203;34747](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34747))
promotes the deltatocumulative processor to alpha stability, as most
features are now implemented and ready for wider testing.
- `deltatocumulative`: explicit-bounds histograms
([#&open-telemetry#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))
    implements aggregation of explicit-bounds (traditional) histograms.
- `elasticsearchexporter`: Add OTel mapping mode for metrics
([#&open-telemetry#8203;34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248))
- `elasticsearchexporter`: Add OTel mapping mode for traces
([#&open-telemetry#8203;34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588),
[#&open-telemetry#8203;34590](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34590))
    Add OTel mapping mode support for traces, without span events.
- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a
shared lock before reading a file.
([#&open-telemetry#8203;34801](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34801))
Unix only. If a lock cannot be acquired then the file will be ignored
until the next poll cycle.
- `solacereceiver`: Updated the format for generated metrics. Included a
`receiver_name` attribute that identifies the Solace receiver that
generated the metrics
([#&open-telemetry#8203;34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541))
- `geoipprocessor`: Move processor's stability to alpha.
([#&open-telemetry#8203;34737](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34737))
- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in
the receiver's service discovery
([#&open-telemetry#8203;33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370))
- `datadogreceiver`: Include error when logging unmarshaling failures in
Datadog receiver.
([#&open-telemetry#8203;34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515))
- `metricstransformprocessor`: Add scaling exponential histogram support
([#&open-telemetry#8203;29803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29803))
- `exporter/datadog`: Use Datadog Agent logs pipeline by default for
exporting logs to Datadog. Upgrades
`exporter.datadogexporter.UseLogsAgentExporter` feature flag to beta.
([#&open-telemetry#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings
([#&open-telemetry#8203;32434](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32434))

##### 🧰 Bug fixes 🧰

- `tailsamplingprocessor`: Update the `policy` value in metrics
dimension value to be unique across multiple tail sampling components
with the same policy name.
([#&open-telemetry#8203;34192](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34192))
This change ensures that the `policy` value in the metrics exported by
the tail sampling processor is unique across multiple tail sampling
processors with the same policy name.

- `datadogreceiver`: add feature discovery
([#&open-telemetry#8203;34718](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34718))

- `datadogconnector`: Put back the `otelcol_` prefix for Datadog
internal metrics on trace and APM stats exporting
([#&open-telemetry#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `datadogexporter`: Put back the `otelcol_` prefix for Datadog internal
metrics on trace and APM stats exporting
([#&open-telemetry#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `awsfirehosereceiver`: Fix validation of requests with empty access
key
([#&open-telemetry#8203;34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847))

- `connector/exceptionsconnector`: Fix dimensions configuration did not
take effect for resource attributes
([#&open-telemetry#8203;34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603))

- `prometheusreceiver`: Group scraped metrics into resources created
from `job` and `instance` label pairs
([#&open-telemetry#8203;34237](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34237))
The receiver will now create a resource for each distinct job/instance
label combination.
In addition to the label/instance pairs detected from the scraped
metrics, a resource representing the overall
scrape configuration will be created. This additional resource will
contain the scrape metrics, such as the number of scraped metrics, the
scrape duration, etc.

- `cmd/opampsupervisor`: Fix supervisor support for Windows.
([#&open-telemetry#8203;34570](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34570))

- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with
`inverse_match` set to `true`.
([#&open-telemetry#8203;34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296))

- `pkg/stanza`: fix nil value conversion
([#&open-telemetry#8203;34672](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34672))

- `k8sclusterreceiver`: Lower the log level of a message indicating a
cache miss from WARN to DEBUG.
([#&open-telemetry#8203;34817](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34817))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
f7o referenced this pull request in f7o/opentelemetry-collector-contrib Sep 12, 2024
…ib/cmd/telemetrygen to v0.108.0 (open-telemetry#34893)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen](https://togithub.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.107.0` -> `v0.108.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.107.0/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.107.0/v0.108.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-collector-contrib
(github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen)</summary>

###
[`v0.108.0`](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01080)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.107.0...v0.108.0)

##### 🛑 Breaking changes 🛑

- `all`: Added support for go1.23, bumped the minimum version to 1.22
([#&open-telemetry#8203;34658](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34658))
- `lokiexporter`: Update the scope name for telemetry produced by the
lokiexporter from `otelcol/loki` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter`
([#&open-telemetry#8203;34612](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34612))
- `azuretranslator`: The scope name has been updated from
`otelcol/azureresourcelogs` and `otelcol/azureresourcetraces` to
`github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure`
([#&open-telemetry#8203;34712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34712))
- `datadogreceiver`: The scope name has been updated from
`otelcol/datadogreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator`
([#&open-telemetry#8203;34711](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34711))
- `splunkhecexporter`: The scope name has been updated from
`otelcol/splunkhec` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter`
([#&open-telemetry#8203;34710](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34710))
- `googlecloudmonitorreceiver`: The scope name has been updated from
`otelcol/googlecloudmonitoringreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudmonitoringreceiver`
([#&open-telemetry#8203;34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709))
- `elasticsearchexporter`: Update OTel mapping mode for logs and
metrics; Remove trace_flags
([#&open-telemetry#8203;34472](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34472))
Update logs and metrics OTel mapping mode to always emit "scope" and
zero int, but not emit empty strings for known fields. Breaking change
to remove trace_flags from logs.
- `elasticsearchexporter`: Change default retry.retry_on_status to
\[429]
([#&open-telemetry#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
To retain the previous behavior, set retry.retry_on_status to `[429,
500, 502, 503, 504]`.
- `gitproviderreceiver`: Update metric names and attributes to match the
newest Semantic Conventions for VCS.
([#&open-telemetry#8203;34278](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34278))
    Attribute Changes:
    -   `branch.name` is now `ref.name`
    -   Added a `ref.type` attribute
    -   `pull_request.state` is now `change.state`
    -   `git.vendor.name` is now `vcs.vendor.name`
        Metric Changes:
    -   `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
    -   `git.repository.branch.count` is now `vcs.repository.ref.count`
    -   `git.repository.branch.time` is now \`vcs.repository.ref.time
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
\`vcs.repository.ref.revisions_behind
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
    -   `git.repository.pull_request.count` is now `vcs.change.count`
- `transformprocessor`: Promote
processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag
from alpha to beta
([#&open-telemetry#8203;34567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34567))
- `exporter/datadog`: The `logs::dump_payloads` config option is invalid
when the Datadog Agent logs pipeline is enabled (now enabled by
default).
([#&open-telemetry#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
An error will be raised if `logs::dump_payloads` is set while the
Datadog Agent logs pipeline is enabled. To avoid this error, remove the
`logs::dump_payloads` config option or temporarily disable the
`exporter.datadogexporter.UseLogsAgentExporter` feature gate.
- `vcenterreceiver`: Several host performance metrics now return 1 data
point per time series instead of 5.
([#&open-telemetry#8203;34708](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34708))
The 5 data points previously sent represented consecutive 20s sampling
periods. Depending on the collection interval
these could easily overlap. Sending just the latest of these data points
is more in line with other performance metrics.

This change also fixes an issue with the googlecloud exporter seeing
these datapoints as duplicates.

Following is the list of affected metrics which will now only report a
single datapoint per set of unique attribute values.

    -   vcenter.host.cpu.reserved
    -   vcenter.host.disk.latency.avg
    -   vcenter.host.disk.latency.max
    -   vcenter.host.disk.throughput
    -   vcenter.host.network.packet.drop.rate
    -   vcenter.host.network.packet.error.rate
    -   vcenter.host.network.packet.rate
    -   vcenter.host.network.throughput
    -   vcenter.host.network.usage

##### 🚀 New components 🚀

- `exporter/doris`: Add a new component for exporting logs, traces and
metrics to Doris
([#&open-telemetry#8203;33479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33479))

##### 💡 Enhancements 💡

- `geoipprocessor`: Add a context configuration option to specify the IP
address attribute telemetry location.
([#&open-telemetry#8203;34036](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34036))
- `awss3receiver`: Enhance the logging of the AWS S3 Receiver in normal
operation to make it easier for user to debug what is happening.
([#&open-telemetry#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))
- `datadogreceiver`: Implement '/info' endpoint
([#&open-telemetry#8203;34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772))
- `datadogreceiver`: Add sampling.priority attribute for Probabilistic
Sampling Processor
([#&open-telemetry#8203;34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267))
- `datadogreceiver`: Implement '/stats' endpoint
([#&open-telemetry#8203;34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790))
- `datadogconnector`: Add a config `traces::bucket_interval`
([#&open-telemetry#8203;34554](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34554))
`traces::bucket_interval` specifies the time interval size of
aggregation buckets that aggregate the Datadog trace metrics. It is also
the time interval that Datadog trace metrics payloads are flushed to the
pipeline. Default is 10s if unset.
- `deltatocumulative`: Promote to `alpha` stability
([#&open-telemetry#8203;34747](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34747))
promotes the deltatocumulative processor to alpha stability, as most
features are now implemented and ready for wider testing.
- `deltatocumulative`: explicit-bounds histograms
([#&open-telemetry#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))
    implements aggregation of explicit-bounds (traditional) histograms.
- `elasticsearchexporter`: Add OTel mapping mode for metrics
([#&open-telemetry#8203;34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248))
- `elasticsearchexporter`: Add OTel mapping mode for traces
([#&open-telemetry#8203;34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588),
[#&open-telemetry#8203;34590](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34590))
    Add OTel mapping mode support for traces, without span events.
- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a
shared lock before reading a file.
([#&open-telemetry#8203;34801](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34801))
Unix only. If a lock cannot be acquired then the file will be ignored
until the next poll cycle.
- `solacereceiver`: Updated the format for generated metrics. Included a
`receiver_name` attribute that identifies the Solace receiver that
generated the metrics
([#&open-telemetry#8203;34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541))
- `geoipprocessor`: Move processor's stability to alpha.
([#&open-telemetry#8203;34737](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34737))
- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in
the receiver's service discovery
([#&open-telemetry#8203;33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370))
- `datadogreceiver`: Include error when logging unmarshaling failures in
Datadog receiver.
([#&open-telemetry#8203;34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515))
- `metricstransformprocessor`: Add scaling exponential histogram support
([#&open-telemetry#8203;29803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29803))
- `exporter/datadog`: Use Datadog Agent logs pipeline by default for
exporting logs to Datadog. Upgrades
`exporter.datadogexporter.UseLogsAgentExporter` feature flag to beta.
([#&open-telemetry#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings
([#&open-telemetry#8203;32434](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32434))

##### 🧰 Bug fixes 🧰

- `tailsamplingprocessor`: Update the `policy` value in metrics
dimension value to be unique across multiple tail sampling components
with the same policy name.
([#&open-telemetry#8203;34192](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34192))
This change ensures that the `policy` value in the metrics exported by
the tail sampling processor is unique across multiple tail sampling
processors with the same policy name.

- `datadogreceiver`: add feature discovery
([#&open-telemetry#8203;34718](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34718))

- `datadogconnector`: Put back the `otelcol_` prefix for Datadog
internal metrics on trace and APM stats exporting
([#&open-telemetry#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `datadogexporter`: Put back the `otelcol_` prefix for Datadog internal
metrics on trace and APM stats exporting
([#&open-telemetry#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `awsfirehosereceiver`: Fix validation of requests with empty access
key
([#&open-telemetry#8203;34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847))

- `connector/exceptionsconnector`: Fix dimensions configuration did not
take effect for resource attributes
([#&open-telemetry#8203;34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603))

- `prometheusreceiver`: Group scraped metrics into resources created
from `job` and `instance` label pairs
([#&open-telemetry#8203;34237](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34237))
The receiver will now create a resource for each distinct job/instance
label combination.
In addition to the label/instance pairs detected from the scraped
metrics, a resource representing the overall
scrape configuration will be created. This additional resource will
contain the scrape metrics, such as the number of scraped metrics, the
scrape duration, etc.

- `cmd/opampsupervisor`: Fix supervisor support for Windows.
([#&open-telemetry#8203;34570](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34570))

- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with
`inverse_match` set to `true`.
([#&open-telemetry#8203;34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296))

- `pkg/stanza`: fix nil value conversion
([#&open-telemetry#8203;34672](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34672))

- `k8sclusterreceiver`: Lower the log level of a message indicating a
cache miss from WARN to DEBUG.
([#&open-telemetry#8203;34817](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34817))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prefix should be consistent for internal metrics
7 participants