Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Jeff d'Ambly
@jdambly-ns
does anyone have a working example of pymongo_opentracing?
Punleu CHOMNAN
@punleu.sis_gitlab
Can we inject/extract manually with relying on gRPC or HTTP?
Olivier Albertini
@OlivierAlbertini
Hello I'm developing a Typescript library for opentracing. This will be mostly like opentracing-auto and elastic-apm. Why I create a new library ? This is because opentracing-auto seems to be dead and I tried to reach the owner several times and I get no response so far. elastic-apm library is specific for Elasticsearch. Finally, there is no typescript library in opentracing-contrib. I searched in npm and all projects seems to be dead. I would like your input in order to know if the community would like to see this kind of library ? Thanks in advance!
Tyler Benson
@tylerbenson

question for the various implementations… is the following legal/allowed?
tracer.scopeManager().activate(null, false)

with the main question being around having a null span in a scope.

Austin Parker
@austinlparker
i think it’d be undefined behavior
Although i guess when you activate a scope in a new thread you’re always activating a null span...
Philipp
@bocharovf

Hello,
Our services widely use SOAP over HTTP to communicate.
This is when SOAP envelope (xml) transfered as HTTP request body.
I wonder how should I inject context headers (uber-trace-id and others) in that case?
E.g.:

  1. as a SOAP header in SOAP envelope
  2. as a HTTP header
  3. both

My point is:
HTTP is just a transfer. Frameworks like WCF (.NET Framework) transparently exract SOAP envelope and process SOAP message
So header should be in SOAP message headers.

Willi Schönborn
@whiskeysierra
@bocharovf We use HTTP headers for SOAP, since the support is better and manipulating them doesn't require to rewrite the body. HTTP is just the transfer, that is correct, but for OpenTracing that is the most interesting piece.
maxb3k
@maxb3k
Hi! Why baggage is not extracting from headers when jaeger-debug-id is also presented in headers?
Yuri Shkuro
@yurishkuro
Probably a bug
Where is the new url? 3KS
thanks
xichaocn
@xichaocn
@zhaoyuguang
Punleu CHOMNAN
@punleu.sis_gitlab
Hi everyone, how do we use opentracerin React-Native?
opentrace in *
Anil Krishna Kodali
@akodali18
Hello everyone, I am looking for more information on marking spans as "debug" to override any sampling decisions.
couldn't find anything in opentracing docs
Josh Horwitz
@jdhorwitz
I have a strange question, if you don't know when a span is ending, can you still get tracing without ever calling span.finish()?
Yuri Shkuro
@yurishkuro
@akodali18 it's vendor specific. Which tracers are you using?
@jdhorwitz if you don't know when a span is ending, you may need to rethink how you model the operations of the code in terms of spans. I often see it come up in workflow systems, where a workflow kicks of, gets stored in db, and then other work happens async. The top workflow is not a span, because spans correspond to service/CPU actually doing something.
Josh Horwitz
@jdhorwitz
Ok, thank you @yurishkuro It is a CQRS/Event Sourced microservice application with Kafka and I'm trying to figure out how to implement tracing into it. Your book was excellent too!
Yuri Shkuro
@yurishkuro
thanks. Yes, with messaging apps try to model "smaller" operations as span, e.g. "send a message" is an operation/span, not something of higher order.
Anil Krishna Kodali
@akodali18
@yurishkuro I see, so "debug" has nothing to do with "sampling.priority" parameter mentioned in https://github.com/opentracing/specification/blob/master/semantic_conventions.md#span-tags-table
or did you mean that the "debug" implementation is vendor specific in addition to "sampling.priority"
Because Jaeger seems to support https://github.com/jaegertracing/jaeger-client-java/blob/master/README.md#via-http-headers
Yuri Shkuro
@yurishkuro
both sampling and "debug" are vendor-specific. In Jaeger, if you set "sampling.priority" tag > 0, then the trace becomes sampled from that point on, AND the debug flag is raised. Debug flag normally does not have any additional effect, but internally at Uber we deploy Jaeger collectors with additional downsampling (to have a better handle on traffic), and debug traces bypass the downsampling (the only difference, really).
Anil Krishna Kodali
@akodali18
ok i see, Thanks @yurishkuro
Hasan Fehmi Danacı
@hasanfd_twitter
I like to add our tracer to the repository opentracing/opentracing.io, and it seems opening a new branch requires permission. What should I do?
Tyler Benson
@tylerbenson
Usually you would fork a repo you don’t have access to and create the PR from the fork.
Hasan Fehmi Danacı
@hasanfd_twitter
ok will do, thanks @tylerbenson
akshalsharma
@akshalsharma
Can someone help me with the issue#57 yurishkuro/opentracing-tutorial#57
Anil Krishna Kodali
@akodali18
Is there a way to blacklist certain spans based on span names (but let through other non-blacklisted spans of the trace) from getting to Jaeger/ or in general like opentracing suggested way to do it
Jose Montoya
@jam01
Sort of a random question... the OT tag naming convention is a mix of dots and underscores. Is there a name for this convention, or any docs about it that anyone can point to?
William Montgomery
@wimo7083
The semantic conventions section: https://opentracing.io/specification/conventions/ discusses standard tags and log fields.
I don't see anything with underscore, maybe you could clarify where you are seeing that.
William Montgomery
@wimo7083

