Skip to content

Capture function and extension logs#9

Merged
mheffner merged 8 commits into
mainfrom
telemetry-api-logs
Apr 10, 2025
Merged

Capture function and extension logs#9
mheffner merged 8 commits into
mainfrom
telemetry-api-logs

Conversation

@mheffner
Copy link
Copy Markdown
Member

@mheffner mheffner commented Apr 10, 2025

Capture logs from functions and extensions. We send these logs into the rotel agent and they are injected into the log receiver's pipeline, as if they were received from the OTLP endpoint. To start off with we follow the similar resource and log record attributes that the OpenTelemetry Lambda extension uses, but we could adjust these in the future as needed.

Includes README updates.

Completes: STR-3276

@linear
Copy link
Copy Markdown

linear Bot commented Apr 10, 2025

STR-3276 Spike integration with TelemetryAPI's log support

See if we can pipe lambda logs into the OTLP logging pipeline

Comment thread Cargo.toml
hyper-util = { version = "0.1", features = ["full"] }
hyper = { version = "1", features = ["full"] }
lambda-extension = "0.11.0"
lambda-extension = { git = "https://github.com/streamfold/aws-lambda-rust-runtime", branch = "json-record-types" }
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to fork this because the upstream doesn't support JSON record types. I can look to upstream this at some point, but was easier in short term to fork.

@mheffner mheffner requested a review from rjenkins April 10, 2025 19:14
Comment thread Cargo.toml Outdated
@mheffner mheffner merged commit 9fcc90f into main Apr 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants