Skip to content

Commit 46b9619

Browse files
fix: add MarkCacheBytes to SystemMetrics query mapping
1 parent 80bd7d4 commit 46b9619

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

clickhouse/changelog.d/23677.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add MarkCacheBytes to SystemMetrics query mapping for ClickHouse 25.x+ compatibility, where the metric was moved from system.asynchronous_metrics to system.metrics.

clickhouse/datadog_checks/clickhouse/queries.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@
181181
'LocalThreadScheduled': {'name': 'thread.local.scheduled', 'type': 'gauge'},
182182
'MMappedFileBytes': {'name': 'mmapped.file.size', 'type': 'gauge'},
183183
'MMappedFiles': {'name': 'mmapped.file.current', 'type': 'gauge'},
184+
'MarkCacheBytes': {'name': 'table.mergetree.storage.mark.cache', 'type': 'gauge'},
184185
'MarksLoaderThreads': {'name': 'threads.marks_loader.total', 'type': 'gauge'},
185186
'MarksLoaderThreadsActive': {'name': 'threads.marks_loader.active', 'type': 'gauge'},
186187
'MarksLoaderThreadsScheduled': {'name': 'threads.marks_loader.scheduled', 'type': 'gauge'},

0 commit comments

Comments
 (0)