diff --git a/.changelog/3322.added.txt b/.changelog/3322.added.txt new file mode 100644 index 0000000000..9ba37ff8b6 --- /dev/null +++ b/.changelog/3322.added.txt @@ -0,0 +1 @@ +feat(metrics): collect node_memory_MemAvailable_bytes \ No newline at end of file diff --git a/deploy/helm/sumologic/values.yaml b/deploy/helm/sumologic/values.yaml index 973b7d52df..cd615cb0d5 100644 --- a/deploy/helm/sumologic/values.yaml +++ b/deploy/helm/sumologic/values.yaml @@ -1111,6 +1111,7 @@ kube-prometheus-stack: ## node_vmstat_pgpgin ## node_vmstat_pgpgout ## node_memory_MemFree_bytes + ## node_memory_MemAvailable_bytes ## node_memory_Cached_bytes ## node_memory_Buffers_bytes ## node_memory_MemTotal_bytes @@ -1122,7 +1123,7 @@ kube-prometheus-stack: ## node_filesystem_size_bytes metricRelabelings: - action: keep - regex: (?:node_load1|node_load5|node_load15|node_cpu_seconds_total|node_disk_io_time_weighted_seconds_total|node_disk_io_time_seconds_total|node_vmstat_pgpgin|node_vmstat_pgpgout|node_memory_MemFree_bytes|node_memory_Cached_bytes|node_memory_Buffers_bytes|node_memory_MemTotal_bytes|node_network_receive_drop_total|node_network_transmit_drop_total|node_network_receive_bytes_total|node_network_transmit_bytes_total|node_filesystem_avail_bytes|node_filesystem_size_bytes) + regex: (?:node_load1|node_load5|node_load15|node_cpu_seconds_total|node_disk_io_time_weighted_seconds_total|node_disk_io_time_seconds_total|node_vmstat_pgpgin|node_vmstat_pgpgout|node_memory_MemFree_bytes|node_memory_MemAvailable_bytes|node_memory_Cached_bytes|node_memory_Buffers_bytes|node_memory_MemTotal_bytes|node_network_receive_drop_total|node_network_transmit_drop_total|node_network_receive_bytes_total|node_network_transmit_bytes_total|node_filesystem_avail_bytes|node_filesystem_size_bytes) sourceLabels: [__name__] prometheus: enabled: false diff --git a/docs/scraped-metrics.md b/docs/scraped-metrics.md index 36283f1cbe..ad1aaa565a 100644 --- a/docs/scraped-metrics.md +++ b/docs/scraped-metrics.md @@ -174,6 +174,7 @@ The following table contains information about metrics scraped by Sumo Logic's P | `node_vmstat_pgpgin` | node-exporter | yes | | `node_vmstat_pgpgout` | node-exporter | yes | | `node_memory_MemFree_bytes` | node-exporter | yes | +| `node_memory_MemAvailable_bytes` | node-exporter | yes | | `node_memory_Cached_bytes` | node-exporter | yes | | `node_memory_Buffers_bytes` | node-exporter | yes | | `node_memory_MemTotal_bytes` | node-exporter | yes | diff --git a/docs/v4-migration-doc.md b/docs/v4-migration-doc.md index 48916969c7..60f2d995c1 100644 --- a/docs/v4-migration-doc.md +++ b/docs/v4-migration-doc.md @@ -238,6 +238,7 @@ require additional action. - node_vmstat_pgpgin - node_vmstat_pgpgout - node_memory_MemFree_bytes + - node_memory_MemAvailable_bytes - node_memory_Cached_bytes - node_memory_Buffers_bytes - node_memory_MemTotal_bytes diff --git a/tests/integration/internal/constants.go b/tests/integration/internal/constants.go index 6943a05726..908c088a08 100644 --- a/tests/integration/internal/constants.go +++ b/tests/integration/internal/constants.go @@ -182,6 +182,7 @@ var ( "node_vmstat_pgpgin", "node_vmstat_pgpgout", "node_memory_MemFree_bytes", + "node_memory_MemAvailable_bytes", "node_memory_Cached_bytes", "node_memory_Buffers_bytes", "node_memory_MemTotal_bytes",