chore: correct grafana-monitoring discovery service name

This commit is contained in:
loitragg 2025-09-27 17:30:46 +07:00
parent c5d7e0035c
commit 755ea41db2
No known key found for this signature in database
GPG key ID: 96292BAF3E28CFF5
3 changed files with 17 additions and 17 deletions

View file

@ -227,7 +227,7 @@ resource "aws_ecs_task_definition" "webui_scaled" {
},
{
name = "OTEL_EXPORTER_OTLP_ENDPOINT"
value = "http://otel-monitor.ggai:4317"
value = "http://grafana-monitoring.ggai:4317"
},
{
name = "OTEL_EXPORTER_OTLP_INSECURE"

View file

@ -99,7 +99,7 @@ output "service_discovery_migration" {
output "grafana_dashboard_url" {
description = "Grafana dashboard URL (accessible via VPN)"
value = "http://otel-monitor.ggai:3000"
value = "http://grafana-monitoring.ggai:3000"
}
output "grafana_admin_credentials" {
@ -114,8 +114,8 @@ output "grafana_admin_credentials" {
output "otlp_endpoints" {
description = "OpenTelemetry OTLP endpoints for telemetry data"
value = {
grpc = "http://otel-monitor.ggai:4317"
http = "http://otel-monitor.ggai:4318"
grpc = "http://grafana-monitoring.ggai:4317"
http = "http://grafana-monitoring.ggai:4318"
}
}
@ -125,9 +125,9 @@ output "grafana_service_discovery" {
namespace = "ggai"
service_name = "otel-monitor"
endpoints = {
grafana_ui = "http://otel-monitor.ggai:3000"
otlp_grpc = "http://otel-monitor.ggai:4317"
otlp_http = "http://otel-monitor.ggai:4318"
grafana_ui = "http://grafana-monitoring.ggai:3000"
otlp_grpc = "http://grafana-monitoring.ggai:4317"
otlp_http = "http://grafana-monitoring.ggai:4318"
}
}
}
@ -139,11 +139,11 @@ output "monitoring_setup_instructions" {
=== GRAFANA OTEL MONITORING SETUP ===
1. VERIFICATION COMMANDS (run from within VPC):
nslookup otel-monitor.ggai
curl http://otel-monitor.ggai:3000
nslookup grafana-monitoring.ggai
curl http://grafana-monitoring.ggai:3000
2. GRAFANA ACCESS (via VPN):
URL: http://otel-monitor.ggai:3000
URL: http://grafana-monitoring.ggai:3000
Username: admin
Password: openwebui_monitoring_2024
@ -152,7 +152,7 @@ output "monitoring_setup_instructions" {
- Traces: Enabled with 10% sampling rate for performance
- Metrics: HTTP requests, duration, active users, database queries
- Logs: Integrated with existing CloudWatch logs
- Endpoint: http://otel-monitor.ggai:4317 (gRPC)
- Endpoint: http://grafana-monitoring.ggai:4317 (gRPC)
4. MONITORING DATA SOURCES:
- Prometheus: Pre-configured for metrics
@ -165,7 +165,7 @@ output "monitoring_setup_instructions" {
- Test OTLP connectivity from OpenWebUI tasks
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
c) Select "Tempo" for distributed tracing
d) Query traces with slow response times: {duration > 5s}

View file

@ -97,19 +97,19 @@ locals {
=== GRAFANA OTEL MONITORING ===
NEW MONITORING ENDPOINTS:
- Grafana Dashboard: http://otel-monitor.ggai:3000
- OTLP gRPC Endpoint: http://otel-monitor.ggai:4317
- OTLP HTTP Endpoint: http://otel-monitor.ggai:4318
- Grafana Dashboard: http://grafana-monitoring.ggai:3000
- OTLP gRPC Endpoint: http://grafana-monitoring.ggai:4317
- OTLP HTTP Endpoint: http://grafana-monitoring.ggai:4318
TESTING COMMANDS (from within VPC):
nslookup ai-scaled.ggai
nslookup otel-monitor.ggai
nslookup grafana-monitoring.ggai
MIGRATION VERIFICATION:
curl -H "Host: ai-glondon.msappproxy.net" http://ai-scaled.ggai:8080/health
GRAFANA ACCESS (via VPN):
curl http://otel-monitor.ggai:3000
curl http://grafana-monitoring.ggai:3000
# Default login: admin / openwebui_monitoring_2024
EOT