Skip to content

Commit 5a8d2ee

Browse files
authored
Remove metrics limit from cockroachdb legacy check (DataDog#13038)
1 parent 561a95b commit 5a8d2ee

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cockroachdb/datadog_checks/cockroachdb/cockroachdb.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010

1111
class CockroachdbCheck(OpenMetricsBaseCheck):
12+
13+
DEFAULT_METRIC_LIMIT = 0
14+
1215
def __new__(cls, name, init_config, instances):
1316
instance = instances[0]
1417

cockroachdb/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def dd_environment(instance):
2727

2828
@pytest.fixture(scope='session')
2929
def instance_legacy():
30-
return {'prometheus_url': 'http://{}:{}/_status/vars'.format(HOST, PORT), 'max_returned_metrics': 20000}
30+
return {'prometheus_url': 'http://{}:{}/_status/vars'.format(HOST, PORT)}
3131

3232

3333
@pytest.fixture(scope='session')

0 commit comments

Comments
 (0)