anuraaga on update-extensions
anuraaga on master
Update extensions (#164) * Upd… (compare)
jeqo on update-extensions
point to module main page. (compare)
@adriancole
if a span was unfinished, there would be no duration for it
[
[
{
"traceId": "0823811ca25bdad3",
"parentId": "0823811ca25bdad3",
"id": "6439eb5a54939542",
"kind": "CLIENT",
"name": "get",
"timestamp": 1579883159955171,
"duration": 809817,
"localEndpoint": {
"serviceName": "myservice"
},
"tags": {
"http.path": "/user",
"http.status_code": "200"
}
},
{
"traceId": "0823811ca25bdad3",
"parentId": "0823811ca25bdad3",
"id": "653ef3386c7c8139",
"kind": "CLIENT",
"name": "get",
"timestamp": 1579883159955740,
"duration": 817655,
"localEndpoint": {
"serviceName": "myservice"
},
"tags": {
"http.path": "/u/settings",
"http.status_code": "200"
}
},
{
"traceId": "0823811ca25bdad3",
"parentId": "0823811ca25bdad3",
"id": "58cdf6b54f3e50ae",
"kind": "CLIENT",
"name": "get",
"timestamp": 1579883159965163,
"duration": 819692,
"localEndpoint": {
"serviceName": "myservice"
},
"tags": {
"http.path": "/u/accounts",
"http.status_code": "200"
}
},
{
"traceId": "0823811ca25bdad3",
"parentId": "0823811ca25bdad3",
"id": "427b48ddce3ccacd",
"kind": "CLIENT",
"name": "get",
"timestamp": 1579883159960778,
"duration": 900222,
"localEndpoint": {
"serviceName": "myservice"
},
"tags": {
"http.path": "/u/feature-flags",
"http.status_code": "200"
}
},
{
"traceId": "0823811ca25bdad3",
"parentId": "0823811ca25bdad3",
"id": "147230185f20c741",
"kind": "CLIENT",
"name": "get",
"timestamp": 1579883159953872,
"duration": 1239779,
"localEndpoint": {
"serviceName": "myservice"
},
"tags": {
"http.path": "/workers/mine",
"http.status_code": "200"
}
},
{
"traceId": "0823811ca25bdad3",
"parentId": "0823811ca25bdad3",
"id": "07d4dbd088e6633c",
"kind": "CLIENT",
"name": "get",
"timestamp": 1579883160880901,
"duration": 552661,
"localEndpoint": {
"serviceName": "myservice"
},
"tags": {
"http.path": "/workers/01D/feature",
"http.status_code": "200"
}
},
{
"traceId": "0823811ca25bdad3",
"parentId": "0823811ca25bdad3",
"id": "b148e6b471cd2dfa",
"kind": "CLIENT",
"name": "get",
"timestamp": 1579883160880282,
"duration": 560505,
"localEndpoint": {
"serviceName": "myservice"
},
"tags": {
"http.path": "/current-features",
"http.status_code": "200"
}
},
{
"traceId": "0823811ca25bdad3",
"parentId": "0823811ca25bdad3",
"id": "bfc4a0a54601da77",
"kind": "CLIENT",
"name": "get",
"timestamp": 1579883160886515,
"duration": 562673,
"localEndpoint": {
"serviceName": "myservice"
},
"tags": {
"http.path": "/workers/01D/feature",
"http.status_code": "200"
}
},
{
"traceId": "0823811ca25bdad3",
"
@AndersClausen which version of springboot you are using for your custom zipkin server? is that working for you?
No it wasn't working for us, so we went ahead and used the 'ready-made' Zipkin server, which we are about to test very soon. Just setting up the CI/CD pipeline for it, so we can manage our Cassandra/Elasticsearch settings with it
I have a question around getting a zipkin docker container to register with eureka.
I've been trying to adapt https://github.com/openzipkin/zipkin/issues/1870#issuecomment-470068636 to a mvn bulid and Dockerfile that extends openzipkin/zipkin.
I have the mvn build working from that comment, but getting the zipkin inside the docker container to register with eureka isn't working, it isn't even trying.
This is my dockerfile:
FROM openzipkin/zipkin
ENV VERSION 0.0.1-SNAPSHOT
ENV ZIPKIN_SERVICE_NAME=zipkin
ENV EUREKA_CLIENT_JAR "eureka-zipkin-client-${VERSION}-module.jar"
ENV EUREKA_CLIENT_JAR_CONTAINER_PATH "${EUREKA_CLIENT_JAR}"
ENV EUREKA_CLIENT_PROPERTIES_FILE "eureka-client.properties"
ENV EUREKA_CLIENT_PROPERTIES_CONTAINER_PATH "${EUREKA_CLIENT_PROPERTIES_FILE}"
ENV MODULE_OPTS="-Dloader.path=${EUREKA_CLIENT_JAR_CONTAINER_PATH},${EUREKA_CLIENT_JAR_CONTAINER_PATH}!/lib -Dspring.application.name=${ZIPKIN_SERVICE_NAME}"
COPY "target/${EUREKA_CLIENT_JAR}" "${EUREKA_CLIENT_JAR_CONTAINER_PATH}"
COPY "${EUREKA_CLIENT_PROPERTIES_FILE}" "${EUREKA_CLIENT_PROPERTIES_CONTAINER_PATH}"
I added the repackaged client jar to the root of the docker container and I can confirm that it is there along with the eureka-client.properties file.
The zipkin server starts up fine, but I see no logs indicating it is trying to register with eureka.
Hey all, just REALLY looking so hard for info on this:
I have ingress-nginx ingress on GKE. I configured the ingress with a Zipkin tracer that sends to Stackdriver. with enable-open-tracing
. Then i also installed the google stackdriver tracing library in my c# api to send spans to stackdriver. But it looks like in the api it is very difficult to figure out how to CONTINUE the span FROM the trace started in the Ingress. So in Stackdriver I always start a new trace when the controller in my api is hit. as opposed to continuing from the ingress.