What's Changed
Big changes in this release!
- You can now use
-H
(headers) to set GRPC meta data by @ktalg in #671 - Significant refactor/changes to support a new github.com/fortio/fortiotel extension of fortio for Open Telemetry (OTEL) tracing support in #661
- adding optional ClientTrace and Context to jrpc and fhttp;
- extend access log api to be usable for tracing
- add optional Transport chaining for otelhttp
- adding optional ClientTrace and Context to jrpc
- also allow ClientTrace in fhttp runner (std client) too
- move the main functions/code into a package so it can be reused with additional hooks in other binaries like experimental OTEL fortio
- added optional hook to mutate options etc in new FortioMain. also show value for catchup/nocatchup. fix serialization error on ClientTrace when not nil
- add a before (Start()) hook to the access logger so it can be used to start otel traces/spans
- pass context around, use ThreadID as a type
- client trace must use ctx with outer span so creation has to be delayed, so we need to make the option a factory method instead of the trace ptr directly
- set uniforn and nocatchup as default in the web UI
- also call the hook for curl case
- make usage changeable for FortioMain
- show container version in full version for library/embed case
- show long version in footer of ui (to identify fortiotel)
- bite the bullet and also allow Transport to be changed through options (for fortiotel)
- fix fortio/fortiotel#11 make sure each request/client/thread has their own headers (pre-existing bug in a way)
- adding ChangeFlagsDefault slightly modified/improved from fortiotel
Also
- Adding flag to disable panic (stack trace) on log.Fatalf in #675
- use -healthservice flag for server start and ping as default in #667
- don't normalize URL too early as this could be a tcp or udp runner in #657
- Generalize and clarify/simplify a bit Occurrence type in #655
- Switch to go 1.19.4 in #668
- Lots of dependencies/actions version bumps (depandabot)
New Contributors
Full Changelog: v1.38.4...v1.39.0