21 Mar 2024 05:44 PM
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?
Solved! Go to Solution.
21 Mar 2024 08:50 PM
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.
21 Mar 2024 09:28 PM
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.
22 Mar 2024 02:31 PM
Yes, look at this example:
Once you ingest the metric, you can generate metrics event to alert you based on your criteria.
Hope it helps!!!