Play around with config options.
This commit is contained in:
parent
ff8ad94913
commit
0e902d7156
1 changed files with 10 additions and 10 deletions
|
|
@ -79,16 +79,16 @@ in {
|
|||
};
|
||||
|
||||
services.prometheus = {
|
||||
enable = true;
|
||||
port = 9001;
|
||||
|
||||
exporters.node.enabledCollectors = [
|
||||
"ethtool"
|
||||
"softirqs"
|
||||
"systemd"
|
||||
"tcpstat"
|
||||
];
|
||||
|
||||
exporters.node = {
|
||||
enabledCollectors = [
|
||||
"ethtool"
|
||||
"softirqs"
|
||||
"systemd"
|
||||
"tcpstat"
|
||||
];
|
||||
enable = true;
|
||||
port = 9001;
|
||||
};
|
||||
globalConfig.scrape_interval = "10s"; # "1m"
|
||||
scrapeConfigs = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue