feat 初始化

This commit is contained in:
2026-10-29 10:12:22 +08:00
parent 332d812347
commit 09c1df8a22
81 changed files with 2211 additions and 7821 deletions

View File

@@ -18,7 +18,8 @@ type MetricConfig struct {
Port int32 `yaml:"port"`
} `yaml:"prometheus"`
Jaeger *struct {
Endpoint string `yaml:"endpoint"`
Endpoint string `yaml:"endpoint"`
SamplingRate float64 `yaml:"samplingRate"`
} `yaml:"jaeger"`
}
@@ -76,3 +77,14 @@ type AddressConfig struct {
Address string `yaml:"address"`
Port int32 `yaml:"port"`
}
type CosConfig struct {
SecretID string `yaml:"secretID"`
SecretKey string `yaml:"secretKey"`
BucketURL string `yaml:"bucketURL"`
}
type SensitiveWordConfig struct {
SourceType string `yaml:"sourceType"`
Source string `yaml:"sourceURL"`
}