-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds otel hookins for clues. This adds the following: 1 - an optional initializer for users who want to run otel support. ```go clues.Initialize(ctx) ```` 2 - Span creation. ```go ctx := clues.AddSpan(ctx, "spanName", "with_foo", "bar") defer clues.CloseSpan(ctx) ```` 3 - Automatic otel span attribute addition when Adding to clues. 4 - Automatic otel span logging when using Clog.
- Loading branch information
1 parent
b39b934
commit d786361
Showing
6 changed files
with
467 additions
and
71 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
Oops, something went wrong.