Commit 347e545e authored by Stan Hu's avatar Stan Hu

Remove process_smaps from default config

It appears the kernel `smaps_account` function along with regular
expression matching can cause this probe to use 30% of the CPU if the
process is scraped once per second. Disable it for now.

Closes https://gitlab.com/gitlab-org/gitlab-monitor/issues/51
parent a985abf3
Pipeline #110933 passed with stage
in 39 seconds
......@@ -41,7 +41,7 @@ metrics.
* Data from /proc/<pid>/cmdline:
* `process_resident_memory_bytes`
* `process_virtual_memory_bytes`
* Data from /proc/<pid>/smaps:
* Data from /proc/<pid>/smaps -- `probe_smaps` (off by default):
* `process_smaps_size_bytes`
* `process_smaps_rss_bytes`
* `process_smaps_shared_clean_bytes`
......
......@@ -72,7 +72,6 @@ probes:
methods:
- probe_stat
- probe_count
- probe_smaps
opts:
- pid_or_pattern: "sidekiq .* \\[.*?\\]"
name: sidekiq
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment