We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dedaaf5 commit 4196948Copy full SHA for 4196948
common/log/tag/tags.go
@@ -567,6 +567,11 @@ func RequestCaller(callerName string) Tag {
567
return newStringTag("request-caller", callerName)
568
}
569
570
+// ActorType returns type of the actor (service or user) making this request
571
+func ActorType(actorType string) Tag {
572
+ return newStringTag("actor-type", actorType)
573
+}
574
+
575
// ActorID returns tag for the actor ID
576
func ActorID(actorID string) Tag {
577
return newStringTag("actor-id", actorID)
0 commit comments