Prometheus: scrape interval 1m -> 20s
This commit is contained in:
parent
778a3244fc
commit
6170779bf5
|
@ -5,6 +5,10 @@ in {
|
||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
globalConfig = {
|
||||||
|
scrape_interval = "20s";
|
||||||
|
};
|
||||||
|
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
{
|
{
|
||||||
job_name = "silver";
|
job_name = "silver";
|
||||||
|
|
Loading…
Reference in New Issue