Skip to content

Commit

Permalink
fix(metrics/prometheus): dots are not allowed in labels in prometheus (
Browse files Browse the repository at this point in the history
…#2437)

Putting account.name into account as account is used for account name elsewhere.
account.id will become account_id now.
  • Loading branch information
gardleopard authored and lwander committed Apr 9, 2018
1 parent 31a8da2 commit c9ed280
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class AmazonCertificateCachingAgent implements CachingAgent, AccountAware {
this.objectMapper = objectMapper
this.registry = registry
this.securityTokenExceptionGauge = registry.createId("aws.certificateCache.errors",
"account.name", account.name,
"account.id", account.accountId,
"account", account.name,
"account_id", account.accountId,
"region", region)
}

Expand Down

0 comments on commit c9ed280

Please sign in to comment.