Skip to content

Commit

Permalink
Do not consider "dynamic relabeling" as experimental any more (#150)
Browse files Browse the repository at this point in the history
* Remove test for experimental feature

* Adjust README
  • Loading branch information
martin-helmich authored Oct 1, 2020
1 parent 23afa93 commit b141746
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -447,14 +447,6 @@ namespace "test" {

Have a look at http://nginx.org/en/docs/syslog.html[the respective section of the NGINX documentation] on how to set up NGINX to log into syslog.

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 (on the root of the configuration file document, like
`enable_experimental: true` in YAML or `enable_experimental = true` in HCL).
### Dynamic re-labeling

Re-labeling lets you add arbitrary fields from the parsed log line as labels to your metrics.
Expand Down
4 changes: 0 additions & 4 deletions config/struct_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ type SyslogSource struct {
// StabilityWarnings tests if the NamespaceConfig uses any configuration settings
// that are not yet declared "stable"
func (c *NamespaceConfig) StabilityWarnings() error {
if len(c.RelabelConfigs) > 0 {
return errors.New("you are using the 'relabel' configuration parameter")
}

return nil
}

Expand Down

0 comments on commit b141746

Please sign in to comment.