Improve DataDog metric shipping, this way filtering/grouping is much …#556
Open
aceclan wants to merge 1 commit intojantman:developfrom
Open
Improve DataDog metric shipping, this way filtering/grouping is much …#556aceclan wants to merge 1 commit intojantman:developfrom
aceclan wants to merge 1 commit intojantman:developfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #556 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 44 44
Lines 3294 3302 +8
Branches 485 486 +1
=========================================
+ Hits 3294 3302 +8
Continue to review full report at Codecov.
|
Author
|
Hi @jantman , Please review when You will have time, I think it is useful this modification. This way it can be created dashboards or alerts for multiple services in one step. Best regards, |
13 tasks
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.
Summary
This PR improving DataDog metric shipping, this way filtering/grouping is much easier.
Introducing awslimitcheckr.usage and awslimitchecker.limit instead of awslimitchecker.service_group.service_name.limit / usage
max_usage actually is the actual usage, that's why is replaced for datadog
Here is an example output generated by the following command what should be sent to DataDog.
This way can be selected and group by service_group, service, env, stage (tags on aws: from, over, sum by)
Contributor License Agreement
By submitting this work for inclusion in awslimitchecker, I agree to the following terms:
is being made under the same license as the awslimitchecker project (the Affero GPL v3,
or any subsequent version of that license if adopted by awslimitchecker).
this pull request grants a perpetual, global, unlimited license for it to be used and distributed
under the terms of awslimitchecker's license.
Pull Request Checklist
writing tests for the code, that's fine, just mention that in the summary and either
ask for assistance, or clarify that you'd like someone else to handle the tests. PRs that
include complete test coverage will usually be merged faster.
tox -e docsconnect()andconnect_resource()methods, inherited fromawslimitchecker.connectable.Connectable
if you're working on a GitHub issue (i.e. "issue #x - "). Please
refrain from using the "fixes #x" notation unless you are sure that the
the issue is fixed in that commit.