Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit b9bbfac

Browse files
authored
Merge pull request #1366 from grafana/orgid-span-tag
add orgid as jaeger tag, to ease searching by orgid
2 parents 9f624c2 + ba5af78 commit b9bbfac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/graphite.go

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ func (s *Server) renderMetrics(ctx *middleware.Context, request models.GraphiteR
153153
span.SetTag("format", request.Format)
154154
span.SetTag("noproxy", request.NoProxy)
155155
span.SetTag("process", request.Process)
156+
span.SetTag("orgid", ctx.OrgId)
156157

157158
now := time.Now()
158159
defaultFrom := uint32(now.Add(-time.Duration(24) * time.Hour).Unix())

0 commit comments

Comments
 (0)