We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b2fe08 commit dc4899cCopy full SHA for dc4899c
exporter/replset_config_collector_test.go
@@ -41,9 +41,9 @@ func TestReplsetConfigCollector(t *testing.T) {
41
42
// The last \n at the end of this string is important
43
expected := strings.NewReader(`
44
- # HELP mongodb_cfg_protocolVersion cfg.
45
- # TYPE mongodb_cfg_protocolVersion untyped
46
- mongodb_cfg_protocolVersion 1` + "\n")
+ # HELP mongodb_rs_cfg_protocolVersion cfg.
+ # TYPE mongodb_rs_cfg_protocolVersion untyped
+ mongodb_rs_cfg_protocolVersion 1` + "\n")
47
// Filter metrics for 2 reasons:
48
// 1. The result is huge
49
// 2. We need to check against know values. Don't use metrics that return counters like uptime
0 commit comments