Prometheus stats query support#5248
Merged
HofiOne merged 9 commits intosyslog-ng:developfrom Mar 20, 2025
Merged
Conversation
Contributor
|
Build FAILURE |
c58223d to
248d30b
Compare
Contributor
|
Build FAILURE |
248d30b to
7d2eb75
Compare
Contributor
|
Build FAILURE |
7d2eb75 to
fa37a76
Compare
Contributor
|
Build FAILURE |
fa37a76 to
6565fd4
Compare
Contributor
|
Build FAILURE |
6565fd4 to
0498b55
Compare
Contributor
|
Build FAILURE |
…d queries Signed-off-by: Hofi <[email protected]>
…er validation, sub-commands and options do not need to be double validated Signed-off-by: Hofi <[email protected]>
0498b55 to
581c412
Compare
Contributor
|
Build FAILURE |
581c412 to
6420a1b
Compare
Contributor
|
Build FAILURE |
6420a1b to
28b3ed3
Compare
Contributor
|
Build FAILURE |
28b3ed3 to
703081e
Compare
Contributor
|
Build FAILURE |
703081e to
61d75da
Compare
Contributor
|
Build FAILURE |
61d75da to
46a04b2
Compare
Contributor
|
Build FAILURE |
46a04b2 to
fd0418c
Compare
Contributor
|
Build FAILURE |
1 similar comment
Contributor
|
Build FAILURE |
…ndlers that refers to further parameter parsing issues Signed-off-by: Hofi <[email protected]>
28392a9 to
19b5397
Compare
Contributor
|
Build FAILURE |
…r consistently Signed-off-by: Hofi <[email protected]>
…ommand, but keep the legacy sub-command version as well to be backward compatible Signed-off-by: Hofi <[email protected]>
…y` command Using now the automatic GLib Commandline Option Parser validation Signed-off-by: Hofi <[email protected]>
…sv output formats Signed-off-by: Hofi <[email protected]>
Signed-off-by: Hofi <[email protected]>
19b5397 to
e455f0f
Compare
Contributor
|
Build FAILURE |
Collaborator
Author
|
@kira-syslogng test this please; |
Signed-off-by: Hofi <[email protected]>
e455f0f to
1875511
Compare
Contributor
|
Build FAILURE |
Collaborator
Author
|
@kira-syslogng test this please; |
Contributor
|
Build FAILURE |
therandomstring
approved these changes
Mar 20, 2025
Contributor
|
@kira-syslogng retest this please |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
syslog-ng-ctl: Formatting the output of thesyslog-ng-ctl statsandsyslog-ng-ctl querycommands is unified.Both commands got a new
--format(-m) argument that can control the output format of the given stat or query. The following formats are supported:kv- the legacy key-value-pairs e.g.center.queued.processed=0(only for thequerycommand yet)csv- comma separated values e.g.center;;queued;a;processed;0prometheus- the prometheus scraper ready format e.g.syslogng_center_processed{stat_instance="queued"} 0Signed-off-by: Hofi [email protected]