-
Notifications
You must be signed in to change notification settings - Fork 16
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
otel_log_level (common debug) proposal #139
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,7 +135,11 @@ beyond the OpenTelemetry specification exist. | |
- `OTEL_TRACES_EXPORTER` | ||
- Non-RUM distribution MUST default to `otlp` over gRPC with an endpoint of `localhost:4317` | ||
- Non-RUM distribution MUST offer `jaeger-thrift-splunk` that defaults to `http://127.0.0.1:9080/v1/trace` | ||
|
||
- `OTEL_LOG_LEVEL` | ||
- Distribution SHOULD support `DEBUG` setting. With this value all relevant troubleshooting data should be logged. | ||
- Distribution MAY support additional levels: | ||
- `INFO` - coarser-grained informational events than the `DEBUG`. | ||
- `TRACE` - finer-grained informational events than the `DEBUG`. | ||
Comment on lines
+140
to
+142
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we're going to use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point. Let's wait for open-telemetry/opentelemetry-specification#2039 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't want to introduce log levels here that'll end up not being included in the otel spec... |
||
#### Real User Monitoring Libraries | ||
|
||
Real User Monitoring (RUM) instrumentation libraries cannot use environment variables for configuration. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK supporting this would involve hacking in most of the SDKs. I would rather make a hack to convert
debug
toDEBUG
if a component needs it as it seems more OTel compliant.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
open-telemetry/opentelemetry-specification#920
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we need to wait for the values to be finalized in the spec. Then it will be a no-brainer ;)