Skip to content

opinionated-server v0.0.22

Latest
Compare
Choose a tag to compare
@jrockway jrockway released this 04 Dec 21:31
· 8 commits to master since this release

This release cleans up metadata handling.

  1. The trace field in request logs has been replaced with context, which contains more Jaeger state if it's available.
  2. Metadata that looks like an Authorization header is sanitized before display.
  3. Outgoing HTTP requests now contain fewer wrapped interceptors, and produces correct information more often.

We also mark the server as unhealthy as soon as shutdown is requested, to allow your orchestrator to direct traffic away sooner. (We still handle ongoing requests and newly-arriving requests for a configurable interval, of course.)

Changelog

c8faf01 add an option to have super-verbose jaeger logs
158fb6c avoid backwards-incompatible API change for WrapRoundTripper
76cf616 client: implement logging of trace + headers in a much cleaner way (side effect: the key is now called "context" instead of "trace" and is much more verbose, but i think the extra data is a good thing for users of more advanced jaeger features
a218833 client: make the client HTTP request log message contain correct logging infomation; remove our large stack of interceptors and just increment the metrics ourselves
731bb67 mark server unhealthy as soon as shutdown starts
5cfff40 sanitize authorization headers whenever we see them
d00b7b5 upgrade all dependencies
de4f0aa upgrade dependencies
97ea3e8 upgrade jaeger, to fix hdr-histogram problems