Commit Graph

11 Commits

Author SHA1 Message Date
Wang Qilin
8969e690ea update import path and go mod of opencensus (#1392) 2019-09-24 09:39:23 -04:00
Federico Paolinelli
b5a91e8be8 Metrics (#1174)
* added datadog exporter too

* Added stop function as return parameter

* added datadog exporter too

* Added stop function as return parameter

* Removed unnecessary router parameter

* Forgot to save :-(

* Merge again
2019-04-08 13:31:40 -07:00
Marwan Sulaiman
5870aeee8d Remove Buffalo (#1010)
* Remove Buffalo

* gofmt

* pr fixes

* fix subrouter

* bring back secure middleware + pr fixes

* better place for subrouter

* vendor
2018-12-22 20:24:25 -05:00
Tomasz Tomalak
fb696b2d84 Add prometheus metrics collectors for http handlers (#958)
* Add prometheus metrics exporter for http handlers

* Use prometheus from opencensus

* Add comment to unused func() param

* Add package names to operation description in observ package

* Sort exported/unexported functions
2018-12-20 10:19:22 +01:00
Marwan Sulaiman
337488c202 Add stackdriver to traces (#737) 2018-10-04 18:47:38 -04:00
Bhavesh Praveen
73e45cb413 Tracing Exporter for Datadog #714 (#723)
* Tracing Exporter for Datadog #714

* Tracing Exporter for Datadog #714
2018-10-03 22:48:10 -04:00
Manu Gupta
2c3d72d52e Save http status in the outermost span (#694)
* Save http status in the outermost span

Co-authored-by: Federico Paolinelli <fedepaol@gmail.com>

* Use ochttp to use span status and store http status code as a tag

* Make the conditional oneliner
2018-09-22 00:28:18 -04:00
Marwan Sulaiman
5fd3e12270 Update OpenCensus to v0.17.0 (#686)
* Update OpenCensus to v0.17.0

* fix typo

* Rename go file to match pkg name
2018-09-20 12:50:32 -04:00
Marwan Sulaiman
fe65b9703f Use config for trace url (#681)
* Use config for trace url

* pr updates

* fix typo

* fix typo
2018-09-20 12:00:13 -04:00
Rohan Chakravarthy
0e470d0294 Plumb config - Latest (#627)
* switch proxy to config file

pull in single flight changes

* changes for single-flight

* intermediate stage. All tests passing. pkg still has env refs

* remove all env references

* delete config/env entirely

* fix failing tests

* create the config.toml file as part of dev setup

* create config file only if it doesn't exist

* update Dockerfiles to use config file

* move composing elements to the top

* verbose parameter naming

* newline

* add flag for config file path

* update docs with config file flag

* remove unnecessary nil check

* use filepath.join

* rename redis port to address

* fix path.join

* fix issues after merge

* add vendor dir
2018-09-11 15:04:20 -07:00
Manu Gupta
bb250437da 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
2018-09-11 10:31:20 -07:00