Add comment for Tracing struct.

This commit is contained in:
Daniël Franke
2023-06-29 10:54:01 +02:00
parent 7a229e438b
commit 2fda2db990

View File

@@ -2,6 +2,7 @@ package config
import "github.com/owncloud/ocis/v2/ocis-pkg/tracing"
// Tracing sets the tracing parameters for the frontend service.
type Tracing struct {
Enabled bool `yaml:"enabled" env:"OCIS_TRACING_ENABLED;FRONTEND_TRACING_ENABLED" desc:"Activates tracing."`
Type string `yaml:"type" env:"OCIS_TRACING_TYPE;FRONTEND_TRACING_TYPE" desc:"The type of tracing. Defaults to \"\", which is the same as \"jaeger\". Allowed tracing types are \"jaeger\" and \"\" as of now."`