Replies: 1 comment
-
yes, and I'd also like to see examples of configuring the endpoints via command line if using the auto instrumentation but we are running the collector somewhere other than localhost and default port instead of doing it programmatically. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
Nodejs can preload modules via command-line (https://nodejs.org/api/cli.html#cli_r_require_module)
I think it can be beneficial to provide a way to load otel that way, I'm guessing
@opentelemetry/sdk-node
is the best candidate for that.It can help people get started without any code changes which is pretty cool.
It does mean the exporter and instrumentation should be loaded via environment variables
WDYT?
Beta Was this translation helpful? Give feedback.
All reactions