Files
ocis/services/postprocessing/pkg/config/debug.go
T
jkoberg 8cf928ad91 Implement Postprocessing service
First draft for postprocessing service

Signed-off-by: jkoberg <jkoberg@owncloud.com>

add delete logic to pp service

Signed-off-by: jkoberg <jkoberg@owncloud.com>

small changes to make snoar

Signed-off-by: jkoberg <jkoberg@owncloud.com>

register more events for postprocessing

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-07-20 13:27:31 +02:00

10 lines
630 B
Go

package config
// Debug defines the available debug configuration.
type Debug struct {
Addr string `yaml:"addr" env:"NOTIFICATIONS_DEBUG_ADDR" desc:"Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed."`
Token string `yaml:"token" env:"NOTIFICATIONS_DEBUG_TOKEN" desc:"Token to secure the metrics endpoint"`
Pprof bool `yaml:"pprof" env:"NOTIFICATIONS_DEBUG_PPROF" desc:"Enables pprof, which can be used for profiling"`
Zpages bool `yaml:"zpages" env:"NOTIFICATIONS_DEBUG_ZPAGES" desc:"Enables zpages, which can be used for collecting and viewing in-memory traces."`
}