-
Notifications
You must be signed in to change notification settings - Fork 890
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 the name of logging/stdout exporter #1931
Comments
Just FYI, Java has 2 "logging" exporters. One that is purely for lightweight debugging (and doesn't contain full span data) and one that logs full OTLP json. |
@tigrannajaryan to me there is a difference between stdout/console and "logging", as the latter is an abstraction layer with stdout being one of the possible implementations. E.g. in Jaeger SDKs we have "logging reporter" in all languages, but those are not even true "exporters" because all they do is log some readable string about spans (name, id), not the complete span data.
This is clearly underspecified because if interpreted as "export data to stdout in plain text" we still need to define the format of that plain text (e.g. JSON). |
What about |
@pellared I think my questions are:
|
|
In java, we would definitely want to use the standard |
So, it seems like we want to clearly differentiate 2 exporters:
|
Same in Collector. |
I think this open issue should resolve that: #1443 |
From the maintainers call: general agreement that this name should not be standardized across languages, as the names that developers expect are different across languages (C++ devs will expect 'cout', while .Net devs will expect "system.console"). However, we should also be careful that we distinguish between logs for debugging purposes (writing traces, metrics, etc. as logs to disk), and the actual first-class collection of application and infrastructure logs as a signal in OpenTelemetry. |
Based on Maintainer's SIG call I am closing this as "won't do". Feel free to reopen if you have additional arguments. |
Different SDK and Collector use different names for the exporter which writes to stdout:
The spec says:
I think it is important to standardize on a name since it came up as an issue in the Collector.
Unless someone knows good reasons to choose a particular name I suggest that we vote for a name and stick to it.
The text was updated successfully, but these errors were encountered: