Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use with opentelemetry #514

Open
umairb3142 opened this issue Aug 21, 2024 · 2 comments
Open

Use with opentelemetry #514

umairb3142 opened this issue Aug 21, 2024 · 2 comments
Assignees

Comments

@umairb3142
Copy link

umairb3142 commented Aug 21, 2024

Is it possible to use this plugin in tandem with opentelemetry?

For example, I would like to rely on opentelemetry configuration in an AWS lambda itself to configure logging, tracing and metrics and then rely on this plugin to define monitoring capabilities, etc.

Does the plugin expose an endpoint that a OTLP exporter can hook into? If yes, then this should be fairly easy as it would involve disabling the out-of-box configuration from the plugin and simply rely on configuring the exporter in the AWS lambda?

Open to any and all recommendations :)

@hghotra
Copy link
Contributor

hghotra commented Sep 12, 2024

Hi @umairb3142, this should be possible. Please take a look at the docs on how to send traces to DD from the OTLP Exporter using the Lambda Extension.

@umairb3142
Copy link
Author

umairb3142 commented Sep 26, 2024

Hi @hghotra thank you for that.

Is my approach recommended, however? Or could I just rely on the plugin entirely? Essentially, I'm trying to get a distributed trace setup across several services (mostly lambdas) communicating through a variety of means on AWS: SQS, Eventbridge and http. I can't seem to be able to find any docs in setting up a distributed trace through the plugin alone.

Also, the issue I see with the docs you posted is that it's not using the serverless plugin and so setting up any custom monitoring for the lambda will not be as easy as it is with the plugin?

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

No branches or pull requests

3 participants