Permalink
Browse files

Update documentation for tracing

  • Loading branch information...
geobeau authored and adericbourg committed Oct 18, 2018
1 parent 4061936 commit 36325f10f593e4ee0dbc1dbd2a6729e789dafe10
Showing with 17 additions and 0 deletions.
  1. +17 −0 CONFIGURATION.md
View
@@ -71,3 +71,20 @@ from logging import config
config.dictConfig(LOGGING)
```
## Tracing
Biggraphite supports tracing of its functions from Graphite-web. It's implemented
using the OpenCensus library. OpenTracing was not chosen because it didn't support
Zipkin for python.
See for configuration:
* https://github.com/census-instrumentation/opencensus-python
You need to configure integrations to have traces on /render in local_settings.py
```python
from opencensus.trace import config_integration
config_integration.trace_integrations(["threading"])
```
You can also add the `httplib` integration to trace calls to Elasticsearch

0 comments on commit 36325f1

Please sign in to comment.