fortiotel

command module
v1.63.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

README

Fortiotel

Fortio woth 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/)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL