cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OneAgent SDK for Lambda?

sivart_89
Mentor

A team is looking to integrate the OneAgent SDK into their lambdas and send an event into dynatrace when exceptions occur. Few questions here:

1. Is the SDK even functional for lambdas? Or just for standard servers where the traditional OneAgent is installed?

2. If an event was ingested into dynatrace via the sdk it would show at the events screen correct? See below

3. Are we able alert off of custom events like this? If so I imagine we would need to use dql?

sivart_89_0-1711042865730.png

3 REPLIES 3

DanielS
DynaMight Guru
DynaMight Guru

Hello @sivart_89 the OneAgent SDK is not supported on serverless code modules, including those for AWS Lambda.

Consider using OpenTelemetry instead in these scenarios.

The true delight is in the finding out rather than in the knowing.

Thank you @DanielS. Will this allow us to send a message into dynatrace to show within the events screen and alert off of that? It's good if we can get it into dynatrace but for our purposes that doesn't help much if we can't have an alert tied to it.

Yes, look at this example:

DanielS_0-1711117821233.png

Once you ingest the metric, you can generate metrics event to alert you based on your criteria.

Hope it helps!!!

The true delight is in the finding out rather than in the knowing.

Featured Posts