Commit Graph

4 Commits

Author SHA1 Message Date
Adam Harwayne 5658d93fb0
Add tracecontextb3 HTTPFormats (#1429)
* Add a b3tracecontext.HTTPFormat.

It will utilize either B3 or TraceContext propagation formats coming in (preferring TraceContext) and while sending both.

* hack/update-deps.sh

* PR comments.

* Move to HTTPFormatSequence.

* Remove the struct.

* Allow distinct ingress and egress formats.
2020-06-23 10:35:27 -07:00
mattmoor-sockpuppet ec03725bc7 golang format tools (#647)
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
/assign mattmoor
2019-09-09 07:30:10 -07:00
Adam Harwayne e58c7a08d9 tracing.HTTPSpanMiddlewareIgnoringPaths (#617)
* Add tracing.HTTPSpanMiddlewareIgnoringPaths which will turn off tracing for the specified paths.

This is intended to allow us to ignore automated requests, such as liveness and readiness checks.

* PR comments.

* Rename HTTPSpanMiddlewareIgnoringPaths to HTTPSPanIgnoringPaths.
2019-09-06 15:08:05 -07:00
Akash Verenkar c0f06c32f1 Move serving/pkg/tracing to pkg/tracing, so that eventing can start using it (#407)
* Move serving/pkg/tracing to pkg/tracing - initial version before testing

* Disabling TestInterlevedExporters. Refer to https://github.com/knative/pkg/issues/406
2019-05-08 11:43:37 -07:00