diff options
| author | Fuwn <[email protected]> | 2026-01-20 05:28:27 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-20 05:28:27 -0800 |
| commit | 3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181 (patch) | |
| tree | 9882013ca3283d807442f541dc77f022faaff9e5 /internal/config | |
| parent | feat: Add configurable UI scale option (diff) | |
| download | kaze-3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181.tar.xz kaze-3e45e1d7cd0c5357cb62a0f31b293b4b80eb9181.zip | |
feat: Add database connection monitoring type
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/config.go | 2 |
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 |