Skip to content

Conversation

@mkm85
Copy link
Contributor

@mkm85 mkm85 commented Aug 10, 2017

* `__meta_gce_zone`: the GCE zone in which the instance is running
* `__meta_gce_zone`: the GCE zone URL in which the instance is running

For meta labels returning an URL the format is as follows:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may change due to no action on our part, so this shouldn't be documented here. We don't want GCE to cause what counts as a breaking change in Prometheus.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I still think it's most intuitive if it does not return urls in the first place.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are free to take that up with GCE. Please remove this section.

@brian-brazil brian-brazil merged commit 8861c6d into prometheus:master Aug 10, 2017
@brian-brazil
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants