This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add possibility to Jaeger to add process tags (#871)
Jaeger allows to attach tags to it's process, which this patch allows to specify. Currently this is limited to bool, string, int64 and int32, as attributeToTag is used for converting it to *jaeger.Tag. For reference see the official Jaeger client go: https://github.com/jaegertracing/jaeger-client-go/blob/252d853b2a4f3cfc98bb89c3a8bb3d3aa50ed4d6/tracer.go#L64 This change helps to specify tags, such as 'ip', which has a special handling in Jaeger (for example jaeger-query skips clock skew adjustments for processes from the same IP). This change makes Process part of the Jaeger Options. The Options ServiceName is deprecated and used as a fallback. All examples are updated accordingly. Int32Tag is removed (as there is Int64Tag already).
- Loading branch information
1 parent
7e6c39b
commit 71e2e3e
Showing
3 changed files
with
85 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters