feat: add opencensus tracing and metrics support

This commit is contained in:
Vikram Rangnekar
2020-05-23 11:43:57 -04:00
parent b64daaf034
commit 01ad9b71ba
19 changed files with 408 additions and 64 deletions

View File

@ -69,8 +69,14 @@ cors_debug: true
# sheep: sheep
# open opencensus tracing and metrics
telemetry:
enable: false
# telemetry:
# debug: true
# metrics:
# exporter: "prometheus"
# tracing:
# exporter: "zipkin"
# endpoint: "http://zipkin:9411/api/v2/spans"
# sample: 0.2
auth:
# Can be 'rails' or 'jwt'

View File

@ -65,7 +65,12 @@ database:
# database ping timeout is used for db health checking
ping_timeout: 5m
# open opencensus tracing and metrics
telemetry:
enable: false
# telemetry:
# debug: false
# metrics:
# exporter: "prometheus"
# tracing:
# exporter: "zipkin"
# endpoint: "http://zipkin:9411/api/v2/spans"
# sample: 0.6