Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
BIN
plugins/inputs/zipkin/testdata/cli_microservice.dat
vendored
Normal file
BIN
plugins/inputs/zipkin/testdata/cli_microservice.dat
vendored
Normal file
Binary file not shown.
BIN
plugins/inputs/zipkin/testdata/distributed_trace_sample.dat
vendored
Normal file
BIN
plugins/inputs/zipkin/testdata/distributed_trace_sample.dat
vendored
Normal file
Binary file not shown.
188
plugins/inputs/zipkin/testdata/json/brave-tracer-example.json
vendored
Normal file
188
plugins/inputs/zipkin/testdata/json/brave-tracer-example.json
vendored
Normal file
|
@ -0,0 +1,188 @@
|
|||
[
|
||||
{
|
||||
"traceId": "7312f822d43d0fd8",
|
||||
"id": "b26412d1ac16767d",
|
||||
"name": "http:/hi2",
|
||||
"parentId": "7312f822d43d0fd8",
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1503031538791000,
|
||||
"value": "sr",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1503031538794000,
|
||||
"value": "ss",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
}
|
||||
],
|
||||
"binaryAnnotations": [
|
||||
{
|
||||
"key": "mvc.controller.class",
|
||||
"value": "Demo2Application",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "mvc.controller.method",
|
||||
"value": "hi2",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "spring.instance_id",
|
||||
"value": "192.168.0.8:test:8010",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"traceId": "7312f822d43d0fd8",
|
||||
"id": "b26412d1ac16767d",
|
||||
"name": "http:/hi2",
|
||||
"parentId": "7312f822d43d0fd8",
|
||||
"timestamp": 1503031538786000,
|
||||
"duration": 10000,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1503031538786000,
|
||||
"value": "cs",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1503031538796000,
|
||||
"value": "cr",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
}
|
||||
],
|
||||
"binaryAnnotations": [
|
||||
{
|
||||
"key": "http.host",
|
||||
"value": "localhost",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.method",
|
||||
"value": "GET",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.path",
|
||||
"value": "/hi2",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.url",
|
||||
"value": "http://localhost:8010/hi2",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "spring.instance_id",
|
||||
"value": "192.168.0.8:test:8010",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"traceId": "7312f822d43d0fd8",
|
||||
"id": "7312f822d43d0fd8",
|
||||
"name": "http:/hi",
|
||||
"timestamp": 1503031538778000,
|
||||
"duration": 23393,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1503031538778000,
|
||||
"value": "sr",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1503031538801000,
|
||||
"value": "ss",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
}
|
||||
],
|
||||
"binaryAnnotations": [
|
||||
{
|
||||
"key": "mvc.controller.class",
|
||||
"value": "Demo2Application",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "mvc.controller.method",
|
||||
"value": "hi",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "spring.instance_id",
|
||||
"value": "192.168.0.8:test:8010",
|
||||
"endpoint": {
|
||||
"serviceName": "test",
|
||||
"ipv4": "192.168.0.8",
|
||||
"port": 8010
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
407
plugins/inputs/zipkin/testdata/json/cli_microservice.json
vendored
Normal file
407
plugins/inputs/zipkin/testdata/json/cli_microservice.json
vendored
Normal file
|
@ -0,0 +1,407 @@
|
|||
[
|
||||
{
|
||||
"trace_id": 243463817635710260,
|
||||
"name": "Concat",
|
||||
"id": 3383422996321511664,
|
||||
"parent_id": 4574092882326506380,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1499817952283903,
|
||||
"value": "cs",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1499817952286792,
|
||||
"value": "cr",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
}
|
||||
],
|
||||
"binary_annotations": [
|
||||
{
|
||||
"key": "http.path",
|
||||
"value": "L2NvbmNhdC8=",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.url",
|
||||
"value": "aHR0cDovL2xvY2FsaG9zdDo2MTAwMS9jb25jYXQv",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "peer.hostname",
|
||||
"value": "bG9jYWxob3N0",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "span.kind",
|
||||
"value": "Y2xpZW50",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.method",
|
||||
"value": "R0VU",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.host",
|
||||
"value": "bG9jYWxob3N0OjYxMDAx",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
}
|
||||
],
|
||||
"timestamp": 1499817952283903,
|
||||
"duration": 2888,
|
||||
"trace_id_high": 8269862291023777619
|
||||
},
|
||||
{
|
||||
"trace_id": 243463817635710260,
|
||||
"name": "Sum",
|
||||
"id": 6036416808826525494,
|
||||
"parent_id": 4574092882326506380,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1499817952286828,
|
||||
"value": "cs",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1499817952333847,
|
||||
"value": "cr",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
}
|
||||
],
|
||||
"binary_annotations": [
|
||||
{
|
||||
"key": "span.kind",
|
||||
"value": "Y2xpZW50",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.method",
|
||||
"value": "R0VU",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.host",
|
||||
"value": "bG9jYWxob3N0OjYxMDAx",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.path",
|
||||
"value": "L3N1bS8=",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.url",
|
||||
"value": "aHR0cDovL2xvY2FsaG9zdDo2MTAwMS9zdW0v",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "peer.hostname",
|
||||
"value": "bG9jYWxob3N0",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
}
|
||||
],
|
||||
"timestamp": 1499817952286828,
|
||||
"duration": 47019,
|
||||
"trace_id_high": 8269862291023777619
|
||||
},
|
||||
{
|
||||
"trace_id": 243463817635710260,
|
||||
"name": "Run",
|
||||
"id": 4574092882326506380,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1499817952283897,
|
||||
"value": "Call Concat",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1499817952286824,
|
||||
"value": "Call Sum",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
}
|
||||
],
|
||||
"binary_annotations": [
|
||||
{
|
||||
"key": "lc",
|
||||
"value": "Y2xp",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 0,
|
||||
"service_name": "cli"
|
||||
}
|
||||
}
|
||||
],
|
||||
"timestamp": 1499817952283881,
|
||||
"duration": 50014,
|
||||
"trace_id_high": 8269862291023777619
|
||||
}
|
||||
]
|
||||
|
||||
[
|
||||
{
|
||||
"trace_id": 243463817635710260,
|
||||
"name": "myComplexQuery",
|
||||
"id": 4254041670140233539,
|
||||
"parent_id": 8633460035494236932,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1499817952307418,
|
||||
"value": "cs",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1499817952331909,
|
||||
"value": "cr",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
}
|
||||
],
|
||||
"binary_annotations": [
|
||||
{
|
||||
"key": "sa",
|
||||
"value": "UG9zdGdyZVNRTA==",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": 5432,
|
||||
"service_name": "PostgreSQL",
|
||||
"ipv6": "AAAAAAAAAAAAAAAAAAAAAQ=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "query",
|
||||
"value": "U0VMRUNUIHJlY2lwZXMgRlJPTSBjb29rYm9vayBXSEVSRSB0b3BpYyA9ICd3b3JsZCBkb21pbmF0aW9uJw==",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "span.kind",
|
||||
"value": "cmVzb3VyY2U=",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "peer.service",
|
||||
"value": "UG9zdGdyZVNRTA==",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "peer.hostname",
|
||||
"value": "bG9jYWxob3N0",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "peer.port",
|
||||
"value": "AAAVOA==",
|
||||
"annotation_type": "I32",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
}
|
||||
],
|
||||
"timestamp": 1499817952307418,
|
||||
"duration": 24491,
|
||||
"trace_id_high": 8269862291023777619
|
||||
},
|
||||
{
|
||||
"trace_id": 243463817635710260,
|
||||
"name": "Sum",
|
||||
"id": 8633460035494236932,
|
||||
"parent_id": 6036416808826525494,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1499817952287147,
|
||||
"value": "sr",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1499817952333348,
|
||||
"value": "ss",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1499817952296675,
|
||||
"value": "MyEventAnnotation",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
}
|
||||
],
|
||||
"binary_annotations": [
|
||||
{
|
||||
"key": "span.kind",
|
||||
"value": "c2VydmVy",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "serverSide",
|
||||
"value": "aGVyZQ==",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "service",
|
||||
"value": "c3ZjMg==",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "key1",
|
||||
"value": "dmFsdWUx",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "key2",
|
||||
"value": "AAAAAgAAAAA=",
|
||||
"annotation_type": "I32",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": -4534,
|
||||
"service_name": "svc2"
|
||||
}
|
||||
}
|
||||
],
|
||||
"trace_id_high": 8269862291023777619
|
||||
}
|
||||
]
|
30
plugins/inputs/zipkin/testdata/json/distributed_trace_sample.json
vendored
Normal file
30
plugins/inputs/zipkin/testdata/json/distributed_trace_sample.json
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
[{
|
||||
"trace_id": 6802735349851856000,
|
||||
"name": "main.dud",
|
||||
"id": 6802735349851856000,
|
||||
"parent_id": null,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1433330263415871,
|
||||
"value": "cs",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 9410,
|
||||
"service_name": "go-zipkin-testclient"
|
||||
},
|
||||
"duration": null
|
||||
},
|
||||
{
|
||||
"timestamp": 1433330263415872,
|
||||
"value": "cr",
|
||||
"host": {
|
||||
"ipv4": 0,
|
||||
"port": 9410,
|
||||
"service_name": "go-zipkin-testclient"
|
||||
},
|
||||
"duration": null
|
||||
}
|
||||
],
|
||||
"binary_annotations": [],
|
||||
"debug": true
|
||||
}]
|
92
plugins/inputs/zipkin/testdata/json/threespans.json
vendored
Normal file
92
plugins/inputs/zipkin/testdata/json/threespans.json
vendored
Normal file
|
@ -0,0 +1,92 @@
|
|||
[
|
||||
{
|
||||
"trace_id": 2505404965370368069,
|
||||
"name": "Child",
|
||||
"id": 8090652509916334619,
|
||||
"parent_id": 22964302721410078,
|
||||
"annotations": [],
|
||||
"binary_annotations": [
|
||||
{
|
||||
"key": "lc",
|
||||
"value": "dHJpdmlhbA==",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": 0,
|
||||
"service_name": "trivial"
|
||||
}
|
||||
}
|
||||
],
|
||||
"timestamp": 1498688360851331,
|
||||
"duration": 53106
|
||||
},
|
||||
{
|
||||
"trace_id": 2505404965370368069,
|
||||
"name": "Child",
|
||||
"id": 103618986556047333,
|
||||
"parent_id": 22964302721410078,
|
||||
"annotations": [],
|
||||
"binary_annotations": [
|
||||
{
|
||||
"key": "lc",
|
||||
"value": "dHJpdmlhbA==",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": 0,
|
||||
"service_name": "trivial"
|
||||
}
|
||||
}
|
||||
],
|
||||
"timestamp": 1498688360904552,
|
||||
"duration": 50410
|
||||
},
|
||||
{
|
||||
"trace_id": 2505404965370368069,
|
||||
"name": "Parent",
|
||||
"id": 22964302721410078,
|
||||
"annotations": [
|
||||
{
|
||||
"timestamp": 1498688360851325,
|
||||
"value": "Starting child #0",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": 0,
|
||||
"service_name": "trivial"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1498688360904545,
|
||||
"value": "Starting child #1",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": 0,
|
||||
"service_name": "trivial"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": 1498688360954992,
|
||||
"value": "A Log",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": 0,
|
||||
"service_name": "trivial"
|
||||
}
|
||||
}
|
||||
],
|
||||
"binary_annotations": [
|
||||
{
|
||||
"key": "lc",
|
||||
"value": "dHJpdmlhbA==",
|
||||
"annotation_type": "STRING",
|
||||
"host": {
|
||||
"ipv4": 2130706433,
|
||||
"port": 0,
|
||||
"service_name": "trivial"
|
||||
}
|
||||
}
|
||||
],
|
||||
"timestamp": 1498688360851318,
|
||||
"duration": 103680
|
||||
}
|
||||
]
|
BIN
plugins/inputs/zipkin/testdata/threespans.dat
vendored
Normal file
BIN
plugins/inputs/zipkin/testdata/threespans.dat
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue