prometheus fix config
This commit is contained in:
parent
a8c7fc1718
commit
2083f008ad
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
services.prometheus = {
|
||||
enable = true;
|
||||
# keep data for 30 days
|
||||
extraFlags = "--storage.tsdb.retention.time=30d";
|
||||
extraFlags = ["--storage.tsdb.retention.time=30d"];
|
||||
scrapeConfigs = [
|
||||
{
|
||||
job_name = "nginx";
|
||||
|
|
Loading…
Reference in a new issue