-
Notifications
You must be signed in to change notification settings - Fork 591
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
Add zap log bridge #5191
Closed
Labels
enhancement
New feature or request
Milestone
Comments
Closed
@khushijain21 is working on it. |
Outline of the approach
|
|
This was referenced May 9, 2024
This was referenced May 16, 2024
pellared
pushed a commit
that referenced
this issue
May 17, 2024
Part of #5191 --------- Co-authored-by: Robert Pająk <pellared@hotmail.com>
pellared
pushed a commit
that referenced
this issue
May 17, 2024
Part of #5191 --------- Co-authored-by: Robert Pająk <pellared@hotmail.com>
MrAlias
added a commit
that referenced
this issue
May 18, 2024
pellared
added a commit
that referenced
this issue
May 20, 2024
Part of #5191 --------- Co-authored-by: Robert Pająk <pellared@hotmail.com>
zailic
pushed a commit
to zailic/opentelemetry-go-contrib
that referenced
this issue
May 20, 2024
Part of open-telemetry#5191 --------- Co-authored-by: Robert Pająk <pellared@hotmail.com>
zailic
pushed a commit
to zailic/opentelemetry-go-contrib
that referenced
this issue
May 20, 2024
Part of open-telemetry#5191 --------- Co-authored-by: Robert Pająk <pellared@hotmail.com>
zailic
pushed a commit
to zailic/opentelemetry-go-contrib
that referenced
this issue
May 20, 2024
Part of open-telemetry#5191 and open-telemetry#5586 Pre-work open-telemetry#5279 --------- Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
zailic
pushed a commit
to zailic/opentelemetry-go-contrib
that referenced
this issue
May 20, 2024
Part of open-telemetry#5191 --------- Co-authored-by: Robert Pająk <pellared@hotmail.com>
pellared
added a commit
that referenced
this issue
May 21, 2024
pellared
pushed a commit
that referenced
this issue
May 21, 2024
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 26, 2024
This commit adds a simple example to demonstrate how to use the OpenTelemetry Zap bridge to send logs emitted by Zap to an OTEL endpoint. Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 26, 2024
Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
pellared
added a commit
that referenced
this issue
Jun 26, 2024
Part of #5191 Pre-work #5279 ``` goos: linux goarch: amd64 pkg: go.opentelemetry.io/contrib/bridges/otelzap cpu: 12th Gen Intel(R) Core(TM) i5-1245U BenchmarkCoreWrite/10_fields-12 1000000 1116 ns/op 978 B/op 13 allocs/op BenchmarkCoreWrite/20_fields-12 407290 2615 ns/op 2180 B/op 22 allocs/op BenchmarkCoreWrite/Namespace-12 725268 1671 ns/op 1760 B/op 16 allocs/op BenchmarkCoreWrite/With10_fields-12 4964038 260.2 ns/op 208 B/op 1 allocs/op BenchmarkCoreWrite/With20_fields-12 2004085 628.7 ns/op 640 B/op 1 allocs/op BenchmarkCoreWrite/WithNamespace-12 100000000 16.95 ns/op 0 B/op 0 allocs/op PASS ok go.opentelemetry.io/contrib/bridges/otelzap 8.619s ``` --------- Co-authored-by: Robert Pająk <pellared@hotmail.com>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 26, 2024
Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 26, 2024
Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 26, 2024
This commit adds a simple example to demonstrate how to use the OpenTelemetry Zap bridge to send logs emitted by Zap to an OTEL endpoint. Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 26, 2024
Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 26, 2024
This commit adds a simple example to demonstrate how to use the OpenTelemetry Zap bridge to send logs emitted by Zap to an OTEL endpoint. Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 26, 2024
Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 27, 2024
This commit adds a simple example to demonstrate how to use the OpenTelemetry Zap bridge to send logs emitted by Zap to an OTEL endpoint. Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 27, 2024
Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 27, 2024
This commit adds a simple example to demonstrate how to use the OpenTelemetry Zap bridge to send logs emitted by Zap to an OTEL endpoint. Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
thomasgouveia
added a commit
to thomasgouveia/opentelemetry-go-contrib
that referenced
this issue
Jun 27, 2024
Signed-off-by: thomasgouveia <gouveia.thomas@outlook.fr>
pellared
pushed a commit
that referenced
this issue
Jun 27, 2024
This was referenced Jul 11, 2024
pellared
pushed a commit
that referenced
this issue
Jul 12, 2024
pellared
added a commit
that referenced
this issue
Jul 12, 2024
dmathieu
added a commit
that referenced
this issue
Jul 15, 2024
Completes #5191 Can we also request for a review from zap maintainers? --------- Co-authored-by: Damien Mathieu <42@dmathieu.com>
github-project-automation
bot
moved this from In progress
to Done
in Go: Logs (Post-GA)
Jul 18, 2024
luca-filipponi
pushed a commit
to luca-filipponi/opentelemetry-go-contrib
that referenced
this issue
Aug 9, 2024
Completes open-telemetry#5191 Can we also request for a review from zap maintainers? --------- Co-authored-by: Damien Mathieu <42@dmathieu.com>
luca-filipponi
pushed a commit
to luca-filipponi/opentelemetry-go-contrib
that referenced
this issue
Aug 9, 2024
Completes open-telemetry#5191 Can we also request for a review from zap maintainers? --------- Co-authored-by: Damien Mathieu <42@dmathieu.com>
luca-filipponi
pushed a commit
to luca-filipponi/opentelemetry-go-contrib
that referenced
this issue
Aug 9, 2024
Completes open-telemetry#5191 Can we also request for a review from zap maintainers? --------- Co-authored-by: Damien Mathieu <42@dmathieu.com>
luca-filipponi
pushed a commit
to luca-filipponi/opentelemetry-go-contrib
that referenced
this issue
Aug 9, 2024
Completes open-telemetry#5191 Can we also request for a review from zap maintainers? --------- Co-authored-by: Damien Mathieu <42@dmathieu.com>
MrAlias
added a commit
that referenced
this issue
Aug 23, 2024
This release is the last to support [Go 1.21]. The next release will require at least [Go 1.22]. ### Added - Add the `WithSpanAttributes` and `WithMetricAttributes` methods to set custom attributes to the stats handler in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`. (#5133) - The `go.opentelemetry.io/contrib/bridges/otelzap` module. This module provides an OpenTelemetry logging bridge for `go.uber.org/zap`. (#5191) - Support for the `OTEL_HTTP_CLIENT_COMPATIBILITY_MODE=http/dup` environment variable in `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#5401) - The `go.opentelemetry.io/contrib/bridges/otelzerolog` module. This module provides an OpenTelemetry logging bridge for `github.com/rs/zerolog`. (#5405) - Add `WithGinFilter` filter parameter in `go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin` to allow filtering requests with `*gin.Context`. (#5743) - Support for stdoutlog exporter in `go.opentelemetry.io/contrib/config`. (#5850) - Add macOS ARM64 platform to the compatibility testing suite. (#5868) - Add new runtime metrics to `go.opentelemetry.io/contrib/instrumentation/runtime`, which are still disabled by default. (#5870) - Add the `WithMetricsAttributesFn` option to allow setting dynamic, per-request metric attributes in `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`. (#5876) - The `go.opentelemetry.io/contrib/config` package supports configuring `with_resource_constant_labels` for the prometheus exporter. (#5890) - Support [Go 1.23]. (#6017) ### Removed - The deprecated `go.opentelemetry.io/contrib/processors/baggagecopy` package is removed. (#5853) ### Fixed - Race condition when reading the HTTP body and writing the response in `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`. (#5916) [Go 1.23]: https://go.dev/doc/go1.23 [Go 1.22]: https://go.dev/doc/go1.22 [Go 1.21]: https://go.dev/doc/go1.21
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add
zapcore.Core
log bridge.The text was updated successfully, but these errors were encountered: