You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Routing config does not work for context attributes, all traces exported into default exporter instead
Tried several context attributes to test the router such as
attributes = http.method value = GET
attributes = project_code value = t575-p178 (configuration provided below)
Steps to Reproduce
Deployed Otel Collector on ECS Fargate using the configuration provided below.
Expected Result
Tried several context attributes to test the router such as
attributes = http.method value = GET
this configuration should export all traces into xray that matches http.method = GET context attributes. And export non matching traces to logs
attributes = project_code value = t575-p178 (configuration provided below)
this configuration should export all traces into xray that matches project_code = t575-p178 context attributes. And export non matching traces to logs
Actual Result
all configuration using context attributes exports traces into logs
Component(s)
processor/routing
What happened?
Description
Routing config does not work for context attributes, all traces exported into default exporter instead
Tried several context attributes to test the router such as
Steps to Reproduce
Deployed Otel Collector on ECS Fargate using the configuration provided below.
Expected Result
Tried several context attributes to test the router such as
attributes = http.method value = GET
this configuration should export all traces into xray that matches http.method = GET context attributes. And export non matching traces to logs
attributes = project_code value = t575-p178 (configuration provided below)
this configuration should export all traces into xray that matches project_code = t575-p178 context attributes. And export non matching traces to logs
Actual Result
all configuration using context attributes exports traces into logs
Collector version
v0.77.0
Environment information
Environment
OS: Amazon Linux 2 on ECS Fargate
OpenTelemetry Collector configuration
Log output
No response
Additional context
router works for resource attributes
The text was updated successfully, but these errors were encountered: