Hastic standalone
https://hastic.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
646 B
23 lines
646 B
port = 4347 |
|
|
|
[prometheus] |
|
url = "http://localhost:9090" |
|
query = "rate(go_memstats_alloc_bytes_total[5m])" |
|
|
|
|
|
# [influx] |
|
# url = "http://localhost:8086" |
|
# org_id = "5abe4759f7360f1c" |
|
# token = "sCAB2MVo8TJxhUH8UDJZIeCPwf-cykBtO0jhr207qCQSZ9d43JXObCYK_uAml2BL26JBYFauz95yIeC51kxQog==" |
|
# query = """from(bucket: "main-backet") |
|
# |> $range |
|
# |> filter(fn: (r) => r["_measurement"] == "mem" or r["_measurement"] == "influxdb_telegrafs_total" or r["_measurement"] == "cpu") |
|
# |> filter(fn: (r) => r["_field"] == "mapped") |
|
# |> yield(name: "mean") |
|
# """ |
|
|
|
[alerting] |
|
type = "webhook" |
|
interval = 10 # in seconds |
|
endpoint = "http://localhost:9092" |
|
|
|
|