sensu-plugins / sensu-plugins-graphite

This plugin provides native Graphite instrumentation for monitoring, including: replication status, various Graphite data queries, mutators, and handlers
http://sensu-plugins.io
MIT License
22 stars 45 forks source link

Adding option -j to allow configuration scope to be defined on command #57

Closed dalesit closed 6 years ago

dalesit commented 7 years ago

line

Pull Request Checklist

Is this in reference to an existing issue? New PR to bring #36 up to date with as single commit

General

New Plugins

Purpose

Known Compatablity Issues

majormoses commented 7 years ago

This looks good, can you provide any kind of manual or automated testing? If you are unsure how to write a test for it maybe just some log entries showing it working as intended.

majormoses commented 6 years ago

@dalesit any chance of you coming back to this and providing some testing artifact?

dalesit commented 6 years ago

I'm out of the country on leave at the moment, but back next week when I will try to get to look at it. What sort of test are you looking for? As it is following the procedure used in other plugins for passing separate configuration scopes, do any other plugins have a test for this that you could suggest as an example?

Cheers,

Joel

Sent from my iPhone

On 26 Sep 2017, at 06:39, Ben Abrams notifications@github.com wrote:

@dalesit any chance of you coming back to this and providing some testing artifact?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

majormoses commented 6 years ago

not really a great testing for handlers, but if you want an example of what we are trending towards you can check out https://github.com/sensu-plugins/sensu-plugins-dcos it leverages test-kitchen and serverspec. These are by no means a requirement to get this done. Just some kind of log entry would be enough.

majormoses commented 6 years ago

released: https://rubygems.org/gems/sensu-plugins-graphite/versions/2.3.0