Skip to content

Conversation

brian-brazil
Copy link
Contributor

Fixes #173

@jrv

label `dst_label` replaced by the expansion of `replacement`. `$1` is replaced
with the first matching subgroup, `$2` with the second etc. If the regular
expression doesn't match then the timeseries is not returned.

Copy link
Member

Choose a reason for hiding this comment

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

Ok, this really calls for one or several examples to be included, like we have in rate() or histogram_quantile().

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've added one

@juliusv
Copy link
Member

juliusv commented Aug 20, 2015

👍 otherwise

brian-brazil added a commit that referenced this pull request Aug 20, 2015
@brian-brazil brian-brazil merged commit 109decd into prometheus:master Aug 20, 2015
@brian-brazil brian-brazil deleted the label-replace branch September 12, 2015 06:39
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