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 zero-code JS instrumentation for Payment service. #1605

Open
puckpuck opened this issue Jun 13, 2024 · 0 comments
Open

Use zero-code JS instrumentation for Payment service. #1605

puckpuck opened this issue Jun 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@puckpuck
Copy link
Contributor

Feature Request

Currently the payment service has an opentelemetry.js code file which is required as part of the node app startup. This file is the standard boilerplate code except for the config on a single auto-instrumentation library.

All of that same functionality can be achieved by leveraging environment variables and the zero-code approach, which requires a file part of the opentelemetry/auto-instrumentations-node package. We can even showcase how to do this using environment variables only with NODE_OPTIONS. Here are the docs on how to get zero-code instrumentation for Node https://opentelemetry.io/docs/zero-code/js/#configuring-the-module

@puckpuck puckpuck added the enhancement New feature or request label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant