Add telemetry Hurl span workflow
This commit is contained in:
committed by
Ophir LOJKINE
parent
2d572615d3
commit
9cba64c303
@@ -124,6 +124,8 @@ services:
|
||||
|
||||
tempo:
|
||||
image: grafana/tempo:3.0.0
|
||||
ports:
|
||||
- "3200:3200"
|
||||
volumes:
|
||||
- ./tempo.yaml:/etc/tempo/config.yaml:ro
|
||||
command: ["-config.file=/etc/tempo/config.yaml"]
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../../test.hurl
|
||||
@@ -0,0 +1,34 @@
|
||||
GET http://localhost:8080/
|
||||
traceparent: 00-00000000000000000000000000000001-0000000000000001-01
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
body contains "Todo List"
|
||||
body contains "Add a todo"
|
||||
body not contains "An error occurred"
|
||||
|
||||
POST http://localhost:8080/add_todo.sql
|
||||
traceparent: 00-00000000000000000000000000000002-0000000000000002-01
|
||||
[FormParams]
|
||||
title: Hurl telemetry todo
|
||||
HTTP 302
|
||||
[Asserts]
|
||||
header "Location" == "/"
|
||||
|
||||
GET http://localhost:8080/
|
||||
traceparent: 00-00000000000000000000000000000003-0000000000000003-01
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
body contains "Hurl telemetry todo"
|
||||
body not contains "An error occurred"
|
||||
|
||||
GET http://localhost:3200/api/search?q=%7Bresource.service.name%3D%22sqlpage%22%7D&limit=20
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
body contains "sqlpage"
|
||||
body contains "\"traceID\":\"3\""
|
||||
|
||||
GET http://localhost:3200/api/search?q=%7Bresource.service.name%3D%22nginx%22%7D&limit=20
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
body contains "nginx"
|
||||
body contains "\"traceID\":\"3\""
|
||||
Reference in New Issue
Block a user