Skip to content

Instantly share code, notes, and snippets.

@justenwalker
Last active November 8, 2018 21:42
Show Gist options
  • Save justenwalker/88d6d1add3a60f256f437cea7ee4031c to your computer and use it in GitHub Desktop.
Save justenwalker/88d6d1add3a60f256f437cea7ee4031c to your computer and use it in GitHub Desktop.
Damon prometheus metrics example
# Ask for a port on which Damon can serve Prometheus metrics
network {
port "damon" {}
}
# Advertise damon as a service
service {
port = "damon"
name = "${NOMAD_TASK_NAME}-damon"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment