Skip to content

fortio/fortiotel

Repository files navigation

Fortiotel

Fortio with experimental OTel (Open Telemetry) = fortiotel

Fortio but with experimental open telemetry tracing.

You can now see individual traces for every load test request:

image

And within each you can get details for each one of every step of the connection:

image

Install

using golang 1.18+

go install fortio.org/fortiotel@latest

You can also download one of the many binary releases

We publish a multi architecture docker image (linux/amd64, linux/arm64) docker run fortio/fortiotel

Testing:

Start a local jaeger with otel receiver:

docker run -p 16686:16686 -p 4317:4317 jaegertracing/all-in-one:latest --collector.otlp.enabled=true --collector.otlp.grpc.host-port=:4317

Run fortio server and then for instance:

OTEL_SERVICE_NAME=fortio go run . load localhost:8080

Get traces: http://localhost:16686/search

Documentation

Initially loosely based on

https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation/net/http/httptrace/otelhttptrace

(which doesn't work without an outer span setup first in the context, see simple/)