-
Notifications
You must be signed in to change notification settings - Fork 790
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
Standardize config property names #1414
Comments
I've got a few questions in regards to this:
|
what do u think of
and renaming
maybe
and splitting |
That's a great idea! Two more things to add:
|
The main use for method exclusion here is to silence some over-zealous library, which has too many |
Good point. Then, what do you think about moving the |
I split I think the only reason was because it needed the same shading applied as opentelemetry-api. But that's not a reason it needs to stay there, we could apply the same shading inside of the annotations module too. I sort of like giving official annotation their own module, what do you think of
|
And now it comes full circle 😂
👍 Okay, to sum up:
Have I missed anything? |
that sounds good |
updated proposal --
comments -- Uses plural for all of these module names (executors, classloaders, methods, annotations), because I think it captures the idea that these are broad instrumentations that covers many executors, classloaders, methods, annotations, and also I think the property names looks better, e.g. Uses "single word" for property name, e.g. Uses |
I realized one issue with camelCase is that, at least with our current env var mapping,
doesn't map to:
but instead maps to
So maybe |
Copying comment here from #1747 (comment) in favor of kebab-case: Spring Boot env var / system property mappings supports both camelCase and kebab-case, but recommends kebab-case:
And also interestingly:
So I'm thinking kebab case is probably the way to go (and as a benefit is consistent with our module names when used in the property names, e.g. |
I think that we can close this issue - @trask has already updated all instrumentations to use the |
I'd like to propose that we standardize config property names:
otel.instrumentation.<instrumentationId>.*
where
<instrumentationId>
is the instrumentation module name minus version suffixThis will match
otel.instrumentation.<instrumentationId>.enabled
which is used to suppress the instrumentation (#1412).The text was updated successfully, but these errors were encountered: