hi, i m new to zipkin working on a POC. I started zipkin as below
java -DSTORAGE_TYPE=elasticsearch -DES_HOSTS=http://localhost:9200 -DSEARCH_ENABLED=true -jar zipkin-server-2.22.0-exec.jar --logging.level.zipkin2=DEBUG
Then I posted data via rest API (http://localhost:9411/api/v2/spans)
[
{
"id": "352bff9a74ca9ad2",
"traceId": "5af7183fb1d4cf5f",
"parentId": "6b221d5bc9e6496c",
"name": "get /api",
"timestamp": 1556604172355737,
"duration": 1431,
"kind": "SERVER",
"localEndpoint": {
"serviceName": "backend",
"ipv4": "192.168.99.1",
"port": 3306
},
"remoteEndpoint": {
"ipv4": "172.19.0.2",
"port": 58648
},
"tags": {
"http.method": "GET",
"http.path": "/api"
}
}
]
@/all #Zipkin 2.22.1 starts publishing multi-architecture #Docker images, also to GitHub Container Registry.
Using ghcr.io avoids the new Docker Hub rate limits that apply today.
Ex:
docker run -d -p 9411:9411 ghcr.io/openzipkin/zipkin-slim
ello Im having trouble getting spring cloud sleuth work with unirest. Can someone help please?
According to https://cloud.spring.io/spring-cloud-sleuth/reference/html/#synchronous-rest-template need to register Unirest as Bean so that sleuth can intercept request and inject trace info.
Any help on how to get this working?
yow can I attach an extra baggage field to current span/scope? If I add baggage field like this:
Optional.ofNullable(BaggageField.getByName("some-header"))
.ifPresent(field -> field.updateValue("some-value"));
then only downstream spans see the value. How can I make it so that current MDC has that value, and revert when current span/scope closes?
curl -fL -o zipkin.jar https://repo1.maven.org/maven2/io/zipkin/zipkin-server/2.22.2/zipkin-server-2.22.2-exec.jar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file zipkin.jar: Permission denied
0 56.8M 0 1362 0 0 35842 0 0:27:42 --:--:-- 0:27:42 35842
curl: (23) Failed writing body (0 != 1362)