Add experimental notice to dfsr collector

Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
Ben Reedy 2020-12-20 12:09:10 +10:00
parent 2837bdfb50
commit 9d03debcb6
No known key found for this signature in database
GPG Key ID: 235C15B6086C9D7E
3 changed files with 5 additions and 0 deletions

View File

@ -4,12 +4,14 @@ package collector
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/log"
"gopkg.in/alecthomas/kingpin.v2"
)
var dfsrEnabledCollectors = kingpin.Flag("collectors.dfsr.sources-enabled", "Comma-seperated list of DFSR Perflib sources to use.").Default("connection,folder,volume").String()
func init() {
log.Info("dfsr collector is in an experimental state! Metrics for this collector have not been tested.")
// Perflib sources are dynamic, depending on the enabled child collectors
var perflibDependencies []string
for _, source := range expandEnabledChildCollectors(*dfsrEnabledCollectors) {

View File

@ -11,6 +11,7 @@ import (
)
func init() {
log.Info("smtp collector is in an experimental state! Metrics for this collector have not been tested.")
registerCollector("smtp", NewSMTPCollector, "SMTP Server")
}

View File

@ -2,6 +2,8 @@
The dfsr collector exposes metrics for [DFSR](https://docs.microsoft.com/en-us/windows-server/storage/dfs-replication/dfsr-overview).
**Collector is currently in an experimental state and testing of metrics has not been undertaken.** Feedback on this collector is welcome.
|||
-|-
Metric name prefix | `dfsr`