common/templates/metrics_meta

7 lines
172 B
Plaintext

[[- if conv.ToBool .prometheus.enabled ]]
meta {
metrics-port = "${NOMAD_HOST_PORT_metrics}"
alloc = "${NOMAD_ALLOC_INDEX}"
}
[[- end ]]