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 = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# keep data for 30 days
|
# keep data for 30 days
|
||||||
extraFlags = "--storage.tsdb.retention.time=30d";
|
extraFlags = ["--storage.tsdb.retention.time=30d"];
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
{
|
{
|
||||||
job_name = "nginx";
|
job_name = "nginx";
|
||||||
|
|
Loading…
Reference in a new issue