Skip to content

Commit

Permalink
feat(metrics): collect node_memory_MemAvailable_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Oct 13, 2023
1 parent 70af83f commit 0b951e0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/3322.added.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feat(metrics): collect node_memory_MemAvailable_bytes
3 changes: 2 additions & 1 deletion deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/scraped-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions docs/v4-migration-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/integration/internal/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0b951e0

Please sign in to comment.