-
Notifications
You must be signed in to change notification settings - Fork 477
DOC-14144 Product Change- PR #148525 - pkg/util/log: add otlp log sink #20320
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
Conversation
…twork collectors and Set OTLP. In logging-use-cases.md, modified example for Network logging with log buffering to use OTLP instead of Fluentd.
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
|
Hi @arjunmahishi, I assigned you to do this docs review since you reviewed Mudit Somani’s code prs. tia |
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify project configuration. |
arjunmahishi
left a comment
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.
Thank you @florence-crl!
I've left one suggestion. Rest looks good to me.
arjunmahishi
left a comment
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
rmloveland
left a comment
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, all comments non-blocking take or leave
src/current/v25.4/configure-logs.md
Outdated
| | `mode` | Protocol used to export logs. Valid values `grpc` or `http`.<br><br>**Default:**`grpc` | | ||
| | `headers` | Map of key-value string pairs which will be appended to every request as custom gRPC or HTTP headers depending on the `mode` selected. For example, `"x-api-key": "YOUR_API_KEY_HERE"`. | | ||
| | `compression` | Compression for requests. Valid values `gzip` or `none`.<br><br>**Default:**`gzip` | | ||
| | `buffering` | Configures buffering of log messages for the sink, with the following sub-parameters:<ul><li>`max-staleness`: The maximum time a log message will wait in the buffer before a flush is triggered. Set to `0` to disable flushing based on elapsed time. Default: `5s`</li><li>`flush-trigger-size`: The number of bytes that will trigger the buffer to flush. Set to `0` to disable flushing based on accumulated size. Default: `1MiB`</li><li>`max-buffer-size`: The maximum size of the buffer: new log messages received when the buffer is full cause older messages to be dropped. Default: `50MiB`</li></ul>When `max-staleness` and `flush-trigger-size` are used together, whichever is reached first will trigger the flush. `buffering` is enabled by default for OTLP log sinks. To explicitly disable log buffering, specify `buffering: NONE` instead. This setting is typically disabled for [security-related logs]({% link {{ page.version.version }}/logging-use-cases.md %}#security-and-audit-monitoring). See [Log buffering](#log-buffering-for-network-sinks) for more details and usage.| |
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.
suggest either bolding these uses of "Default: foo" or unbolding the prior ones in the table
florence-crl
left a comment
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.
TFTRs!
Fixes DOC-14144 DOC-14437 DOC-14537 DOC-8496 DOC-14810
Rendered preview