Change-Id: I340d65d50daa3dd40baf2123b7655bba9ed66fd5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
{
"path": "prometheus.yml",
"content": (
- "global:"
- " scrape_interval: 15s"
- " evaluation_interval: 15s"
- "alerting:"
- " alertmanagers:"
- " - static_configs:"
- " - targets:"
- "rule_files:"
- "scrape_configs:"
- " - job_name: 'prometheus'"
- " static_configs:"
- " - targets: [{}]".format(config["default_target"])
+ "global:\n"
+ " scrape_interval: 15s\n"
+ " evaluation_interval: 15s\n"
+ "alerting:\n"
+ " alertmanagers:\n"
+ " - static_configs:\n"
+ " - targets:\n"
+ "rule_files:\n"
+ "scrape_configs:\n"
+ " - job_name: 'prometheus'\n"
+ " static_configs:\n"
+ " - targets: [{}]\n".format(config["default_target"])
),
}
],