[package]
edition = "2024"
rust-version = "1.92"
name = "opentelemetry-lambda-extension"
version = "0.1.7"
authors = ["Daniel Verrall"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AWS Lambda extension for collecting and exporting OpenTelemetry signals"
documentation = "https://docs.rs/opentelemetry-lambda-extension"
readme = "README.md"
keywords = [
"lambda",
"aws",
"opentelemetry",
"telemetry",
"extension",
]
categories = ["development-tools::profiling"]
license = "MIT"
repository = "https://github.com/djvcom/lambda-observability"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "opentelemetry_lambda_extension"
path = "src/lib.rs"
[[bin]]
name = "opentelemetry-lambda-extension"
path = "src/main.rs"
[[test]]
name = "adaptive_export_test"
path = "tests/adaptive_export_test.rs"
[[test]]
name = "e2e_integration_test"
path = "tests/e2e_integration_test.rs"
[[test]]
name = "exporter_test"
path = "tests/exporter_test.rs"
[[test]]
name = "otel_compliance_test"
path = "tests/otel_compliance_test.rs"
[[test]]
name = "receiver_test"
path = "tests/receiver_test.rs"
[[bench]]
name = "conversion"
path = "benches/conversion.rs"
harness = false
[dependencies.anyhow]
version = "1.0.102"
[dependencies.axum]
version = "0.8"
features = ["tokio"]
[dependencies.bytes]
version = "1.11.1"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"serde",
]
[dependencies.figment]
version = "0.10.19"
features = [
"env",
"toml",
]
[dependencies.flate2]
version = "1.1.9"
[dependencies.hex]
version = "0.4.3"
[dependencies.humantime-serde]
version = "1.1.1"
[dependencies.lambda-extension]
version = "1.0.4"
[dependencies.opentelemetry]
version = "0.31"
[dependencies.opentelemetry-appender-tracing]
version = "0.31.1"
[dependencies.opentelemetry-configuration]
version = "0.3.2"
[dependencies.opentelemetry-otlp]
version = "0.31"
features = [
"grpc-tonic",
"http-proto",
"reqwest-blocking-client",
"trace",
"logs",
"metrics",
"http-proto",
"grpc-tonic",
]
default-features = false
[dependencies.opentelemetry-proto]
version = "0.31"
features = [
"gen-tonic-messages",
"with-serde",
"trace",
]
[dependencies.opentelemetry-semantic-conventions]
version = "0.31"
features = ["semconv_experimental"]
[dependencies.opentelemetry_sdk]
version = "0.31"
features = ["rt-tokio"]
[dependencies.prost]
version = "0.14.3"
[dependencies.rand]
version = "0.10.1"
[dependencies.reqwest]
version = "0.13"
features = ["json"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"net",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tonic]
version = "0.14.5"
[dependencies.tower]
version = "0.5.3"
features = ["timeout"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-opentelemetry]
version = "0.32"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"env-filter",
]
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.lambda-simulator]
version = "0.1.6"
[dev-dependencies.lambda_runtime]
version = "1.1"
[dev-dependencies.mock-collector]
version = "0.2.11"
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.serial_test]
version = "3.4.0"
[dev-dependencies.temp-env]
version = "0.3"
features = ["async_closure"]
[dev-dependencies.tempfile]
version = "3.27.0"