Skip to content

Commit

Permalink
Merge pull request #1822 from DataDog/yann/deprecate-old-mesos-check
Browse files Browse the repository at this point in the history
[mesos] `mesos` → `mesos_master` + `mesos_slave`
  • Loading branch information
remh committed Aug 10, 2015
2 parents d20b9a3 + a9075e6 commit fc4a26b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions checks.d/mesos.py
Expand Up @@ -13,6 +13,15 @@ class Mesos(AgentCheck):
SERVICE_CHECK_NAME = "mesos.can_connect"

def check(self, instance):
"""
DEPRECATED:
This generic Mesosphere check is deprecated not actively developed anymore. It will be
removed in a future version of the Datadog Agent.
Please head over to the Mesosphere master and slave specific checks.
"""
self.warning("This check is deprecated in favor of Mesos master and slave specific checks."
" It will be removed in a future version of the Datadog Agent.")

if 'url' not in instance:
raise Exception('Mesos instance missing "url" value.')

Expand Down

0 comments on commit fc4a26b

Please sign in to comment.