Skip to content

Commit

Permalink
fix labels
Browse files Browse the repository at this point in the history
  • Loading branch information
alextheimer committed May 23, 2022
1 parent 185a784 commit 15b4760
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ case class TenantIngestionMetering(settings: FilodbSettings,
val data = RowData.fromRowReader(rr)
val prefix = data.group.toString.split(PREFIX_DELIM)
val tags = Map("_tenant_ws_" -> prefix(0),
"tenant_ns" -> prefix(1),
"_tenant_ns_" -> prefix(1),
"_audience_" -> "tenants",
"dataset" -> dsRef.dataset,
"cluster_type" -> CLUSTER_TYPE)
Kamon.gauge(METRIC_ACTIVE).withTags(TagSet.from(tags)).update(data.counts.active.toDouble)
Expand Down

0 comments on commit 15b4760

Please sign in to comment.