2019-08-20 00:24:51 +02:00
|
|
|
{
|
|
|
|
"addr": "127.0.0.1",
|
|
|
|
"port": 8090,
|
|
|
|
"start_delta": "-PT3H",
|
|
|
|
"end_delta": "P60D",
|
|
|
|
"cache": "PT3M",
|
|
|
|
"tz": "Europe/Zurich",
|
|
|
|
"calendars": {
|
|
|
|
"tlstest": {
|
2019-08-20 15:53:51 +02:00
|
|
|
"interval": "PT5M",
|
2019-08-20 00:24:51 +02:00
|
|
|
"url": "https://localhost/private.ics",
|
|
|
|
"ca": "/home/sebastian/tlstest/ca/ca/ca.crt",
|
|
|
|
"auth": {
|
|
|
|
"type": "tls",
|
|
|
|
"keyfile": "/home/sebastian/tlstest/client/combined.pem"
|
|
|
|
}
|
2019-08-20 15:53:51 +02:00
|
|
|
},
|
|
|
|
"filetest": {
|
|
|
|
"interval": "PT1M",
|
|
|
|
"url": "file:///srv/http/private.ics"
|
2019-08-20 00:24:51 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"key_replace": {
|
|
|
|
"summary": "a_summary",
|
2019-08-20 15:53:51 +02:00
|
|
|
"description": "b_description"
|
2019-08-20 00:24:51 +02:00
|
|
|
},
|
|
|
|
"value_replace": {
|
|
|
|
"summary": "{{ summary|truncate(100, end=' \\N{HORIZONTAL ELLIPSIS}') }}",
|
|
|
|
"description": "{{ description|truncate(100, end=' \\N{HORIZONTAL ELLIPSIS}') }}",
|
|
|
|
"useless_metric": "{{ start.timestamp() + end.timestamp() }}"
|
|
|
|
}
|
|
|
|
}
|