Skip to content
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 check for Riak replication (riak-repl) metrics #212

Merged
merged 7 commits into from
Jan 31, 2019

Conversation

abtreece
Copy link
Contributor

@abtreece abtreece commented Oct 3, 2018

What does this PR do?

Adds a custom check for Riak replication (riak-repl) starting with a subset of the available metrics

Motivation

Replication has been included in the open source version of Riak. The node and cluster metrics are currently available in core but there is no visibility for riak-repl.

Review checklist

  • PR has a meaningful title or PR has the no-changelog label attached
  • Feature or bugfix has tests
  • Git history is clean
  • If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes

Anything else we should know when reviewing?

@abtreece
Copy link
Contributor Author

abtreece commented Oct 3, 2018

I'm unsure if the checkboxes in the PR detail are for me or the reviewer(s) so I've left them unchecked.

@abtreece abtreece force-pushed the add-riak-repl-integration branch from 7fe3b87 to 99dc5ba Compare October 4, 2018 01:25
@phrawzty
Copy link
Contributor

👋 Hello! Thanks for the PR! One quick question before we go any further (and please forgive me if it's obvious - I'm not a Riak expert): why should this be a separate Integration? In other words, would it make sense to integrate this code / functionality into the core Riak Integration?

@abtreece
Copy link
Contributor Author

abtreece commented Oct 10, 2018

Hey @phrawzty... the riak check in integration-core pulls stats from ../stats whereas this integration pulls from ../riak-repl/stats. The stats are provided by different Erlang "actors" and thus operate a bit independently. I suppose they could be combined, but I believe keeping them separate follows with the Erlang model and will allow for independent feature/fix contributions based on the advancements of those separate codebases.

@abtreece abtreece force-pushed the add-riak-repl-integration branch from 931c0f9 to de692fc Compare October 16, 2018 17:02
@abtreece abtreece force-pushed the add-riak-repl-integration branch from 840e497 to 08a23ff Compare October 23, 2018 19:18
@stale
Copy link

stale bot commented Dec 23, 2018

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed if no further activity occurs in the next two weeks. Thank you for participating in the Datadog open source community. If you need more time, or have any questions, let us know.

@stale stale bot added the stale label Dec 23, 2018
@stale stale bot removed the stale label Jan 7, 2019
@abtreece
Copy link
Contributor Author

Hey @masci is there anything I can do at this point to help move this along? I'm getting ready to work on a new feature for it and don't want to muddy this PR.

Only implements a subset of available metrics at this point.
These checks will pull out the connected cluster and gather metrics
reported for each. The tests require starting two clusters via docker
and configuring replication between them. Additionally fixed a couple
issues with the README and removing unnecessary files.
@abtreece abtreece force-pushed the add-riak-repl-integration branch from 16fbb7f to 4cf4b33 Compare January 31, 2019 15:39
@abtreece abtreece requested review from a team as code owners January 31, 2019 15:39
@ofek
Copy link
Contributor

ofek commented Jan 31, 2019

@abtreece Hello there! Can you please fix the 2 validations in CI? Here are the valid unit names currently: https://github.com/DataDog/integrations-core/blob/a676e7b2f46e3ceb48c1d00d0abad7aa16d9a922/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/metadata.py#L48-L184

riak_repl/README.md Outdated Show resolved Hide resolved
riak_repl/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks friend! Great work here 😄

@ofek ofek merged commit 73aaded into DataDog:master Jan 31, 2019
@phrawzty
Copy link
Contributor

phrawzty commented Feb 1, 2019

Hi @abtreece! In order to thank you for both your contribution and your patience, I'd be happy to send you a t-shirt and some stickers. 😄 If you're interested, please shoot me an email with your postal mail details: phrawzty at datadoghq dot com. Thanks again!

@abtreece abtreece deleted the add-riak-repl-integration branch February 1, 2019 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants