Instrumenting observability with opencensus (#604)

* Initial chanages for observability

* Fix some panics to start testing

* Export tracing properly

* First example of child spans using opencensus

* Add spans to download protocol

* Add url to traces

* Remove opentracing

* Remove gopkg.* files

* Start deprecating opentracing

* Resolve stupid build errors

* Use observability package

* Fix test errors

* Convert buffalo spans to observercontext

* change package name

* defer flush to the end of the app execution

* Change op names to the correct package

* Rename pkg/observability to pkg/observ

* Show traces for the package

* Keep tracing in the earlier way

* Add info from request headers

* Remove whitespace

* Move exporter url to env var

* Add to env file for documentation

* Remove opentracing stuff

* Use stdlib

* Shorten service name

* Add a service name to olympus as well

* Add test to test if there is a recursion or not

* Add Ops Suite

* Move around code

* Make sure the service is not instantiated if the exporter is not found
This commit is contained in:
Manu Gupta
2018-09-11 13:31:20 -04:00
committed by Aaron Schlesinger
parent a076b0c4d8
commit bb250437da
123 changed files with 11759 additions and 2130 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ services:
redis:
image: redis:alpine
command: ["redis-server", "--appendonly", "yes"]
ports:
ports:
- "6379:6379"
mongo:
image: mongo:3.7.9-jessie