-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Migrate otel metrics to use mdatagen: routing processor #33526
Labels
processor/routing
Routing processor
Comments
6 tasks
Pinging code owners for processor/routing: @jpkrohling. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
1 similar comment
Pinging code owners for processor/routing: @jpkrohling. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This was referenced Jun 19, 2024
jpkrohling
added a commit
to jpkrohling/opentelemetry-collector-contrib
that referenced
this issue
Jun 20, 2024
Before: ``` otelcol_routing_processor_non_routed_log_records{routing_key="",service_instance_id="c0c03666-9ef6-456e-ae9d-b5d8c2041ce4",service_name="otelcontribcol",service_version="0.102.0-dev"} 1 otelcol_routing_processor_non_routed_metric_points{routing_key="",service_instance_id="c0c03666-9ef6-456e-ae9d-b5d8c2041ce4",service_name="otelcontribcol",service_version="0.102.0-dev"} 1 otelcol_routing_processor_non_routed_spans{routing_key="",service_instance_id="c0c03666-9ef6-456e-ae9d-b5d8c2041ce4",service_name="otelcontribcol",service_version="0.102.0-dev"} 2 ``` After: ``` otelcol_routing_processor_non_routed_log_records{routing_key="",service_instance_id="f27bc682-a3a0-44ed-9b88-b870dd4d096a",service_name="otelcontribcol",service_version="0.102.0-dev"} 1 otelcol_routing_processor_non_routed_metric_points{routing_key="",service_instance_id="f27bc682-a3a0-44ed-9b88-b870dd4d096a",service_name="otelcontribcol",service_version="0.102.0-dev"} 1 otelcol_routing_processor_non_routed_spans{routing_key="",service_instance_id="f27bc682-a3a0-44ed-9b88-b870dd4d096a",service_name="otelcontribcol",service_version="0.102.0-dev"} 2 ``` Configuration used for testing: ```yaml receivers: otlp: protocols: grpc: endpoint: localhost:4317 processors: routing: default_exporters: [ debug/routed ] attribute_source: resource from_attribute: vip error_mode: ignore table: - value: "true" exporters: - debug/vip exporters: debug: verbosity: detailed debug/routed: verbosity: detailed debug/vip: verbosity: detailed service: pipelines: traces: receivers: [otlp] processors: [routing] exporters: [debug, debug/routed, debug/vip] logs: receivers: [otlp] processors: [routing] exporters: [debug, debug/routed, debug/vip] metrics: receivers: [otlp] processors: [routing] exporters: [debug, debug/routed, debug/vip] ``` Test commands: ``` telemetrygen metrics --metrics 1 --otlp-insecure --otlp-attributes='vip="false"' telemetrygen logs --logs 1 --otlp-insecure --otlp-attributes='vip="false"' telemetrygen traces --traces 1 --otlp-insecure --otlp-attributes='vip="false"' ``` Fixes open-telemetry#33526 Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: