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

@ -139,6 +139,13 @@ variable "services" {
interval = optional(string)
conditions = optional(list(string))
}))
metrics = optional(list(object({
path = string
address = optional(string)
instance = optional(string)
job = optional(string)
interval = optional(string)
})))
ports = optional(list(object({
description = string
port = string