Oops, now I know more how Prometheus works.
This commit is contained in:
parent
0e902d7156
commit
f771863d97
1 changed files with 4 additions and 1 deletions
|
|
@ -79,6 +79,9 @@ in {
|
|||
};
|
||||
|
||||
services.prometheus = {
|
||||
enable = true;
|
||||
port = 9001;
|
||||
|
||||
exporters.node = {
|
||||
enabledCollectors = [
|
||||
"ethtool"
|
||||
|
|
@ -87,7 +90,7 @@ in {
|
|||
"tcpstat"
|
||||
];
|
||||
enable = true;
|
||||
port = 9001;
|
||||
port = 9002;
|
||||
};
|
||||
globalConfig.scrape_interval = "10s"; # "1m"
|
||||
scrapeConfigs = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue