Add opentracing-operation-name and opentracing-location-operation-name config settings
With these settings custom span names can be used for the server span and location span Signed-off-by: Jorrit Salverda <jsalverda@travix.com>
This commit is contained in:
parent
e76418cd99
commit
f77eaaee50
5 changed files with 141 additions and 0 deletions
|
|
@ -460,6 +460,12 @@ type Configuration struct {
|
|||
// By default this is disabled
|
||||
EnableOpentracing bool `json:"enable-opentracing"`
|
||||
|
||||
// OpentracingOperationName specifies a custom name for the server span
|
||||
OpentracingOperationName string `json:"opentracing-operation-name"`
|
||||
|
||||
// OpentracingOperationName specifies a custom name for the location span
|
||||
OpentracingLocationOperationName string `json:"opentracing-location-operation-name"`
|
||||
|
||||
// ZipkinCollectorHost specifies the host to use when uploading traces
|
||||
ZipkinCollectorHost string `json:"zipkin-collector-host"`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue