-
Notifications
You must be signed in to change notification settings - Fork 589
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
feat: OpenTelemetry logs #7583
feat: OpenTelemetry logs #7583
Conversation
✅ Deploy Preview for kongdocs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
378f1ea
to
82f9fa8
Compare
docs for Kong/kong#13291 Update app/_hub/kong-inc/opentelemetry/overview/_index.md Co-authored-by: Hans Hübner <hans.huebner@gmail.com>
246733c
to
8dac69c
Compare
ready for review @Kong/docs-maintainers along with: Kong/docs-plugin-toolkit#38 - thanks |
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.
Minor phrasing and formatting edits.
Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
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.
LGTM
Description
docs for Kong/kong#13291
This PR adds OpenTelemetry formatted logs as a new
signal supported by the OpenTelemetry plugin.
It patches the ngx.log function (and adapts kong PDK log) to collect the logged lines and
enrich them with additional context info:
severity
introspection details
timestamp
And for request-scoped logs also:
Request ID
Trace ID
Span ID
Trace flags
The log entries are protobuf-serialized and sent to the endpoint
configured in the OpenTelemetry plugin's config.logs_endpoint field.
Testing instructions
Preview link:
Checklist
KAG-4779