Skip to content

Releases: twirp-ecosystem/twirp-opentracing

v0.4.2

15 Sep 22:10
856ac0d
Compare
Choose a tag to compare
tracing: add WithContextTags() to define a set of tags based on ctx (…

v0.4.0: tracing: add WithTags() to define default tags (#11)

15 Sep 21:08
7d5402b
Compare
Choose a tag to compare
This PR adds the new `WithTags` TraceOption setting to allow users to
define custom tags that will be added by default to each span.

v0.3.0: Add options for client and server tracing to skip client errs (#9)

06 May 22:28
a536f57
Compare
Choose a tag to compare
* Add options for client and server tracing to skip client errs

This change introduces two configuration options, one for the
server hooks, and one for the client, which configure whether
client-class errors (4xx) are recorded as "error: true" in the
span.

Often times, client errors are expected behavior from the
perspective of the service, and having them report as errors to
trace collectors can obfuscate real service issues.

This is implemented using a functional options paradigm with
var args, which maintains backwards compatibility. Current users
will see no change to behavior or method signatures when updating.

* Pull client options into a dedicated struct within the TraceHTTPClient

* Move server side trace opts into dedicated struct

In response to PR feedback, moves the server side configuraiton
into a dedicated struct, and introduces an adapter hook type to
configure the behavior of the hooks correctly based on the the
configuration options.

* Consolidate options structs

v0.2.0: Merge pull request #8 from vroldanbet/patch-1

23 Mar 22:35
938bdf6
Compare
Choose a tag to compare

Hello World

03 Jun 21:02
1885677
Compare
Choose a tag to compare

First release of twirp-opentracing.