feat: add open opencensus telemetry support

This commit is contained in:
Vikram Rangnekar
2020-05-22 16:49:54 -04:00
parent 448e6bb72a
commit c7837bf758
9 changed files with 91 additions and 31 deletions

View File

@ -68,6 +68,10 @@ cors_debug: true
# person: people
# sheep: sheep
# open opencensus tracing and metrics
telemetry:
enable: false
auth:
# Can be 'rails' or 'jwt'
type: rails

View File

@ -12,7 +12,7 @@ log_level: "info"
# enable or disable http compression (uses gzip)
http_compress: true
# When production mode is 'true' only queries
# When production mode is 'true' only queries
# from the allow list are permitted.
# When it's 'false' all queries are saved to the
# the allow list in ./config/allow.list
@ -32,7 +32,7 @@ enable_tracing: true
# Path pointing to where the migrations can be found
# migrations_path: ./migrations
# Secret key for general encryption operations like
# Secret key for general encryption operations like
# encrypting the cursor data
# secret_key: supercalifajalistics
@ -57,11 +57,15 @@ database:
password: postgres
#pool_size: 10
#max_retries: 0
#log_level: "debug"
#log_level: "debug"
# Set session variable "user.id" to the user id
# Enable this if you need the user id in triggers, etc
set_user_id: false
# database ping timeout is used for db health checking
ping_timeout: 5m
ping_timeout: 5m
# open opencensus tracing and metrics
telemetry:
enable: false