Commit 3db8a856 authored by Matt Bostock's avatar Matt Bostock Committed by Brian Brazil

Marathon SD: Add __meta_marathon_port_ordinal (#775)

This label was added in:
https://github.com/prometheus/prometheus/pull/2865/commits/d7f8e227a80b0ea3f652f51d4a5e1afa3aeb092e
parent 7e6a59da
...@@ -716,6 +716,7 @@ The following meta labels are available on targets during relabeling: ...@@ -716,6 +716,7 @@ The following meta labels are available on targets during relabeling:
* `__meta_marathon_image`: the name of the Docker image used (if available) * `__meta_marathon_image`: the name of the Docker image used (if available)
* `__meta_marathon_task`: the ID of the Mesos task * `__meta_marathon_task`: the ID of the Mesos task
* `__meta_marathon_app_label_<labelname>`: any Marathon labels attached to the app * `__meta_marathon_app_label_<labelname>`: any Marathon labels attached to the app
* `__meta_marathon_port_ordinal`: the ordinal port index number (e.g. `1` for `PORT1`)
See below for the configuration options for Marathon discovery: See below for the configuration options for Marathon discovery:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment