-
Notifications
You must be signed in to change notification settings - Fork 490
Prometheus stats query support #5248
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
Merged
HofiOne
merged 9 commits into
syslog-ng:develop
from
HofiOne:prometheus-stats-query-support
Mar 20, 2025
Merged
Prometheus stats query support #5248
HofiOne
merged 9 commits into
syslog-ng:develop
from
HofiOne:prometheus-stats-query-support
Mar 20, 2025
Conversation
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
Build FAILURE |
c58223d
to
248d30b
Compare
Build FAILURE |
248d30b
to
7d2eb75
Compare
Build FAILURE |
7d2eb75
to
fa37a76
Compare
Build FAILURE |
fa37a76
to
6565fd4
Compare
Build FAILURE |
6565fd4
to
0498b55
Compare
Build FAILURE |
…d queries Signed-off-by: Hofi <hofione@gmail.com>
…er validation, sub-commands and options do not need to be double validated Signed-off-by: Hofi <hofione@gmail.com>
0498b55
to
581c412
Compare
Build FAILURE |
581c412
to
6420a1b
Compare
Build FAILURE |
6420a1b
to
28b3ed3
Compare
Build FAILURE |
28b3ed3
to
703081e
Compare
Build FAILURE |
703081e
to
61d75da
Compare
Build FAILURE |
61d75da
to
46a04b2
Compare
Build FAILURE |
46a04b2
to
fd0418c
Compare
Build FAILURE |
1 similar comment
Build FAILURE |
…ndlers that refers to further parameter parsing issues Signed-off-by: Hofi <hofione@gmail.com>
28392a9
to
19b5397
Compare
Build FAILURE |
…r consistently Signed-off-by: Hofi <hofione@gmail.com>
…ommand, but keep the legacy sub-command version as well to be backward compatible Signed-off-by: Hofi <hofione@gmail.com>
…y` command Using now the automatic GLib Commandline Option Parser validation Signed-off-by: Hofi <hofione@gmail.com>
…sv output formats Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
19b5397
to
e455f0f
Compare
Build FAILURE |
@kira-syslogng test this please; |
Signed-off-by: Hofi <hofione@gmail.com>
e455f0f
to
1875511
Compare
Build FAILURE |
@kira-syslogng test this please; |
Build FAILURE |
therandomstring
approved these changes
Mar 20, 2025
@kira-syslogng retest this please |
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 stats
andsyslog-ng-ctl query
commands 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 thequery
command yet)csv
- comma separated values e.g.center;;queued;a;processed;0
prometheus
- the prometheus scraper ready format e.g.syslogng_center_processed{stat_instance="queued"} 0
Signed-off-by: Hofi hofione@gmail.com