-
Notifications
You must be signed in to change notification settings - Fork 813
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
Conversation
"threads", | ||
"pointer_size", | ||
|
||
# these are calculated from other metrics |
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.
Having these 3 metrics here is never used. You can remove them.
Good job once the nitpicks are fixed! |
Failing tests are unrelated. |
|
||
tags = instance.get('tag', None) | ||
if tags: | ||
tags = ["instance:%s" % tags] |
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.
We're only allowing a single tag per instance here? Shouldn't we allow multiple tags?
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.
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?
] | ||
|
||
def __init__(self, name, init_config, agentConfig): | ||
AgentCheck.__init__(self, name, init_config, agentConfig) |
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.
You don't need a constructor if all you do is calling the super constructor.
Nice job! 👍 |
No description provided.