Skip to content

Commit

Permalink
[probes.tcp] Use port in dst label
Browse files Browse the repository at this point in the history
manugarg committed Mar 10, 2023
1 parent 003503e commit e709f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion probes/common/sched/sched.go
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ func (s *Scheduler) startForTarget(ctx context.Context, target endpoint.Endpoint
if (runCnt % s.statsExportFrequency) == 0 {
em := result.Metrics(ts, s.Opts).
AddLabel("probe", s.ProbeName).
AddLabel("dst", target.Name)
AddLabel("dst", target.Dst())

em.LatencyUnit = s.Opts.LatencyUnit

0 comments on commit e709f98

Please sign in to comment.