Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for consul's node metadata #2966

Merged
merged 2 commits into from
Sep 2, 2017

Conversation

alkalinecoffee
Copy link
Contributor

Consul recently added support for node metadata. This allows KV pairs to be added at a node-level within consul.

This PR adds support for accessing node metadata during relabeling within the consul SD. Values for each target can be fetched using the key name, ie __meta_consul_metadata_<key>.

Copy link
Contributor

@mdlayher mdlayher left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@grobie grobie left a comment

Choose a reason for hiding this comment

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

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

4 participants