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.

638 B
Raw Blame
package globaltypes

type IdentNConfig struct {
	Tokenizer     TokenizerConfig     `json:"tokenizer"`
	APIKey        APIKeyConfig        `json:"apikey"`
	Impersonation ImpersonationConfig `json:"impersonation"`
}

type TokenizerConfig struct {
	Enabled bool `json:"enabled"`
}

type APIKeyConfig struct {
	Enabled bool `json:"enabled"`
}

type ImpersonationConfig struct {
	Enabled bool `json:"enabled"`
}

func NewIdentNConfig(tokenizer TokenizerConfig, apiKey APIKeyConfig, impersonation ImpersonationConfig) IdentNConfig {
	return IdentNConfig{
		Tokenizer:     tokenizer,
		APIKey:        apiKey,
		Impersonation: impersonation,
	}
}