prometheus fix config

This commit is contained in:
Ingolf Wagner 2019-12-25 17:37:06 +13:00
parent a8c7fc1718
commit 2083f008ad
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -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";