mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
chore: correct grafana-monitoring discovery service name
This commit is contained in:
parent
c5d7e0035c
commit
755ea41db2
3 changed files with 17 additions and 17 deletions
|
|
@ -227,7 +227,7 @@ resource "aws_ecs_task_definition" "webui_scaled" {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "OTEL_EXPORTER_OTLP_ENDPOINT"
|
name = "OTEL_EXPORTER_OTLP_ENDPOINT"
|
||||||
value = "http://otel-monitor.ggai:4317"
|
value = "http://grafana-monitoring.ggai:4317"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "OTEL_EXPORTER_OTLP_INSECURE"
|
name = "OTEL_EXPORTER_OTLP_INSECURE"
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ output "service_discovery_migration" {
|
||||||
|
|
||||||
output "grafana_dashboard_url" {
|
output "grafana_dashboard_url" {
|
||||||
description = "Grafana dashboard URL (accessible via VPN)"
|
description = "Grafana dashboard URL (accessible via VPN)"
|
||||||
value = "http://otel-monitor.ggai:3000"
|
value = "http://grafana-monitoring.ggai:3000"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "grafana_admin_credentials" {
|
output "grafana_admin_credentials" {
|
||||||
|
|
@ -114,8 +114,8 @@ output "grafana_admin_credentials" {
|
||||||
output "otlp_endpoints" {
|
output "otlp_endpoints" {
|
||||||
description = "OpenTelemetry OTLP endpoints for telemetry data"
|
description = "OpenTelemetry OTLP endpoints for telemetry data"
|
||||||
value = {
|
value = {
|
||||||
grpc = "http://otel-monitor.ggai:4317"
|
grpc = "http://grafana-monitoring.ggai:4317"
|
||||||
http = "http://otel-monitor.ggai:4318"
|
http = "http://grafana-monitoring.ggai:4318"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -125,9 +125,9 @@ output "grafana_service_discovery" {
|
||||||
namespace = "ggai"
|
namespace = "ggai"
|
||||||
service_name = "otel-monitor"
|
service_name = "otel-monitor"
|
||||||
endpoints = {
|
endpoints = {
|
||||||
grafana_ui = "http://otel-monitor.ggai:3000"
|
grafana_ui = "http://grafana-monitoring.ggai:3000"
|
||||||
otlp_grpc = "http://otel-monitor.ggai:4317"
|
otlp_grpc = "http://grafana-monitoring.ggai:4317"
|
||||||
otlp_http = "http://otel-monitor.ggai:4318"
|
otlp_http = "http://grafana-monitoring.ggai:4318"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -139,11 +139,11 @@ output "monitoring_setup_instructions" {
|
||||||
=== GRAFANA OTEL MONITORING SETUP ===
|
=== GRAFANA OTEL MONITORING SETUP ===
|
||||||
|
|
||||||
1. VERIFICATION COMMANDS (run from within VPC):
|
1. VERIFICATION COMMANDS (run from within VPC):
|
||||||
nslookup otel-monitor.ggai
|
nslookup grafana-monitoring.ggai
|
||||||
curl http://otel-monitor.ggai:3000
|
curl http://grafana-monitoring.ggai:3000
|
||||||
|
|
||||||
2. GRAFANA ACCESS (via VPN):
|
2. GRAFANA ACCESS (via VPN):
|
||||||
URL: http://otel-monitor.ggai:3000
|
URL: http://grafana-monitoring.ggai:3000
|
||||||
Username: admin
|
Username: admin
|
||||||
Password: openwebui_monitoring_2024
|
Password: openwebui_monitoring_2024
|
||||||
|
|
||||||
|
|
@ -152,7 +152,7 @@ output "monitoring_setup_instructions" {
|
||||||
- Traces: Enabled with 10% sampling rate for performance
|
- Traces: Enabled with 10% sampling rate for performance
|
||||||
- Metrics: HTTP requests, duration, active users, database queries
|
- Metrics: HTTP requests, duration, active users, database queries
|
||||||
- Logs: Integrated with existing CloudWatch logs
|
- Logs: Integrated with existing CloudWatch logs
|
||||||
- Endpoint: http://otel-monitor.ggai:4317 (gRPC)
|
- Endpoint: http://grafana-monitoring.ggai:4317 (gRPC)
|
||||||
|
|
||||||
4. MONITORING DATA SOURCES:
|
4. MONITORING DATA SOURCES:
|
||||||
- Prometheus: Pre-configured for metrics
|
- Prometheus: Pre-configured for metrics
|
||||||
|
|
@ -165,7 +165,7 @@ output "monitoring_setup_instructions" {
|
||||||
- Test OTLP connectivity from OpenWebUI tasks
|
- Test OTLP connectivity from OpenWebUI tasks
|
||||||
|
|
||||||
6. PERFORMANCE INVESTIGATION WORKFLOW:
|
6. PERFORMANCE INVESTIGATION WORKFLOW:
|
||||||
a) Access Grafana via VPN: http://otel-monitor.ggai:3000
|
a) Access Grafana via VPN: http://grafana-monitoring.ggai:3000
|
||||||
b) Navigate to "Explore" tab
|
b) Navigate to "Explore" tab
|
||||||
c) Select "Tempo" for distributed tracing
|
c) Select "Tempo" for distributed tracing
|
||||||
d) Query traces with slow response times: {duration > 5s}
|
d) Query traces with slow response times: {duration > 5s}
|
||||||
|
|
|
||||||
|
|
@ -97,19 +97,19 @@ locals {
|
||||||
=== GRAFANA OTEL MONITORING ===
|
=== GRAFANA OTEL MONITORING ===
|
||||||
|
|
||||||
NEW MONITORING ENDPOINTS:
|
NEW MONITORING ENDPOINTS:
|
||||||
- Grafana Dashboard: http://otel-monitor.ggai:3000
|
- Grafana Dashboard: http://grafana-monitoring.ggai:3000
|
||||||
- OTLP gRPC Endpoint: http://otel-monitor.ggai:4317
|
- OTLP gRPC Endpoint: http://grafana-monitoring.ggai:4317
|
||||||
- OTLP HTTP Endpoint: http://otel-monitor.ggai:4318
|
- OTLP HTTP Endpoint: http://grafana-monitoring.ggai:4318
|
||||||
|
|
||||||
TESTING COMMANDS (from within VPC):
|
TESTING COMMANDS (from within VPC):
|
||||||
nslookup ai-scaled.ggai
|
nslookup ai-scaled.ggai
|
||||||
nslookup otel-monitor.ggai
|
nslookup grafana-monitoring.ggai
|
||||||
|
|
||||||
MIGRATION VERIFICATION:
|
MIGRATION VERIFICATION:
|
||||||
curl -H "Host: ai-glondon.msappproxy.net" http://ai-scaled.ggai:8080/health
|
curl -H "Host: ai-glondon.msappproxy.net" http://ai-scaled.ggai:8080/health
|
||||||
|
|
||||||
GRAFANA ACCESS (via VPN):
|
GRAFANA ACCESS (via VPN):
|
||||||
curl http://otel-monitor.ggai:3000
|
curl http://grafana-monitoring.ggai:3000
|
||||||
# Default login: admin / openwebui_monitoring_2024
|
# Default login: admin / openwebui_monitoring_2024
|
||||||
|
|
||||||
EOT
|
EOT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue