-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
extend and refactor tests #13737
Merged
iliakur
merged 2 commits into
ik/AI-2736/rabbitmq-openmetrics
from
01-19-extend_and_refactor_tests
Jan 19, 2023
Merged
extend and refactor tests #13737
iliakur
merged 2 commits into
ik/AI-2736/rabbitmq-openmetrics
from
01-19-extend_and_refactor_tests
Jan 19, 2023
Conversation
This file contains 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 was referenced Jan 19, 2023
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
fanny-jiang
reviewed
Jan 19, 2023
fanny-jiang
approved these changes
Jan 19, 2023
0c55394
to
a48d9e4
Compare
256eb8c
to
f4325e9
Compare
a48d9e4
to
511aedd
Compare
f4325e9
to
b748a01
Compare
511aedd
to
482a456
Compare
b748a01
to
4733b4e
Compare
482a456
to
0d4340b
Compare
4733b4e
to
bc93102
Compare
0d4340b
to
92a5a7e
Compare
bc93102
to
63e4cff
Compare
92a5a7e
to
bb41256
Compare
63e4cff
to
c31e757
Compare
bb41256
to
e89e7fe
Compare
c31e757
to
32f428b
Compare
Base automatically changed from
01-18-validate_check_configuration_values
to
ik/AI-2736/rabbitmq-openmetrics
January 19, 2023 17:33
32f428b
to
91e91f9
Compare
iliakur
added a commit
that referenced
this pull request
Jan 19, 2023
* extend and refactor tests * add comment explaining assertion
iliakur
added a commit
that referenced
this pull request
Jan 20, 2023
* extend and refactor tests * add comment explaining assertion
iliakur
added a commit
that referenced
this pull request
Jan 20, 2023
* extend and refactor tests * add comment explaining assertion
fanny-jiang
added a commit
that referenced
this pull request
Jan 20, 2023
* Setting the stage (#13437) ### What does this PR do? <!-- A brief description of the change being made with this pull request. --> The Openmetrics-related changes are minimal: just a basic class and a test that mostly makes sure that this class can be imported and run. The rest is scaffolding: I needed new versions of rmq to test out my changes, the old tests needed adjusting to pass -> one config field had to be made optional to make sure my tests run -> etc... ### Motivation <!-- What inspired you to submit this pull request? --> ### Additional Notes <!-- Anything else we should know when reviewing? --> ### Review checklist (to be filled by reviewers) - [ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e) - [ ] PR title must be written as a CHANGELOG entry [(see why)](https://github.com/DataDog/integrations-core/blob/master/CONTRIBUTING.md#pull-request-title) - [ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR) - [ ] PR must have `changelog/` and `integration/` labels attached - [ ] If the PR doesn't need to be tested during QA, please add a `qa/skip-qa` label. * Only select aggregated endpoint (#13673) * only aggregated endpoint * fix erlang.vm.allocators assertion * copy suggestions Co-authored-by: Austin Lai <[email protected]> * Update rabbitmq/assets/configuration/spec.yaml Co-authored-by: Austin Lai <[email protected]> * Update models and example config to reflect current spec * Don't test rabbitmq 3.8 (openmetrics) with python2 * fix PY2 failure * consistent python env names; better setup to skip openmetrics tests * Add openmetrics to E2E environment (#13695) * add openmetrics e2e * re-add newline to compose file * revert hatch.toml changes Co-authored-by: Austin Lai <[email protected]> Co-authored-by: Fanny Jiang <[email protected]> * add more metrics to aggregated endpoint (#13684) * add more metrics to aggregated endpoint * separate out summary metrics * Refactor aggregated endpoint test (#13730) * refactor aggregated endpoints test * add missing metrics * fix dd metric names Co-authored-by: Fanny Jiang <[email protected]> * support for specifying just detailed endpoint (#13691) * support for specifying just detailed endpoint * Update rabbitmq/datadog_checks/rabbitmq/data/conf.yaml.example Co-authored-by: Bryce Eadie <[email protected]> * Update rabbitmq/datadog_checks/rabbitmq/data/conf.yaml.example Co-authored-by: Bryce Eadie <[email protected]> * sync config * apply and sync all the suggestions Co-authored-by: Bryce Eadie <[email protected]> * support for specifying just per-object endpoint (#13692) * support for specifying just per-object endpoint * Style fix: remove f-string without interpolation * specify both detailed and aggregated endpoints in one instance (#13727) * validate check configuration values (#13728) * validate check configuration values * several fixes: - remove unnecessary validation logic - fix url in one of the tests, - fix style - aggregated endpoint is enabled by default * extend and refactor tests (#13737) * extend and refactor tests * add comment explaining assertion * document implementation decisions (#13729) * fix license headers * Add openmetrics E2E test (#13744) * enable openmetrics e2e test * assert metrics * small docs fixes (#13746) * add license header to test file * Define multiple instances in config spec (#13742) * wip * resync config * document example detailed query endpoint * fix e2e test * remove example code from validators * resync config spec * add missing fields to metadata.csv, fix metric name (#13745) * add missing fields to metadata.csv, fix metric name * add special detailed metrics, fix validation errors * Apply suggestions from code review Co-authored-by: Fanny Jiang <[email protected]> * remove last "total" suffixes * add missing unit names Co-authored-by: Fanny Jiang <[email protected]> * readme draft 1 * readme, migration guide * split integration and e2e tests * Apply suggestions from code review Co-authored-by: Fanny Jiang <[email protected]> * fix license header * move section * remove "we" pronoun * Update rabbitmq/README.md Co-authored-by: Esther Kim <[email protected]> * add migration guide section * fix e2e test Co-authored-by: Austin Lai <[email protected]> Co-authored-by: Fanny Jiang <[email protected]> Co-authored-by: Bryce Eadie <[email protected]> Co-authored-by: Esther Kim <[email protected]>
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.
What does this PR do?
Motivation
Additional Notes
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attachedqa/skip-qa
label.