Add prometheus metrics to alloy

This commit is contained in:
Tobias Reisinger 2025-05-06 15:14:49 +02:00
parent 616788c5ea
commit 5ad3e9bfe2
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 174 additions and 19 deletions

View file

@ -196,6 +196,10 @@ services = {
name = "forgejo_data"
type = "docker"
}]
# TODO: add auth stuff to alloy
#metrics = [{
# path = "/metrics"
#}]
monitoring = {
url = "/api/v1/version"
group = "3-services"
@ -300,6 +304,9 @@ services = {
name = "influxdb_data"
type = "docker"
}]
metrics = [{
path = "/metrics"
}]
monitoring = {
url = "/health"
group = "3-services"
@ -501,6 +508,9 @@ services = {
name = "ntfy_data"
type = "docker"
}]
metrics = [{
path = "/metrics"
}]
monitoring = {
url = "/v1/health"
group = "3-services"
@ -607,6 +617,9 @@ services = {
name = "synapse_media_store"
type = "docker"
}]
metrics = [{
path = "/_synapse/metrics"
}]
monitoring = {
url = "/_matrix/client/versions"
group = "3-services"
@ -732,6 +745,9 @@ services = {
name = "vikunja_data"
type = "docker"
}]
metrics = [{
path = "/api/v1/metrics"
}]
monitoring = {
url = "/api/v1/info"
group = "3-services"
@ -792,6 +808,10 @@ services = {
alias = "woodpecker"
}
]
# TODO: add auth stuff to alloy
#metrics = [{
# path = "/metrics"
#}]
monitoring = {
url = "/healthz"
group = "3-services"