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 = {
|
services.prometheus = {
|
||||||
enable = true;
|
exporters.node = {
|
||||||
port = 9001;
|
enabledCollectors = [
|
||||||
|
"ethtool"
|
||||||
exporters.node.enabledCollectors = [
|
"softirqs"
|
||||||
"ethtool"
|
"systemd"
|
||||||
"softirqs"
|
"tcpstat"
|
||||||
"systemd"
|
];
|
||||||
"tcpstat"
|
enable = true;
|
||||||
];
|
port = 9001;
|
||||||
|
};
|
||||||
globalConfig.scrape_interval = "10s"; # "1m"
|
globalConfig.scrape_interval = "10s"; # "1m"
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue