Comments (9)
@grogdotcom
I've tried to set attributes for a span created by auto-instrumentation in this PR: https://github.com/zio/zio-telemetry/pull/715/files.
It works well. Of course, in the example, the span is provided by Netty instrumentation.
Could you please elaborate more on which libraries you use for Kafka and grpc?
from zio-telemetry.
@grouzen I am using zio-grpc v0.6.0-rc5 and zio-kafka v2.3.1. Auto insrumentation is working fine for both. I am not seeing any custom attributes attached to the autoinstrumented spans when I receive the request on the server/consumer side. I am using opentelemetry version 1.18.0.
I just tried upgrading my opentelemetry version to 1.26.0 but am seeing the same behavior
The telemetry version in the jaeger trace is telemetry.sdk.version: 1.19.0
from zio-telemetry.
The telemetry version in the jaeger trace is telemetry.sdk.version: 1.19.0
That looks suspicious to me. It should be 1.26.0
for auto-instrumented spans if you use this version in -javaagent
option.
from zio-telemetry.
@Gregory-Berkman-Imprivata Hey! Have you managed to solve it?
from zio-telemetry.
@grouzen Unfortunately no, I decided to just manually instrument these traces
from zio-telemetry.
Okay! I hope we will solve it somehow in the future, so I'll leave the issue open for now.
from zio-telemetry.
@Gregory-Berkman-Imprivata can you elaborate a bit on this? I have the same issue: scalapb/zio-grpc#544
from zio-telemetry.
A working example here scalapb/zio-grpc#544 and @grouzen we can close it. maybe even add an example in the future.
from zio-telemetry.
Thank you! Great stuff!
Here is the follow-up issue to add gRPC examples: #751
from zio-telemetry.
Related Issues (20)
- OpenTelemetry: rename some of the dangerous methods by adding the unsafe suffix
- OpenTelemetry: integration with zio-http, parent span ends immidiately for the response stream HOT 2
- OpenTelemetry span for ZStream HOT 4
- OpenTelemetry: find a way to avoid specifying type parameters when calling Tracing aspects HOT 5
- OpenTelemetry: Baggage gets lost when integrating with zio-http
- Any reporters other than Zipkin reporter? HOT 4
- OpenTelemetry: integration with popular http libraries such as zio-http and http4s
- OpenTelemetry: add logging support
- Configure MIMA to fail the build on backward incompatible code changes.
- OpenTelemetry: add gprc example (autoinstrumentation and manual)
- OpenTelemetry: update examples and docs to show all-in-one example via the Honeycomb observability platform HOT 1
- OpenTelemetry: map ZIO runtime data (log annotations, metrics) to OTEL metrics counterparts
- Use zio-theseus as a reference to integrate zio-opentelemetry with a doobie, kafka, grpc, etc. HOT 6
- OpenTelemetry: implement a mapping from ZIO Metrics Summary to OTEL Histogram HOT 8
- OpenTelemetry: propagate ZIO log annotations to OTEL span attributes
- Opentelemetry-example doesn't collect data to Jaeger and Seq HOT 2
- Rewrite opentelemetry example modules using idiomatic Scala 3
- Migrate scala-cli examples to the latest version of Scala 3
- OTEL histogram contains two infs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zio-telemetry.