Conversation
## Summary - Add OTEL instrumentation to Next.js frontend with Node.js SDK - Add Micrometer-OTEL bridge to API Gateway for trace export - Deploy complete observability stack (Jaeger, Prometheus, Grafana) - Configure all services to export traces to Jaeger collector ## Frontend Changes - Add OpenTelemetry Node.js dependencies (SDK, HTTP exporter, auto-instrumentations) - Create instrumentation.ts with automatic trace collection for HTTP requests - Configure OTEL environment variables in deployment for service identification - Add deployment-specific Playwright config for testing against K8s endpoint ## API Gateway Changes - Add Micrometer-OTEL bridge dependency for Spring Boot trace export - Configure management.tracing in application.yml with 100% sampling - Add proper actuator endpoints for metrics and health checks - Configure OTEL exporter endpoint to use gRPC (port 4317) ## Infrastructure Changes - Deploy Jaeger all-in-one with both HTTP (4318) and gRPC (4317) OTLP receivers - Deploy Prometheus with scraping configuration for all microservices - Deploy Grafana with pre-configured Jaeger and Prometheus datasources - Add comprehensive dashboard for banking application metrics ## Kubernetes Optimizations - Reduce Java service resource requirements (256Mi-512Mi memory, 100m-250m CPU) - Optimize startup times with improved JVM options and G1 garbage collector - Increase health check timeouts for slower container startup in K8s environment - Add Speedscale sidecar annotations overlay for traffic capture ## Configuration Updates - Switch OTEL exporters from HTTP to gRPC endpoints for better performance - Add frontend-specific OTEL configuration with service namespace - Configure Spring Boot services with proper OTEL service names - Update logging patterns to include trace and span IDs for correlation ## Test Plans - Playwright configuration for testing against deployed K8s services - Updated base configuration to support both local and deployed testing - Added deployment-specific timeout configurations for K8s environment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove duplicate opentelemetry-exporter-otlp dependency from API Gateway pom.xml - Update frontend package-lock.json with compatible OTEL dependencies - Verify both builds work locally 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Frontend Changes
API Gateway Changes
Infrastructure Changes
Kubernetes Optimizations
Configuration Updates
Test Plans
🤖 Generated with Claude Code