awslabs / aws-lambda-rust-runtime

A Rust runtime for AWS Lambda
Apache License 2.0
3.29k stars 335 forks source link

feat(otel): allow to configure the faas.trigger attribute of the span #903

Closed Oliboy50 closed 1 month ago

Oliboy50 commented 1 month ago

📬 Issue #, if available: https://github.com/awslabs/aws-lambda-rust-runtime/pull/898#discussion_r1654283275

✍️ Description of changes: Allow to configure the faas.trigger attribute of the OpenTelemetry layer span which is currently hardcoded to http Small breaking change: the faas.trigger default value is now datasource instead of http

🔏 By submitting this pull request