Comments (6)
On the other hand, there is probably no better value to be had. We know the service name (which is all you really need in Cloud Foundry), and the IP/port information is really not adding anything. If we could make it a String
instead of an Address
we could maybe do something more informative (the space id or something), but Zipkin mandates the IP address, so there's not much we can do if we want to have the option of using Zipkin.
from spring-cloud-sleuth.
you could put 0 for the ip and port when there is no valid value.
I think serviceName will eventually migrate to a tag, like below. Ex
sleuth could choose to use tags instead of endpoints now, and just put
0 if there's no ipv4 or port.
https://github.com/opentracing/opentracing-python/blob/master/opentracing/ext/tags.py
PEER_SERVICE records the service name of the peer
PEER_SERVICE = 'peer.service'
PEER_HOSTNAME records the host name of the peer
PEER_HOSTNAME = 'peer.hostname'
PEER_HOST_IPV4 records IP v4 host address of the peer
PEER_HOST_IPV4 = 'peer.ipv4'
PEER_HOST_IPV6 records IP v6 host address of the peer
PEER_HOST_IPV6 = 'peer.ipv6'
PEER_PORT records port number of the peer
PEER_PORT = 'peer.port'
from spring-cloud-sleuth.
from spring-cloud-sleuth.
Update on this issue, starting with Zipkin 1.4 endpoints can omit IPv4 (by setting Endpoint.ipv4 to 0), and optionally log Endpoint.ipv6 as the raw 16byte address.
from spring-cloud-sleuth.
This will be solved to some extent by #369 . We'll be setting a tag with client / server instanceId property
from spring-cloud-sleuth.
Fixed by #369
from spring-cloud-sleuth.
Related Issues (20)
- I want to propagate TraceId to all places where parallelStream() and CustomForkJoinPool is used. HOT 3
- CVE-2023-33201 - bcprov-jdk15on HOT 5
- Missing traceId when using spring-cloud-starter-stream-rabbit consumer listeners. HOT 5
- Tracing support for Reactive Kafka (Using KafkaSender and KafkaReceiver) HOT 2
- Spring boot 2.7.10/Sleuth/Micrometer/Prometheus/Brave/Zipkin HOT 1
- java.lang.IllegalStateException: Missing: traceId with AWS propagation type HOT 5
- Jetty BadMessageException request headers too large HOT 3
- LazyTraceThreadPoolTaskExecutor.getQueueSize() does not call a delegate and always returns 0 HOT 3
- ReactorSleuth.tracedMono does not work with parallel processing HOT 1
- TraceReactorAutoConfiguration.HooksRefresher improper queue decoration
- Need documentation for collecting data using baggage. HOT 1
- Sleuth giving different traceIds for each RxJava's Single execution HOT 3
- TraceIds feature for a Request tarvelling across, doesn't seem working. TraceIds are different across a travelling request HOT 3
- After @Async is included in rpc, traceId loss and confusion occur under a large number of requests. HOT 4
- Autoconfiguration does not work in spring-boot 3.x HOT 1
- docs: Getting Started Image Not found
- DataSource Proxy + Spring Could Sleuth not working HOT 4
- spring.zipkin.discoveryClientEnabled ignored when the traced app is webflux HOT 1
- sleuth-3.1.9+datasource-proxy-1.10+flowable-6.8.0 Unable to start the springboot project properly HOT 1
- Why doesn't Sleuth enable Scope when create Span for Kafka Streams by default? HOT 1
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 spring-cloud-sleuth.