Skip to content

There is a problem with the generated data #98

Open
@masontin

Description

@masontin

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions