tvl-depot/tvix/docs
Simon Hauser 118e69d81d fix(tvix/tracing): reduce the error logs of otlp if collector is offline
The problem is that opentelemetry_otlp tonic batch exporter tries to
exports if either the `scheduled_delay` or if the
`max_export_batch_size` is reached. Per default the
`max_export_batch_size` is set to 512 spans, which means that we try to
export these spans once that counter is reached. Each export will then
try to connect to the exporter (if that not already happening) and will
result in a `tcp connect error`.
Increasing the max_export_batch_size to 4096 will then ensure that the
export only happens if the `scheduled_delay` is met after the 10
seconds.
`max_queue_size` is also increased, because `max_export_batch_size`
should not be greater than `max_queue_size`, so similar to the default
config its set to `max_export_batch_size * 4`.
This will reduce the amount of tries to otlp if the collector is not
available and otlp enabled.

Change-Id: Ic3430006e8a104fa3b34d274678cae55b3620ce9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11791
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Simon Hauser <simon.hauser@helsinki-systems.de>
2024-06-14 10:20:31 +00:00
..
src fix(tvix/tracing): reduce the error logs of otlp if collector is offline 2024-06-14 10:20:31 +00:00
theme feat(tvix/docs): ship custom highlight.js with Nix support 2024-03-03 16:53:16 +00:00
.gitignore feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
book.toml feat(tvix/docs): add d2 support 2024-06-14 07:04:23 +00:00
default.nix feat(tvix/docs): add d2 support 2024-06-14 07:04:23 +00:00
mdbook-admonish.css feat(tvix/docs): add mdbook-admonish 2024-06-14 07:04:23 +00:00