-
Notifications
You must be signed in to change notification settings - Fork 439
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 OTLP LogExporter to the example #1168
Add OTLP LogExporter to the example #1168
Conversation
|
||
exporters: | ||
logging: | ||
loglevel: debug | ||
|
||
jaeger: |
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.
this was cleaned up as the purpose of this example is to show how to use OTLP Exporter. The config will print the telemetry to stdout which is good enough to confirm things working. Even if there is a need to use Jaeger to visualize, Jaeger can natively understand OTLP, so no need to futher export from collector.
service: | ||
extensions: [pprof, zpages, health_check] |
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.
removed everything unnecessary to keep the example config the the minimal.
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1168 +/- ##
=====================================
Coverage 49.6% 49.6%
=====================================
Files 165 165
Lines 20522 20522
=====================================
+ Hits 10198 10199 +1
+ Misses 10324 10323 -1 ☔ View full report in Codecov by Sentry. |
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.
Looks good 👍
#1164 (comment)
Adds Logging to the OTLP examples, along with nit cleanups.