-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
transform processor bug #17563
Comments
Pinging code owners for processor/transform: @TylerHelmuth @kentquirk @bogdandrutu @evan-bradley. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@domyway thanks for bringing this up. I am able to reproduce this issue and will submit a fix today. Unrelated to the issue with transform:
trace_statements:
- context: span
statements:
- set(attributes["sampling.priority"], 1) where attributes["http.target"] == "/misc/ping|/actuator/health"
- set(attributes["sampling.priority"], 1) where attributes["db.operation"] == "PING"
- set(attributes["sampling.priority"], 1) where attributes["http.url"] == "xxl-job-admin" |
thanks , I just use IsMatch to reproduce this issue. My scene must be using IsMatch |
Component(s)
No response
What happened?
make some span
as blow collector config , transform processor IsMatch code will return nil val:
cause tail_sampling will not be execute .
add code to IsMatch to fix the promblem :
Collector version
v0.68.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: