Add telemetry Hurl span workflow

This commit is contained in:
Ophir LOJKINE
2026-06-02 12:35:48 +02:00
committed by Ophir LOJKINE
parent 2d572615d3
commit 9cba64c303
2 changed files with 36 additions and 1 deletions
+2
View File
@@ -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
View File
@@ -1 +0,0 @@
../../test.hurl
+34
View File
@@ -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\""