Skip to content

Commit

Permalink
Fix services tracked metric
Browse files Browse the repository at this point in the history
  • Loading branch information
shantanualsi committed Nov 21, 2024
1 parent 4f37e52 commit 4babda5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pattern/aggregation/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (p *Push) buildPayload(ctx context.Context) ([]byte, error) {

p.metrics.streamsPerPush.WithLabelValues(p.tenantID).Observe(float64(len(streams)))
p.metrics.entriesPerPush.WithLabelValues(p.tenantID).Observe(float64(len(entries)))
p.metrics.servicesTracked.WithLabelValues(p.tenantID).Set(float64(len(entriesByStream)))
p.metrics.servicesTracked.WithLabelValues(p.tenantID).Set(float64(serviceLimit))

sp.LogKV(
"event", "build aggregated metrics payload",
Expand Down

0 comments on commit 4babda5

Please sign in to comment.