-
Notifications
You must be signed in to change notification settings - Fork 490
Add prometheus stat source #5259
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
Closed
Closed
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
…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>
…ndlers that refers to further parameter parsing issues Signed-off-by: Hofi <hofione@gmail.com>
…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>
Build FAILURE |
6806185
to
5e48930
Compare
Build FAILURE |
5e48930
to
808ff41
Compare
Build FAILURE |
@kira-syslogng test this please; |
Build FAILURE |
808ff41
to
44addd8
Compare
Build FAILURE |
44addd8
to
688a41f
Compare
Build FAILURE |
688a41f
to
2f4b999
Compare
Build FAILURE |
2f4b999
to
bcb69b9
Compare
Build FAILURE |
This Pull Request introduces config grammar changessyslog-ng/600b1e8e267af83961acd0016c84a4c7654308f9 -> HofiOne/add-prometheus-stat-source --- a/source
+++ b/source
network(
+ multi-line-mode(<string>)
transport(
+ http-scraper
+ scrape-freq-limit(<nonnegative-integer>)
+ scraper(
+ prometheus(
+ <empty>
+ stat-query(<string>)
+ stat-type(<string>)
+ )
+ )
+ single-instance(<yesno>)
)
)
syslog(
+ multi-line-mode(<string>)
)
tcp(
+ multi-line-mode(<string>)
)
tcp6(
+ multi-line-mode(<string>)
)
udp(
+ multi-line-mode(<string>)
)
udp6(
+ multi-line-mode(<string>)
)
|
bcb69b9
to
e248ae9
Compare
Build FAILURE |
…sv output formats Signed-off-by: Hofi <hofione@gmail.com>
@kira-syslogng test this please; |
Build FAILURE |
e248ae9
to
dfc4764
Compare
…text server Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
…hook into the message parsing flow after a multiline message composed Signed-off-by: Hofi <hofione@gmail.com>
…ine text server Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
…ion of http based transform Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
… query executor that is not bound to a ControlConnection Signed-off-by: Hofi <hofione@gmail.com>
…aper responder with syslog-ng stats prometheus outptut response Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
… scarper part from the prometheus handling one Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
… their implementations "http_scraper" "scraper" "scrape_freq_limit" "single_instance" "prometheus" "stat_type" "stat_query" Signed-off-by: Hofi <hofione@gmail.com>
…eus-stats-dont-log() source - both are just SCL blocks around the network() source with the new `http-scraper` transport Signed-off-by: Hofi <hofione@gmail.com>
…nit, cleanup, and validation too Signed-off-by: Hofi <hofione@gmail.com>
…otoServerOptionsStorage Signed-off-by: Hofi <hofione@gmail.com>
… base LogProtoServerOptionsStorage Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Hofi <hofione@gmail.com>
…ats` to match the one we use in `syslog-ng-ctl` Signed-off-by: Hofi <hofione@gmail.com>
1bb463b
to
c103f37
Compare
Build FAILURE |
Signed-off-by: Hofi <hofione@gmail.com>
c103f37
to
f06b413
Compare
Build FAILURE |
closing, as needs more rework |
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.
No description provided.