Skip to content

Commit dd52a76

Browse files
author
Diogo Kiss
committed
[consul] add maintenance metric to Consul catalog.
This PR is a dependency to DataDog/integrations-core#1267.
1 parent 4b12127 commit dd52a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checks/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def get_metrics(self, expire=True):
293293

294294

295295
class AgentCheck(object):
296-
OK, WARNING, CRITICAL, UNKNOWN = (0, 1, 2, 3)
296+
OK, WARNING, CRITICAL, UNKNOWN, MAINTENANCE = (0, 1, 2, 3, 4)
297297

298298
SOURCE_TYPE_NAME = None
299299

0 commit comments

Comments
 (0)