Skip to content

Commit

Permalink
Add tagMatch description
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 committed Nov 11, 2024
1 parent aaacc67 commit 21138e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Doing this helps group metrics with different URL and name tags, which are, in f

| Parameter | Type | Description |
| ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| tagMatch | object | It is required. |
| tagMatch | object | It is required. The tagMatch object and its properties that are used for matching metrics. |
| tagMatch.name | string | It is a required field and it must not be an empty string. It will replace the current metric's url and name tag values when a match is found. |
| tagMatch.matches | object[] | It is a required field. It is an array of objects containing the regular expression and optional method to match against the current metric's url and name tags. It will iterate over all the objects in `matches` until a match is found, or to the end of the array if no match is found. |
| tagMatch.matches.url | RegExp | It is a required field. It is used to match against the current metric url and name tags. |
Expand Down

0 comments on commit 21138e6

Please sign in to comment.