-
Notifications
You must be signed in to change notification settings - Fork 25
Ctor 1320 enhance sc prometheus gateway apiv1 to prometheus gateway events apiv2 and prometheus gateway metrics apiv2 #279
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
Open
omercier
wants to merge
27
commits into
develop
Choose a base branch
from
CTOR-1320-Enhance-sc-prometheus-gateway-apiv1-to-prometheus-gateway-events-apiv2-and-prometheus-gateway-metrics-apiv2
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
532cd6d
wip: things to improve?
omercier c153bbf
feat(prometheus-metrics-v2): new connector for metrics
omercier 107b0d7
fix CTOR-1626
omercier 06a7303
enh(libs): log an error when log_level is ignored because of its type
omercier 232b312
feat(prometheus-events-v2): new connector for events
omercier 1bd9e40
force max_buffer_size to 1 because we each service is sent to its own…
omercier f8f6478
convert httpResponseBody to string before logging it
omercier 60a38cf
remove useless __internal_ts_last_flush update
omercier 1c5fe2d
enh(lib): use mime.b64
omercier e888de0
enh: move formatting of payload where it belongs
omercier 19fb8ae
Apply suggestions from code review by Tanguy
omercier 05ecaf9
fix: default value for log_level was empty string instead of number
omercier 5b15944
end: use existing generic parameters to format metrics instead of har…
omercier 05129e0
enh: handle enable_extended_metric_name param
omercier dcef3bd
enh: add log_curl_command and send_data debug
omercier ae1c304
enh: various enhancements
omercier ae7fc3d
fix: fixed some silly mistakes
omercier 0d1bc30
enh: partially convert camelCase to snake_case
omercier 73ffa4b
finish removing camelCase
omercier d1c1e27
enh: improve self-documentation
omercier 7ad413e
fix: handle host names with special characters + other
omercier 88489ff
enh: add get_hostgroup_alias
omercier ac4f091
enh sc_broker documentation
omercier 63ca5de
enh sc_flush doc
omercier 1651cc4
enh: quick doc enhancement
omercier 956da43
enh: improve documentaiton of sc_event²
omercier dad573e
enh prometheus events sc
omercier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
491 changes: 491 additions & 0 deletions
491
centreon-certified/prometheus/prometheus-pushgateway-events-apiv2.lua
Large diffs are not rendered by default.
Oops, something went wrong.
645 changes: 645 additions & 0 deletions
645
centreon-certified/prometheus/prometheus-pushgateway-metrics-apiv2.lua
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.