feat(alerting): working on alert notification and image rendering
This commit is contained in:
@@ -148,6 +148,11 @@ var (
|
||||
|
||||
// Grafana.NET URL
|
||||
GrafanaNetUrl string
|
||||
|
||||
// S3 temp image store
|
||||
S3TempImageStoreBucketUrl string
|
||||
S3TempImageStoreAccessKey string
|
||||
S3TempImageStoreSecretKey string
|
||||
)
|
||||
|
||||
type CommandLineArgs struct {
|
||||
@@ -534,6 +539,10 @@ func NewConfigContext(args *CommandLineArgs) error {
|
||||
|
||||
GrafanaNetUrl = Cfg.Section("grafana.net").Key("url").MustString("https://grafana.net")
|
||||
|
||||
s3temp := Cfg.Section("s3-temp-image-store")
|
||||
S3TempImageStoreBucketUrl = s3temp.Key("bucket_url").String()
|
||||
S3TempImageStoreAccessKey = s3temp.Key("access_key").String()
|
||||
S3TempImageStoreSecretKey = s3temp.Key("secret_key").String()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user