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 CouchDB service check. #1201

Merged
merged 2 commits into from
Dec 10, 2014
Merged

Add CouchDB service check. #1201

merged 2 commits into from
Dec 10, 2014

Conversation

conorbranagan
Copy link
Contributor

Pretty much the same as how it works in Couchbase with a test.

@conorbranagan conorbranagan force-pushed the conor/couchdb-service-check branch from 3ec3d82 to 849ecdf Compare November 15, 2014 19:14

@attr(requires='couchdb')
class CouchDBTestCase(unittest.TestCase):

def testMetrics(self):

def tetst_metrics(self):
Copy link
Member

Choose a reason for hiding this comment

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

Typo test.

Pretty much the same as how it works in Couchbase with a test.
@conorbranagan conorbranagan force-pushed the conor/couchdb-service-check branch from 70bf629 to 72274e2 Compare November 17, 2014 14:15
tags=service_check_tags, message=str(e))
raise
else:
self.service_check(self.SERVICE_CHECK_NAME, AgentCheck.OK)
Copy link
Member

Choose a reason for hiding this comment

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

You probably want to include the service_check_tags in here?

@remh remh self-assigned this Dec 10, 2014
@conorbranagan
Copy link
Contributor Author

Fixed @LeoCavaille, thanks. Should be good now.

LeoCavaille added a commit that referenced this pull request Dec 10, 2014
@LeoCavaille LeoCavaille merged commit 700cf22 into master Dec 10, 2014
@LeoCavaille LeoCavaille deleted the conor/couchdb-service-check branch December 10, 2014 22:44
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.

3 participants