aboutsummaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 05:28:27 -0800
committerFuwn <[email protected]>2026-01-20 05:28:27 -0800
commit3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181 (patch)
tree9882013ca3283d807442f541dc77f022faaff9e5 /internal/config
parentfeat: Add configurable UI scale option (diff)
downloadkaze-3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181.tar.xz
kaze-3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181.zip
feat: Add database connection monitoring type
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 076a203..5b9d468 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -105,6 +105,8 @@ type MonitorConfig struct {
// GraphQL specific fields
GraphQLQuery string `yaml:"graphql_query,omitempty"` // GraphQL query to execute
GraphQLVariables map[string]string `yaml:"graphql_variables,omitempty"` // GraphQL query variables
+ // Database specific fields
+ DBType string `yaml:"db_type,omitempty"` // Database type: postgres, mysql, redis, memcached, mongodb
}
// IncidentConfig represents an incident or maintenance