mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
tracing(app): set a tag for userid on awsCollector.Report
This commit is contained in:
@@ -370,6 +370,7 @@ func (c *awsCollector) Report(ctx context.Context, timestamp time.Time) (report.
|
||||
if err != nil {
|
||||
return report.MakeReport(), err
|
||||
}
|
||||
span.SetTag("userid", userid)
|
||||
end := timestamp
|
||||
start := end.Add(-c.cfg.Window)
|
||||
reportKeys, err := c.getReportKeys(ctx, userid, start, end)
|
||||
|
||||
Reference in New Issue
Block a user