From eadaa1c2a67c3fbdcc31d1960e66cf67fcae1c74 Mon Sep 17 00:00:00 2001 From: Kyle Neale Date: Thu, 26 Dec 2024 23:06:30 -0500 Subject: [PATCH] Make `go_memstats_alloc_bytes` type `native_dynamic` (#19315) * Make `go_memstats_alloc_bytes` type `native_dynamic` * Lint --- .../datadog_checks/base/checks/openmetrics/v2/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datadog_checks_base/datadog_checks/base/checks/openmetrics/v2/metrics.py b/datadog_checks_base/datadog_checks/base/checks/openmetrics/v2/metrics.py index c26d0322297a7..71ece5169e100 100644 --- a/datadog_checks_base/datadog_checks/base/checks/openmetrics/v2/metrics.py +++ b/datadog_checks_base/datadog_checks/base/checks/openmetrics/v2/metrics.py @@ -1,7 +1,7 @@ DEFAULT_GO_METRICS = { 'go_gc_duration_seconds': 'go.gc.duration.seconds', 'go_goroutines': 'go.goroutines', - 'go_memstats_alloc_bytes': 'go.memstats.alloc_bytes', + 'go_memstats_alloc_bytes': {'name': 'go.memstats.alloc_bytes', 'type': 'native_dynamic'}, 'go_memstats_buck_hash_sys_bytes': 'go.memstats.buck_hash.sys_bytes', 'go_memstats_frees': 'go.memstats.frees', 'go_memstats_gc_cpu_fraction': 'go.memstats.gc.cpu_fraction',