spring-cloud-sleuth-zipkin
, check the docs for a full example: https://docs.spring.io/spring-cloud-sleuth/docs/current/reference/htmlsingle/#how-to-set-up-sleuth-with-brave-zipkin-http
- kind: Deployment
apiVersion: apps/v1
metadata:
name: zipkin
namespace: zipkin
labels:
app: zipkin
spec:
replicas: 1
selector:
matchLabels:
app: zipkin
template:
metadata:
labels:
app: zipkin
spec:
containers:
- name: zipkin
image: 'openzipkin/zipkin:latest'
ports:
- hostPort: 9411
containerPort: 9411
protocol: TCP
env:
- name: ES_HOSTS
valueFrom:
configMapKeyRef:
name: zipkin-config
key: es_hosts
- name: STORAGE_TYPE
valueFrom:
configMapKeyRef:
name: zipkin-config
key: storage_type
- kind: Service
apiVersion: v1
metadata:
name: zipkin-service
namespace: zipkin
spec:
ports:
- protocol: TCP
port: 80
targetPort: 9411
nodePort: 32733
selector:
app: zipkin
type: NodePort
- kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: zipkin-ingress-config
namespace: zipkin
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /$2
spec:
rules:
- host: examplehostname
http:
paths:
- path: /zipkin(/|$)(.*)
pathType: ImplementationSpecific
backend:
serviceName: zipkin-service
servicePort: 80
{
"status" : "DOWN",
"zipkin" : {
"status" : "DOWN",
"details" : {
"ElasticsearchStorage{initialEndpoints=https://xyz.es.amazonaws.com, index=zipkin}" : {
"status" : "DOWN",
"details" : {
"error" : "java.lang.IllegalArgumentException: Elasticsearch versions 5-7.x are supported, was: 1.0"
}
}
}
}
}
Hello people !
We're going to use zipkin, and we're wondering which backend to choose between cassandra and elasticsearch. I couldn't find much information detailed for zipkin's usage, are there some guidelines somewhere to help us with this choice ? pros and cons, performances or whatever
cheers !
Hello, apologies if it's a stupid question, but we've instrumented a chain of services such as A -> POST -> B -> POST -> C
. My tracing json contains details for this chained call, but on the Zipking UI I can only see the calls from A -> B
.
Would be correct to expect that call B -> C
should be shown on the same zipkin screen, as a child node of service A?
/zipkin/traces/{traceId}
sudo docker run -d -p 9411:9411 \
-e ES_HOSTS=http://172.30.5.99:3002 \
-e ES_INDEX=tracing \
-e STORAGE_TYPE=elasticsearch \
--name=zipkin_test openzipkin/zipkin
The container does not start, it stays in "starting" mode in portainer, then it stops. are the env-var ES_HOSTS
and ES_INDEX
supported by default in the image?