Forked from
asapo / asapo
486 commits behind the upstream repository.
-
Mikhail Karnevskiy authored
Expose parameters of the retention policy to config file. Use sum of the data points instead average. Fix inset in the fields name of the InfluxDB response. Split request to the InfluxDB to two periods: full data and grouped data. Add results of response via concatenation of vectors.
Mikhail Karnevskiy authoredExpose parameters of the retention policy to config file. Use sum of the data points instead average. Fix inset in the fields name of the InfluxDB response. Split request to the InfluxDB to two periods: full data and grouped data. Add results of response via concatenation of vectors.
monitoring_server.json.tpl 326 B
{
"ThisClusterName": "asapo",
"ServerPort": {{ env "NOMAD_PORT_monitoring_server" }},
"LogLevel": "{{ keyOrDefault "log_level" "debug" }}",
"InfluxDbUrl":"http://localhost:8400/influxdb",
"InfluxDbDatabase": "asapo_monitoring",
"RetentionPolicyTime": "12h",
"GroupingTime": "10m",
"MaxPoints": 500
}