remove default tracing config from indiviual packages

This commit is contained in:
Willy Kloucek
2022-01-12 10:56:02 +01:00
parent c915fa7571
commit a3df3f9119
11 changed files with 1 additions and 66 deletions

View File

@@ -11,12 +11,6 @@ func DefaultConfig() *Config {
Debug: Debug{
Addr: "127.0.0.1:9129",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
Service: Service{
Name: "glauth",
},

View File

@@ -16,12 +16,6 @@ func DefaultConfig() *Config {
Service: Service{
Name: "graph-explorer",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
GraphExplorer: GraphExplorer{
ClientID: "ocis-explorer.js",
Issuer: "https://localhost:9200",

View File

@@ -14,12 +14,6 @@ func DefaultConfig() *Config {
Service: Service{
Name: "graph",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
Reva: Reva{
Address: "127.0.0.1:9142",
},

View File

@@ -22,12 +22,6 @@ func DefaultConfig() *Config {
Service: Service{
Name: "idp",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
Asset: Asset{},
IDP: Settings{
Iss: "https://localhost:9200",

View File

@@ -22,12 +22,7 @@ func DefaultConfig() *Config {
Service: Service{
Name: "ocs",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
TokenManager: TokenManager{
JWTSecret: "Pive-Fumkiu4",
},

View File

@@ -23,12 +23,6 @@ func DefaultConfig() *Config {
Service: Service{
Name: "proxy",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
OIDC: OIDC{
Issuer: "https://localhost:9200",
Insecure: true,

View File

@@ -33,12 +33,6 @@ func DefaultConfig() *Config {
Addr: "127.0.0.1:9191",
Namespace: "com.owncloud.api",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
DataPath: path.Join(defaults.BaseDataPath(), "settings"),
Asset: Asset{
Path: "",

View File

@@ -21,12 +21,6 @@ func DefaultConfig() *Config {
Service: Service{
Name: "store",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
Datapath: path.Join(defaults.BaseDataPath(), "store"),
}
}

View File

@@ -21,12 +21,6 @@ func DefaultConfig() *Config {
Service: Service{
Name: "thumbnails",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
Thumbnail: Thumbnail{
Resolutions: []string{"16x16", "32x32", "64x64", "128x128", "1920x1080", "3840x2160", "7680x4320"},
FileSystemStorage: FileSystemStorage{

View File

@@ -17,12 +17,6 @@ func DefaultConfig() *Config {
Service: Service{
Name: "web",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
Asset: Asset{
Path: "",
},

View File

@@ -22,12 +22,6 @@ func DefaultConfig() *Config {
Service: Service{
Name: "webdav",
},
Tracing: Tracing{
Enabled: false,
Type: "jaeger",
Endpoint: "",
Collector: "",
},
OcisPublicURL: "https://127.0.0.1:9200",
WebdavNamespace: "/users/{{.Id.OpaqueId}}",
RevaGateway: "127.0.0.1:9142",