-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/prometheusremotewrite] Add the possibility to disable queuing #6718
Conversation
8a16fa2
to
57bb1a0
Compare
@trasc What's the current behavior if you set the queue size to zero? Does the exporter work at all? |
Currently, when set to 0 , the queue is always "full", and just drops any incoming data. |
I see, thanks! I think there are two issues here:
For (1), can you open an issue on github.com/open-telemetry/opentelemetry-collector? For (2), I feel like it's more consistent to add a new |
I don't think that adding Another approach could be just to make sure that the scenario is properly documented in https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md,
I've added a dedicated config key |
A new configuration key, `remote_write queue.enabled` is added, which controls the queue enabling.
Update the expected prometheusremotewriteexporter default config.
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.
Changes on this exporter look good. Will create an issue to further discuss how to deal with the 0 queue size at the exporterhelper level.
@anuraaga If you find the time, would you mind reviewing this to get it merged before the holidays? 🙏
@anuraaga, if you are OK with this change, ping me and I'll merge it today. Otherwise, it will probably have to wait until next year :-) |
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.
Apologies have been having trouble following my notification lately
…ettings (#6718) * Remove deprecated comonent.Config.[ID|SetIDName]; Deprecate config.*Settings Signed-off-by: Bogdan Drutu <[email protected]> * Update .chloggen/rmcfgid-1.yaml Co-authored-by: Pablo Baeyens <[email protected]> Signed-off-by: Bogdan Drutu <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]>
Description: Add the possibility to disable the sending queue in prometheusremotewrite exporter
A new configuration key,
remote_write queue.enabled
is added, whichcontrols the queue enabling.
Link to tracking Issue: N/A
Testing: No regressions on local runes
Documentation: Small update of README.md