-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[exporter/prometheusremotewrite] Add the possibility to disable queui…
…ng (#6718) * [prometheusremotewriteexporter] Add the possibility to disable queuing A new configuration key, `remote_write queue.enabled` is added, which controls the queue enabling. * [exporter/awsprometheusremotewriteexporter] Fix config unit tests. Update the expected prometheusremotewriteexporter default config.
- Loading branch information
Traian Schiau
authored
Dec 21, 2021
1 parent
aa9b71b
commit 270b2c4
Showing
6 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
exporter/prometheusremotewriteexporter/testdata/disabled_queue.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
receivers: | ||
nop: | ||
|
||
processors: | ||
nop: | ||
|
||
exporters: | ||
prometheusremotewrite: | ||
endpoint: "localhost:8888" | ||
remote_write_queue: | ||
enabled: false | ||
num_consumers: 10 | ||
|
||
service: | ||
pipelines: | ||
metrics: | ||
receivers: [nop] | ||
processors: [nop] | ||
exporters: [prometheusremotewrite] | ||
|
||
|