Add prometheus metrics to alloy
This commit is contained in:
parent
616788c5ea
commit
5ad3e9bfe2
8 changed files with 174 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue