-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Rename logging exporter to 'stdout' or 'debug' exporter in Collector #3524
Comments
Related to #3474 |
The main difference is that we actually write to the Collector's own logger not to stdout. |
Do we still need to rename the |
I think "debug" is a better name, there is another thread where they are discussions not to write to stdout but to stderr, or give users options. |
Action Item: @alolita will reach out to other Go community members to comment on this issue. |
@open-telemetry/go-approvers can you please comment on your preference for this renaming of the existing logger exporter to debug exporter? |
I would recommend not renaming to I think |
@bogdandrutu can we review and merge the outstanding PR and complete this task? Please advise. |
@bogdandrutu @tigrannajaryan can you please review and merge this change? There are no objections so far from the community. |
I posted my objection here #3609 (review) I don't see any new information to change my opinion. |
@tigrannajaryan this issue was discussed in the Collector SIG and it was agreed upon by the community present there to change to 'debug' for long term maintainability. |
Personally, I do not find Moreover, it is a breaking change that should be avoided and I do not see any strong reason to do it. I do not see confidence or any strong opinions to change the name. I feel that changing the name can cause more harm than benefits. |
@alolita What was the community's justification? I it would be nice to capture it here for posterity. For now I don't see how "logging" is more difficult to maintain than "debug", but probably there are other reasons in favour of the change which I am not aware of. I definitely do not mind changing if there is a reasonable justification, but I don't see that justification so far. :-) One argument we should probably use is consistency with SDKs. Unfortunately the SDKs already are inconsistent:
It may be worth bringing this up in the maintainers or specification SIG and seek for a consistent naming across all language SDKs and Collector. I will be happy to go with whatever consistent name we choose, I don't have a strong preference for a particular name. |
@tigrannajaryan responding to your questions: Community feedback so far has been:
Why not set an example for the Collector for being consistent on naming conventions and help avoid user misunderstanding of the logging component usage :-) I like the idea of discussing this in the maintainers meeting - will add to agenda. The opportunity is now to make this change before we go stable for the Collector. |
@tigrannajaryan @bogdandrutu let's deprioritize this change if you are not in agreement as maintainers. Please advise. Ty! |
I submitted an issue on the spec: open-telemetry/opentelemetry-specification#1931 |
Maintainer's SIG decided that there it is hard to come up with a consistent name given different naming conventions in different languages. Since we do not expect consistency I believe the name we have is as good as we can have. I am closing this issue. Feel free to reopen if you have other arguments. |
The logging exporter should be renamed to stdout to represent its function. The current name 'logging' is misleading since this is a stdout exporter used mainly for debugging purposes.
Other similar examples of such an exporter can be found in the Go SDK. See https://github.com/open-telemetry/opentelemetry-go/tree/main/exporters/stdout
The text was updated successfully, but these errors were encountered: