Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

482 B
Raw Blame
package version

import "github.com/SigNoz/signoz/pkg/factory"

type BannerConfig struct {
	Enabled bool `mapstructure:"enabled"`
}

type Config struct {
	Banner BannerConfig `mapstructure:"banner"`
}

func NewConfigFactory() factory.ConfigFactory {
	return factory.NewConfigFactory(factory.MustNewName("version"), newConfig)

}

func newConfig() factory.Config {
	return Config{
		Banner: BannerConfig{
			Enabled: true,
		},
	}
}

func (c Config) Validate() error {
	return nil
}