You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 withNODE_OPTIONS
. Here are the docs on how to get zero-code instrumentation for Node https://opentelemetry.io/docs/zero-code/js/#configuring-the-moduleThe text was updated successfully, but these errors were encountered: