AWS Lambda
Function logs through CloudWatch Logs. Function traces from the OpenTelemetry layers.
LogsTracesAvailable
What you get
Logs and traces, arriving through CloudWatch Logs and Firehose; OpenTelemetry Lambda layers.
Set it up
- Create an ingest key in Epok: Settings, then API keys.
- Store the key in AWS Secrets Manager.
- Add the OpenTelemetry Lambda layers (language instrumentation and the Collector extension) to the function, as the setup page's manifest lists.
- Invoke the function and open its traces in Traces.
- For function logs, add the function's log group to the CloudWatch Logs Firehose stack.
The commands and configuration for each step are on the setup guide.
What was tested
- End to end with real cloud resources, sending to a local Epok stack rather than the hosted service: 2 runs.
- Code tests of the ingest route or the sender: 1 test.
- No run against the hosted service is recorded yet.
What you see in Epok
- Explore and Live tail: search, patterns and new errors.
- Services and Traces: request rate, errors and latency per service and endpoint, and each trace's span tree.
Troubleshooting
- The Collector extension reads the key from Secrets Manager when the function starts, so the key never sits in the function's environment.