Skip to content

Commit

Permalink
Change metrics tag name from "IsLeader" -> "Operator.IsLeader"
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwarren authored and gamingrobot committed Nov 18, 2024
1 parent 9ff29cc commit 6fb5065
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public async Task<IReadOnlyDictionary<string, string>> GetDefaultTags()
{
var defaultTags = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
{
{ "IsLeader", _leaderElectionState.IsLeader().ToString() },
{ "Operator.IsPublicBuild", _isPublicTelemetryBuildGetter.IsPublicBuild().ToString() },
{ "Operator.Version", _telemetryState.OperatorVersion }
{ "Operator.Version", _telemetryState.OperatorVersion },
{ "Operator.IsLeader", _leaderElectionState.IsLeader().ToString() }
};

if (!string.IsNullOrWhiteSpace(_telemetryOptions.InstallSource))
Expand Down

0 comments on commit 6fb5065

Please sign in to comment.