-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
Expected Behavior
Metric should have been sent to datadog in lambda instead getting error of handler not initialized.
Actual Behavior
I am using sendDistributionMetric but while checking the lambda logs I am getting an error as datadog: handler not initialized.
Steps to Reproduce the Problem
- Using dd-trace and initializing it using init() method
- Then wrapping the handler in trace.
- And using method sendDistributionMetric to send the metric.
Specifications
- Datadog Lambda Layer version: 7.96.0
- dd trace: 5.6.0
- Node version: Node 18.x
Stacktrace
2024-03-18T05:10:34.021Z 79214b2e-b340-469e-ac86-ec73b4e0ee51 ERROR [dd.trace_id=5898828417058474788 dd.span_id=1717120647592796076]
{
"status": "error",
"message": "datadog:handler not initialized"
}
@astuyve I have seen your comment and added the logs as sent and send metric as you mentioned in ticket #369

Metadata
Metadata
Assignees
Labels
No labels