awslabs / aws-lambda-rust-runtime

A Rust runtime for AWS Lambda
Apache License 2.0
3.36k stars 343 forks source link

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

Closed Oliboy50 closed 4 months ago

Oliboy50 commented 4 months 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