-
Notifications
You must be signed in to change notification settings - Fork 17
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
add support for instrumentation configuration? #87
Comments
Yes I think so. There are a couple of things to think through:
I think a good starting point is to include a handful of obvious generic instrumentation configuration properties in the schema, and work through some of these questions during that PR and in followups. One that @trask brought up was which headers should be captured for http semantic conventions. There are probably others. Would you be willing to open a PR? |
open-telemetry/opentelemetry-specification#3560 is another example of instrumentation config. |
Related to open-telemetry/opentelemetry-specification#3535. |
An old related issue where we tried to compile examples of instrumentation configuration: MrAlias/otel-schema#8 |
Yes. I'll start to play around with it to see how I can achieve something basic first. I like the idea of having some generic/common properties - headers to capture is one that PHP also requires across a couple of different instrumentation packages. |
Over in PHP SIG, we've started to implement file-based configuration, and it's going well.
We also have a requirement where some of our automatic instrumentation modules require configuration. So, following the file-configuration way of thinking, we're enabling this through a secondary .yaml file, along with another env var to point to the file. For example,
OTEL_PHP_INSTRUMENTATION_CONFIG_FILE=otel-instrumentation.yaml
:Could something like this be incorporated into the SDK configuration schema, for example under an
instrumentation
key?The text was updated successfully, but these errors were encountered: