Comments (1)
Thank you for your question and proporsal.
it seems like rustracing_jaeger is a client which requires a jaeger-agent to be running on the same machine
Yes, your understanding is correct. For now, this crate doesn't provide a way to send spans to the HTTP endpoint of a remote jaeger-collector.
Unfortunately, I don't have enough time to implement it, but it's welcome to add the feature if you could.
how hard would this be to add?
I'm unfamiliar with Jaeger's HTTP API, so I cannot answer this question confidently.
Just an FYI, I recently received a PR sile/jaeger_passage#3 of which motivation is the same with this issue (note that jaeger_passage
is an Erlang jaeger client library, not Rust).
As far as looking the part of the PR diff (see below), it seems not so difficult to implement this feature:
% https://github.com/sile/jaeger_passage/pull/3/files#diff-8cbacd3c0416a7088fa351521f45d743R168-R172
Name = maps:get('location.application', passage_span:get_tags(Span), DefaultName),
Message = jaeger_passage_thrift:make_batch(Name, Tags, [Span]),
Encoded = thrift_protocol:encode_struct(Message, binary),
Headers = [?CONTENT_TYPE],
HttpClient(URI, post, Headers, Encoded, Options),
Anyway, if you could create a draft PR, I would review it and help you if needed.
from rustracing_jaeger.
Related Issues (18)
- Example incorrect HOT 3
- Allow connecting to non-local agents HOT 2
- Enable injectors and extractors bound to tracer HOT 1
- Constructing TraceId from String HOT 2
- What is the expected way of using this library across threads? HOT 3
- Automatically set ip tag HOT 4
- Example panics HOT 1
- Bind to localhost instead of INADDR_ANY for reporter UDP socket creation HOT 7
- Help wanted: Span never received from actix-web thread HOT 3
- Logs & Tags not coming through to Jaeger UI. HOT 1
- Make it possible to retrieve `flags` HOT 1
- Remove the requirement to use `crossbeam` HOT 2
- reporter: support for async futures-based report() HOT 6
- Running into an error when using an alternative SocketAddr. HOT 11
- Allow generating span from known TraceId HOT 4
- Impl OpenTracing default carrier traits for SpanContextState. HOT 1
- Help wanted: Use span and Sub-span HOT 3
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 rustracing_jaeger.