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

Mcache checksd fixes #390 #439

Merged
merged 23 commits into from
Apr 19, 2013
Merged

Mcache checksd fixes #390 #439

merged 23 commits into from
Apr 19, 2013

Conversation

pcockwell
Copy link
Contributor

No description provided.

"threads",
"pointer_size",

# these are calculated from other metrics
Copy link

Choose a reason for hiding this comment

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

Having these 3 metrics here is never used. You can remove them.

@remh
Copy link

remh commented Apr 9, 2013

Good job once the nitpicks are fixed!
I can't wait to get rid of all these old checks!

@pcockwell
Copy link
Contributor Author

Failing tests are unrelated.


tags = instance.get('tag', None)
if tags:
tags = ["instance:%s" % tags]
Copy link
Contributor

Choose a reason for hiding this comment

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

We're only allowing a single tag per instance here? Shouldn't we allow multiple tags?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can add that functionality. It wasn't in the previous check version. I assume the tags should each be of the 'instance:tag1', 'instance:tag2' format?

@ghost ghost assigned remh Apr 11, 2013
]

def __init__(self, name, init_config, agentConfig):
AgentCheck.__init__(self, name, init_config, agentConfig)
Copy link

Choose a reason for hiding this comment

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

You don't need a constructor if all you do is calling the super constructor.

@remh
Copy link

remh commented Apr 19, 2013

Nice job! 👍
Once you've fixed the two nitpick I shown feel free to merge.

pcockwell added a commit that referenced this pull request Apr 19, 2013
@pcockwell pcockwell merged commit d8b56c9 into master Apr 19, 2013
@pcockwell pcockwell deleted the mcache_checksd branch April 19, 2013 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants