Created
July 25, 2018 21:03
-
-
Save tomwilkie/a526b4337e0ef7d7ee6ecde4e0d629ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- match: consul.consul.http.* | |
name: consul_http_request | |
labels: | |
method: $1 | |
path: / | |
- match: consul.consul.http.*.* | |
name: consul_http_request | |
labels: | |
method: $1 | |
path: /$2 | |
- match: consul.consul.http.*.*.* | |
name: consul_http_request | |
labels: | |
method: $1 | |
path: /$2/$3 | |
- match: consul.consul.http.*.*.*.* | |
name: consul_http_request | |
labels: | |
method: $1 | |
path: /$2/$3/$4 | |
- match: consul.consul.http.*.*.*.*.* | |
name: consul_http_request | |
labels: | |
method: $1 | |
path: /$2/$3/$4/$5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment