{% extends "base.html" %} {% block title %}Edit {{ conn.name }} - Databases{% endblock %} {% block content %}

Basic Information

Connection Details

Leave blank to keep existing password

SSH Tunnel (Optional)

Cancel

Custom Thresholds

Override the default thresholds for this specific database. Leave unchecked to use the global defaults.

{% for metric_type, metric_info in [ ('connection_percent', {'label': 'Connection Percent', 'desc': '% of max connections', 'comparison': '>'}), ('query_duration_ms', {'label': 'Query Duration', 'desc': 'milliseconds', 'comparison': '>'}), ('cache_hit_ratio', {'label': 'Cache Hit Ratio', 'desc': '% hit rate', 'comparison': '<'}) ] %} {% set custom = custom_thresholds.get(metric_type) %} {% endfor %}
Metric Use Custom Warning Critical Actions
{{ metric_info.label }}
{{ metric_info.desc }}

Danger Zone

Deleting this connection will also remove all associated metrics, audits, and alerts.

{% endblock %}