Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem with the generated data #98

Open
masontin opened this issue Aug 11, 2020 · 1 comment
Open

There is a problem with the generated data #98

masontin opened this issue Aug 11, 2020 · 1 comment

Comments

@masontin
Copy link

Environment

  • jaegertracing/all-in-one:1.18
  • elasticsearch:7.8.1

Execute by Jar file

$ STORAGE=elasticsearch ES_NODES=http://elasticsearch-ccssoft-oss-paas.ccssh.center:80 /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/bin/java -jar jaeger-spark-dependencies/target/jaeger-spark-dependencies-0.0.1-SNAPSHOT.jar
20/08/11 19:01:00 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
20/08/11 19:01:02 INFO ElasticsearchDependenciesJob: Running Dependencies job for 2020-08-11T00:00Z, reading from jaeger-span-2020-08-11 index, result storing to jaeger-dependencies-2020-08-11
20/08/11 19:01:10 INFO ElasticsearchDependenciesJob: Done, 7 dependency objects created

This is generated data

{
	"data": [{
		"parent": "gateway",
		"child": "smartccp",
		"callCount": 2
	}, {
		"parent": "gateway",
		"child": "",
		"callCount": 8
	}, {
		"parent": "gateway",
		"child": "smartprovision",
		"callCount": 6
	}, {
		"parent": "smartflow",
		"child": "gateway",
		"callCount": 8
	}, {
		"parent": "gateway",
		"child": "gateway",
		"callCount": 16
	}, {
		"parent": "smartflow",
		"child": "smartflow",
		"callCount": 36
	}, {
		"parent": "jaeger-query",
		"child": "jaeger-query",
		"callCount": 122
	}],
	"total": 0,
	"limit": 0,
	"offset": 0,
	"errors": null
}

then I got a console error when I click the [Jaeger UI/System Architecture/DAG] link

Error: Can not create element with invalid string ID ``
    le cytoscape.cjs.js:852
    restore cytoscape.cjs.js:12245
    $o cytoscape.cjs.js:11966
    add cytoscape.cjs.js:12712
    ji cytoscape.cjs.js:17746
    ji cytoscape.cjs.js:17774
    ji cytoscape.cjs.js:17721
    ji cytoscape.cjs.js:17765
    Su cytoscape.cjs.js:30506
    value DAG.js:56
    React 3
    unstable_runWithPriority scheduler.production.min.js:274
    React 5

and my [Force Directed Graph] is also is weird like this

图片

Duplicate Node ?

@pavolloffay
Copy link
Member

@everett980 is this UI issue? The child node's service name is an empty string that is causing an error in the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants