From 2fda2db990cecf91e41241a623942cf4a1384d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Franke?= Date: Thu, 29 Jun 2023 10:54:01 +0200 Subject: [PATCH] Add comment for Tracing struct. --- services/frontend/pkg/config/tracing.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/frontend/pkg/config/tracing.go b/services/frontend/pkg/config/tracing.go index a2e885ae2..0872691fd 100644 --- a/services/frontend/pkg/config/tracing.go +++ b/services/frontend/pkg/config/tracing.go @@ -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."`