-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: logs SDK observability - otlploggrpc exporter metrics #7084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
ed73a66
add the otlplogrpc selfObservaility
yumosx 4aa0a5b
merge upstream
yumosx 87f64f3
Add self-observability support for otlplog grpc exporter
yumosx bd9de33
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 56be45b
commit
yumosx 2961556
add x_test.go and update selfObsever
yumosx 97a7d77
- compute post on initialization
yumosx 030120c
fix the data race
yumosx 0c7a55b
updated
yumosx be6242e
add changlog entry and readme.md
yumosx 7c31573
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 2e1da4a
fix spell
yumosx d228db8
add the error tests
yumosx 7a41831
improve error handling
yumosx 6797188
refactor
yumosx caea157
rename filed
yumosx 76baec3
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 35f9291
fix some errors in the document, renamed the grpcExporterCounter and fix
yumosx 4cbf661
remove space
yumosx 71b55e0
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 966afed
use equalFlod
yumosx 49531d2
fix data race of counter
yumosx e0bb5f7
updated
yumosx 57ec779
refactor: pre-allocate
yumosx 95008b1
feat: Use defer to record the duration of Export calls
yumosx 1f31142
resolve conflicts
yumosx 9b63d1a
correctly identify and strip the scheme (e.g., `dns://`, `unix://`).
yumosx f65b074
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 6abf099
refactor(otlploggrpc): Extract all exporter metrics recording code f…
yumosx 2f3ec93
fix lint
yumosx 289c387
fix(metrics): use log count in metric
yumosx 0f99a18
merge
yumosx b5c565b
rm the duplicate definition
yumosx 1171c15
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 9802efc
use loacl attrs and added the test for initselfobservability
yumosx b95c65f
fix conflicts
yumosx c77c785
Fix the issue of repeated exports.
yumosx 86a3074
move the trackExportfunc to outside
yumosx 2ce12c0
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 159c0c1
fix conflicts
yumosx 921f390
refactor(selfobservability): improve server address parsing and track…
yumosx 391cef4
merge
yumosx 33cf67c
Restructure component ID counting
yumosx a9f1fc2
merge upstream
yumosx a027878
fix changelog
yumosx cc2d577
refactor(metrics): add missing error export counter for partial success
yumosx cc0f0d9
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 65776ba
fix the NewExporterMetrics and add test
yumosx 147363c
fmt code
yumosx d9e8dff
refactor: avoid assigning presetAttrs when metric initialization fails
yumosx 4bbfed0
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx 0b0f411
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx a32dd6e
perf: use addSet instead of add for better performance
yumosx 1736a9e
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx b778294
fix the missing tests
yumosx 947bf9c
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx ef06e5d
update go mod
yumosx eb8493a
refactor(self-observability): align code with style guide
yumosx 16eaf3c
fix the changlog check
yumosx 74033bc
refactor: rename the selfoberv to observ and direct use the inst
yumosx 1569d2b
Merge remote-tracking branch 'upstream/main' into yumosx-self-mlog
yumosx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,6 +12,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm | |||||
|
|
||||||
| - Add `WithInstrumentationAttributeSet` option to `go.opentelemetry.io/otel/log`, `go.opentelemetry.io/otel/metric`, and `go.opentelemetry.io/otel/trace` packages. | ||||||
| This provides a concurrent-safe and performant alternative to `WithInstrumentationAttributes` by accepting a pre-constructed `attribute.Set`. (#7287) | ||||||
| - - Add experimental self-observability metrics in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc`. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| Check the `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc/internal/x` package documentation for more information. (#7084) | ||||||
|
|
||||||
| ### Fixed | ||||||
|
|
||||||
|
|
||||||
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.