Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
6 changes: 5 additions & 1 deletion local-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ docker-compose -f docker-compose-grafana-tempo.yml up

### Tempo

`curl -vX POST http://localhost:9411 -H 'Content-Type: application/json' -d @./grafana/trace-data/example-zipkin-trace.json`

## based on

### Tempo
### Tempo

https://grafana.com/docs/tempo/latest/guides/pushing-spans-with-http/
58 changes: 58 additions & 0 deletions local-test/grafana/trace-data/example-zipkin-trace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[
{
"id": "11123456",
"traceId": "0123456789abcdef",
"timestamp": 1608239395286533,
"duration": 100000,
"name": "span from ABAPTAG1!",
"description": "description",
"tags": {
"http.method": "GET",
"http.path": "/dummy",
"tag1": "tag1",
"tag2": "tag2"
},
"localEndpoint": {
"serviceName": "shell script test"
}
},
{
"id": "111234567",
"traceId": "0123456789abcdef",
"timestamp": 1608239495287533,
"duration": 100000,
"name": "span from ABAPTAG2!",
"kind": "SERVER",
"tags": {
"http.method": "GET",
"http.path": "/dummy",
"tag1": "tag1",
"tag2": "tag2"
},
"localEndpoint": {
"serviceName": "shell script test2"
}
},
{
"id": "352bff9a74ca9ad2",
"traceId": "0123456789abcdef",
"parentId": "111234567",
"name": "get /api",
"timestamp": 1556604172355737,
"duration": 1431,
"kind": "SERVER",
"localEndpoint": {
"serviceName": "backend",
"ipv4": "192.168.99.1",
"port": 3306
},
"remoteEndpoint": {
"ipv4": "172.19.0.2",
"port": 58648
},
"tags": {
"http.method": "GET",
"http.path": "/api"
}
}
]