Add metrics-meta template
This commit is contained in:
parent
1f12f6b686
commit
33cfb1fe0c
8
templates/metrics-meta.tpl
Normal file
8
templates/metrics-meta.tpl
Normal file
|
@ -0,0 +1,8 @@
|
|||
[[- if .prometheus.enabled ]]
|
||||
|
||||
meta {
|
||||
metrics-port = "${NOMAD_HOST_PORT_metrics}"
|
||||
alloc = "${NOMAD_ALLOC_INDEX}"
|
||||
}
|
||||
|
||||
[[- end ]]
|
Loading…
Reference in New Issue
Block a user