Add datadog environment as a configuration option

(cherry picked from commit 4306558baa595606cd6befff08c8c815d6fe2bd4)
This commit is contained in:
Aditya Purandare 2020-10-01 14:42:22 -07:00
parent 4061ef375d
commit 57b10f5693
No known key found for this signature in database
GPG key ID: 664EAB008736E55B
4 changed files with 16 additions and 2 deletions

View file

@ -140,8 +140,9 @@ The following table shows a configuration option's name, type, and the default v
|[jaeger-trace-baggage-header-prefix](#jaeger-trace-baggage-header-prefix)|string|uberctx-|
|[datadog-collector-host](#datadog-collector-host)|string|""|
|[datadog-collector-port](#datadog-collector-port)|int|8126|
|[datadog-service-name](#datadog-service-name)|service|"nginx"|
|[datadog-operation-name-override](#datadog-operation-name-override)|service|"nginx.handle"|
|[datadog-service-name](#datadog-service-name)|string|"nginx"|
|[datadog-environment](#datadog-environment)|string|"prod"|
|[datadog-operation-name-override](#datadog-operation-name-override)|string|"nginx.handle"|
|[datadog-priority-sampling](#datadog-priority-sampling)|bool|"true"|
|[datadog-sample-rate](#datadog-sample-rate)|float|1.0|
|[main-snippet](#main-snippet)|string|""|
@ -861,6 +862,10 @@ Specifies the port to use when uploading traces. _**default:**_ 8126
Specifies the service name to use for any traces created. _**default:**_ nginx
## datadog-environment
Specifies the environment this trace belongs to. _**default:**_ prod
## datadog-operation-name-override
Overrides the operation naem to use for any traces crated. _**default:**_ nginx.handle

View file

@ -92,6 +92,9 @@ datadog-collector-port
# specifies the service name to use for any traces created, Default: nginx
datadog-service-name
# specifies the environment this trace belongs to, Default: prod
datadog-environment
# specifies the operation name to use for any traces collected, Default: nginx.handle
datadog-operation-name-override