https://github.com/fortio/fortiotel
Fortio with OTel open telemetry
https://github.com/fortio/fortiotel
Last synced: 4 months ago
JSON representation
Fortio with OTel open telemetry
- Host: GitHub
- URL: https://github.com/fortio/fortiotel
- Owner: fortio
- License: apache-2.0
- Created: 2022-11-27T23:58:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-21T23:00:53.000Z (5 months ago)
- Last Synced: 2025-05-22T00:18:59.472Z (5 months ago)
- Language: Go
- Size: 7.57 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Fortiotel
Fortio with experimental OTel (Open Telemetry) = fortiotel
[Fortio](https://github.com/fortio/fortio) but with experimental open telemetry tracing.
You can now see individual traces for every load test request:

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

# Install
using golang 1.18+
```shell
go install fortio.org/fortiotel@latest
```You can also download one of the many binary [releases](https://github.com/fortio/fortiotel/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/](simple/))