I have a problem about dependency and tree in zipkin UI #1439

Closed
lijunyong opened this Issue Dec 16, 2016 · 7 comments

Projects

None yet

2 participants

@lijunyong
lijunyong commented Dec 16, 2016 edited

I have get rest and mq span,then report the span to zipkin,but it's not show dependency in zipkin UI and show tree no serviceName

image

[
	{
		"traceId": "633871a0ff544636",
		"id": "633871a0ff544636",
		"name": "get",
		"timestamp": 1481860404941000,
		"duration": 143838,
		"annotations": [
			{
				"timestamp": 1481860404941000,
				"value": "sr",
				"endpoint": {
					"serviceName": "service2",
					"ipv4": "172.16.15.122"
				}
			}, {
				"timestamp": 1481860405084838,
				"value": "ss",
				"endpoint": {
					"serviceName": "service2",
					"ipv4": "172.16.15.122"
				}
			}
		],
		"binaryAnnotations": [
			{
				"key": "http.status_code",
				"value": "200",
				"endpoint": {
					"serviceName": "service2",
					"ipv4": "172.16.15.122"
				}
			}, {
				"key": "http.url",
				"value": "/foo",
				"endpoint": {
					"serviceName": "service2",
					"ipv4": "172.16.15.122"
				}
			}
		]
	}, {
		"traceId": "633871a0ff544636",
		"id": "b204e6cdd4bc2b3a",
		"name": "get",
		"parentId": "633871a0ff544636",
		"timestamp": 1481860405045000,
		"duration": 123456,
		"annotations": [
			{
				"timestamp": 1481860405045000,
				"value": "ms",
				"endpoint": {
					"serviceName": "mq",
					"ipv4": "0.0.0.127"
				}
			}
		],
		"binaryAnnotations": [
			{
				"key": "mq",
				"value": "send message",
				"endpoint": {
					"serviceName": "mq",
					"ipv4": "0.0.0.127"
				}
			}
		]
	}
]
@lijunyong lijunyong closed this Dec 16, 2016
@lijunyong lijunyong reopened this Dec 16, 2016
@lijunyong lijunyong changed the title from I have a problem about dependency in zipkin UI to I have a problem about dependency and tree in zipkin UI Dec 16, 2016
@adriancole
Contributor
@lijunyong

@adriancole Thank you,I will change the annotations,but why is black the serviceName in zipkin UI

@adriancole
Contributor
@lijunyong
lijunyong commented Dec 16, 2016 edited

Thank you,what's the time to support 'ms','ma','mr' in zipkin UI

@adriancole
Contributor
@lijunyong

@adriancole thank you very much, very nice

@adriancole
Contributor

if you use the "cs" "sr" practice of one-way spans, the UI should work properly, now. Here's an example https://github.com/openzipkin/brave/tree/master/brave/src/test/java/brave/features/async

I don't expect us to continue with "ms" "mr"

@adriancole adriancole closed this Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment