Skip to content

Commit

Permalink
Merge branch 'anthraxn8b-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Apr 26, 2020
2 parents 70aa063 + b173939 commit a7ea748
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ Experimental features
---------------------

The exporter contains features that are currently experimental and may change without prior notice.
To use these features, either set the `-enable-experimental` flag or add a `enable_experimental` option
to your configuration file.
To use these features, either set the `-enable-experimental` flag or add a `enable_experimental`
option to your configuration file (on the root of the configuration file document, like
`enable_experimental: true` in YAML or `enable_experimental = true` in HCL).

### Dynamic re-labeling

Expand All @@ -232,7 +233,9 @@ All other values will be subsumed under the `"other"` label value. See #16 for a
discussion around the reasoning.

Dynamic relabeling also allows you to aggregate your metrics by request path (which replaces
the experimental feature originally introduced in #23):
the experimental feature originally introduced in #23). The following example splits the content of
the `request` variable at every space (using `split`) and return the second element (index 1) of the
resulting list which is the base for the regex):

[source,hcl]
----
Expand Down

0 comments on commit a7ea748

Please sign in to comment.