mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-25 06:06:35 +00:00
Add experimental notice to dfsr collector
Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
@@ -4,12 +4,14 @@ package collector
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
"github.com/prometheus/common/log"
|
||||||
"gopkg.in/alecthomas/kingpin.v2"
|
"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()
|
var dfsrEnabledCollectors = kingpin.Flag("collectors.dfsr.sources-enabled", "Comma-seperated list of DFSR Perflib sources to use.").Default("connection,folder,volume").String()
|
||||||
|
|
||||||
func init() {
|
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
|
// Perflib sources are dynamic, depending on the enabled child collectors
|
||||||
var perflibDependencies []string
|
var perflibDependencies []string
|
||||||
for _, source := range expandEnabledChildCollectors(*dfsrEnabledCollectors) {
|
for _, source := range expandEnabledChildCollectors(*dfsrEnabledCollectors) {
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
log.Info("smtp collector is in an experimental state! Metrics for this collector have not been tested.")
|
||||||
registerCollector("smtp", NewSMTPCollector, "SMTP Server")
|
registerCollector("smtp", NewSMTPCollector, "SMTP Server")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
The dfsr collector exposes metrics for [DFSR](https://docs.microsoft.com/en-us/windows-server/storage/dfs-replication/dfsr-overview).
|
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`
|
Metric name prefix | `dfsr`
|
||||||
|
|||||||
Reference in New Issue
Block a user