spacemonkeygo / monkit

A flexible process data collection, metrics, monitoring, instrumentation, and tracing client library for Go
http://godoc.org/gopkg.in/spacemonkeygo/monkit.v2
Apache License 2.0
480 stars 33 forks source link

http: fix format of trace information in the response header #48

Closed elek closed 1 year ago

elek commented 1 year ago

monkit supports http tracing information in HTTP header.

If it's properly configured, it can be enabled with sg. like this:

curl -H "tracestate: sampled=true" ...

Response will include the Trace/SpandID to make it easier to find the trace on the server side (like Jaeger).

But: