Skip to content

Commit 91e5f44

Browse files
Backport Backport Copy VAULT-38888 Add prefix vault to metric summary definitions into main into release/1.20.x+ent into ce/release/1.20.x (#8917)
* VAULT-38888 Add prefix vault to metric summary definitions into main (#8725) (#8895) * VAULT-38888 Add prefix vault to metric summary definitions * VAULT-38888 Add changelog for fix * Edit changelog file name --------- Co-authored-by: roh-ag <[email protected]> * Remove ent. file --------- Co-authored-by: roh-ag <[email protected]>
1 parent bbe6422 commit 91e5f44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vault/ha.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ func init() {
5656
// telemetry reference docs so if updated should probably stay in sync.
5757
metricregistry.RegisterSummaries([]metricregistry.SummaryDefinition{
5858
{
59-
Name: []string{"core", "step_down"},
59+
Name: []string{"vault", "core", "step_down"},
6060
Help: "Time required to step down cluster leadership",
6161
},
6262
{
63-
Name: []string{"core", "leadership_setup_failed"},
63+
Name: []string{"vault", "core", "leadership_setup_failed"},
6464
Help: "Time taken by the most recent leadership setup failure",
6565
},
6666
{
67-
Name: []string{"core", "leadership_lost"},
67+
Name: []string{"vault", "core", "leadership_lost"},
6868
Help: "Total time that a high-availability cluster node last maintained leadership",
6969
},
7070
})

0 commit comments

Comments
 (0)