I really like many of the key aspects with opentracing, I'm looking to take the principles of how you separate spans and traceID with the goal that if the MVP shows value I can write a prolog implementation.

Within the opentracing api, is it specified what a start or stop of a span should be?

Should it be a single service, if the service is fairly large would it make sense to find logical boundaries? In cases where a child span is in the same logical thread, seems like the only way to segment is through creation of child threads and storage in the thread context, or by modifing the current span.

Should each child span be aware of the spanID of the parent, or should only the parent span have awareness of the children?

Shahnewaz Rifat
@shahnewazrifat

guys, is it possible to find a span to use it as a context by name ?
I'm trying to build a binary that will report logs from a k8s deployed app to a remote jaeger server and don't want to lose context.

First call -> creates parent span with a unique name (tracer.start_span(operation_name=jaeger_parent_context) )
second call -> Finds the parent span by name and uses it as context for the child span it creates.

Is that possible?

Jose Montoya
@jam01
@wimo7083 see http.status_code and message_bus.destination here https://github.com/opentracing/specification/blob/master/semantic_conventions.md#span-tags-table
jorkzijlstra
@jorkzijlstra
Have a question about the opentracing-contrib/java-kafka-client. Would this be the place to ask it?
Carlos Alberto Cortez
@carlosalberto
@jorkzijlstra yes, ask away
jorkzijlstra
@jorkzijlstra

@carlosalberto Currently not at my computer anymore with examples so Ill have to try, otherwise tomorrow Ill try again but some code.

I have been using the javaj-kafka-client in my scala stream application. I have create a tracer with the traceresolver, registered it with the global registery and added the producer/consumer interceptor classes in the stream config.

I actually see traces working and correctly connected to one and another by using code like

inputstream
  .aggregate(......)(intermidiate-topic-changlog)
  .mapValues()
  .to(outputtopic)

The spans generated are
1) from inputtopic -> to outputtopic
2) to intermediate-topic-changelog

So there is a separated trace that is triggered by an aggregate step with a Materialized topic (...-changelog).

So the thing is the separated span on the intermediate topic which I would expect to actually be in between the other one

Any ideas what causes it / how to fix it?
Thiago Arrais
@thiagoarrais
hi, folks. anyone aware of any ongoing intiatives to componentize nats integration?
I'm particularly interested in a Java/Spring component
Ted Young
@tedsuo
@thiagoarrais do you mean the nats protocol? I saw this get kicked off, not sure if it is what you are looking for: https://github.com/nats-io/spring-nats
Thiago Arrais
@thiagoarrais
Yup. That's the one. I'm looking for opentracing integration with nats via spring. Much in the vein of https://github.com/nats-io/not.java/
Kelly Thomas Kline
@kellytk
If it's possible for mutually beneficial cooperation to exist between OpenTelemetry/https://github.com/opentracing/opentracing-rust and https://github.com/tokio-rs/tracing what would that look like? (also asking in the OpenTelemetry channel)
Michael Lopez
@michaelclopez
simple question, can the opentracing library instrument browser based apps (react/vue/plain js), and if so, is there a doc out there that will explain the setup process?