Commit Graph

11 Commits

Author SHA1 Message Date
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
Belinda Vennam a9136e28d4 update with hostport (#614) 2019-08-28 19:12:43 -07:00
Victor Agababov 73863941e2 Fix the logger usage (#604) 2019-08-26 20:59:39 -07:00
Matt Moore 2a33038155 Expand the tracing package to support stackdriver. (#582)
* Expand the tracing package to support stackdriver.

This makes an assortment of changes to support the use of non-Zipkin tracing backends for publishing traces from system components based on config-tracing.

The changes to the config are modeled after config-observability, which already has support for prometheus and stackdriver backends for metrics.

* Incorporate review feedback.

* Incorporate feedback from @mdemirhan downstream
2019-08-20 18:52:32 -07:00
Matt Moore 9cc6a64541 Shuffle knative.dev/pkg/tracing code a bit (#581)
This moves around the code within the tracing package in preparation for adding support for other exporter options.

As the fields changed are all private, this should be a no-op for consumers of this package.

The goal of this change is to make it so that no files mention zipkin other than zipkin.go (or tests, which I left alone).
2019-08-19 18:50:02 -07:00
Victor Agababov 74c5d67ea0 Fix the issues pointed out by staticcheck (#541)
* Fix the issues pointed out by staticcheck

* review fix
2019-07-23 13:13:36 -07:00
Victor Agababov d5915547d9 Update opencensus to a newer version (#526) 2019-07-12 16:18:48 -07:00
mattmoor-sockpuppet 1864f499dc golang format tools (#497)
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-06-27 07:37:08 -07:00
Matt Moore 222dd25986 Migrate pkg to use the knative.dev/pkg import path (#489)
* Manual changes.

* scripted changes.
2019-06-26 13:02:06 -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