You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux thesystem 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux
node_exporter version: output of node_exporter --version
node_exporter command line flags
No commandline flags
Are you running node_exporter in Docker?
No
When browsing /metrics there are a lot of lines starting with "# HELP"
As far as I see these lines are just for human explanation.
node_exporter gzips the output before sending via http. This gives in my case 10837 bytes file size. (wget /metrics and then gzip metrics)
When using cat metrics | grep -v "# HELP" > metricsOpt to remove all lines with HELP text and then gzipping it results in a filesize of only 6906 bytes.
So by disabling help text you can save almost 40 % bandwith. With a scrape interval of 15s this saves about 22 MB per day and server. So if you monitor 20 servers this saves about 26 GB per month traffic (traffic of node_exporter host and traffic of prometheus scraping server).
Maybe even "# TYPE" could be disabled which results then in 5837 bytes per scrape.
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered:
Resource usage is a good point. Even this is hopefully a local connection, the HELP text isn't really needed in most cases.
The TYPE information is arguable.
Saving resources is a valid topic today!
Is there any news about this request. Maybe new request?
Host operating system: output of
uname -a
Linux thesystem 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux
node_exporter version: output of
node_exporter --version
node_exporter command line flags
No commandline flags
Are you running node_exporter in Docker?
No
When browsing /metrics there are a lot of lines starting with "# HELP"
As far as I see these lines are just for human explanation.
node_exporter gzips the output before sending via http. This gives in my case 10837 bytes file size. (wget /metrics and then
gzip metrics
)When using
cat metrics | grep -v "# HELP" > metricsOpt
to remove all lines with HELP text and then gzipping it results in a filesize of only 6906 bytes.So by disabling help text you can save almost 40 % bandwith. With a scrape interval of 15s this saves about 22 MB per day and server. So if you monitor 20 servers this saves about 26 GB per month traffic (traffic of node_exporter host and traffic of prometheus scraping server).
Maybe even "# TYPE" could be disabled which results then in 5837 bytes per scrape.
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: