-
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
Add RethinkDB integration #5715
Merged
Merged
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 Feb 12, 2020
* Modifiers -> Transformers * Add docs on `DocumentQuery` parameters and usage. * Add and test an example script for `DocumentQuery`. * Drop hard requirement for a logger on `query.run()`. * Drop trace logs (too noisy to be debug logs).
@AlexandreYang Thanks, addressed your feedback, see details in 3b65f86 :-) |
ofek
reviewed
Mar 26, 2020
AlexandreYang
previously approved these changes
Mar 26, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 , thx for all the changes :)
lgtm but tests failing |
AlexandreYang
previously approved these changes
Mar 26, 2020
l0k0ms
previously approved these changes
Mar 27, 2020
florimondmanca
dismissed stale reviews from l0k0ms and AlexandreYang
via
March 27, 2020 13:19
8eee355
ofek
approved these changes
Mar 27, 2020
AlexandreYang
approved these changes
Mar 27, 2020
6 tasks
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?
Add a new integration for RethinkDB.
Work in progress.
Items still TODO:
QueryManager
for default metrics => Created aDocumentQuery
helper for querying metrics from JSON DBsREADME.md
.metadata.csv
.manifest.json
.service_checks.json
.groups
(Tags sent with the service check)Later:
Motivation
Allow users to monitor RethinkDB clusters with Datadog.
Additional Notes
To run the check locally:
# Must use --dev to install dependencies (they're not yet in master) ddev env start --dev rethinkdb py38-2.3 ddev env check rethinkdb py38-2.3
Metadata generation
Click to expand and see source code
rfc_md_to_metadata_csv.py
: generate contents ofmetadata.csv
from tables in the### Metrics
section of an RFC.dump_metrics()
: wrap the stream of RethinkDB metrics to write submitted metrics to a CSV filevalidate_metrics.py
: comparemetadata.csv
with a dump of metrics generated when running a checkReview checklist (to be filled by reviewers)
changelog/
andintegration/
labels attached