Imporve monitoring 2

This commit is contained in:
Urtzi Alfaro
2026-01-09 07:26:11 +01:00
parent 4af860c010
commit 8ca5d9c100
39 changed files with 1035 additions and 376 deletions

View File

@@ -162,7 +162,7 @@ data:
exporters:
# Send to SigNoz
otlphttp:
endpoint: http://signoz-otel-collector.signoz.svc.cluster.local:4318
endpoint: http://signoz-otel-collector.bakery-ia.svc.cluster.local:4318
tls:
insecure: true
@@ -374,7 +374,7 @@ processors:
exporters:
otlphttp/logs:
endpoint: http://signoz-otel-collector.signoz.svc.cluster.local:4318/v1/logs
endpoint: http://signoz-otel-collector.bakery-ia.svc.cluster.local:4318/v1/logs
service:
pipelines:

View File

@@ -316,8 +316,8 @@ spec:
#### Issue: No Metrics Appearing in SigNoz
**Checklist:**
- ✅ OpenTelemetry Collector running? `kubectl get pods -n signoz`
- ✅ Service can reach collector? `telnet signoz-otel-collector.signoz 4318`
- ✅ OpenTelemetry Collector running? `kubectl get pods -n bakery-ia -l app.kubernetes.io/instance=signoz`
- ✅ Service can reach collector? `telnet signoz-otel-collector.bakery-ia 4318`
- ✅ OTLP endpoint configured correctly? Check `OTEL_EXPORTER_OTLP_ENDPOINT`
- ✅ Service logs show OTLP export? Look for "Exporting metrics"
- ✅ No network policies blocking? Check Kubernetes network policies
@@ -325,13 +325,13 @@ spec:
**Debugging:**
```bash
# Check OpenTelemetry Collector logs
kubectl logs -n signoz -l app=otel-collector
kubectl logs -n bakery-ia -l app=otel-collector
# Check service logs for OTLP errors
kubectl logs -l app=auth-service | grep -i otel
# Test OTLP connectivity from service pod
kubectl exec -it auth-service-pod -- curl -v http://signoz-otel-collector.signoz:4318
kubectl exec -it auth-service-pod -- curl -v http://signoz-otel-collector.bakery-ia:4318
```
#### Issue: High Latency in Specific Service
@@ -442,7 +442,7 @@ class MyService(StandardFastAPIService):
```env
# OpenTelemetry Collector endpoint
OTEL_EXPORTER_OTLP_ENDPOINT=http://signoz-otel-collector.signoz:4318
OTEL_EXPORTER_OTLP_ENDPOINT=http://signoz-otel-collector.bakery-ia:4318
# Service-specific configuration
OTEL_SERVICE_NAME=auth-service
@@ -473,7 +473,7 @@ spec:
image: auth-service:latest
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "http://signoz-otel-collector.signoz:4318"
value: "http://signoz-otel-collector.bakery-ia:4318"
- name: OTEL_SERVICE_NAME
value: "auth-service"
- name: ENVIRONMENT