The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
apiVersion: apps/v1
kind: Deployment
metadata:
name: pricing-service
spec:
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 3
maxUnavailable: 0
selector:
matchLabels:
app: pricing-service
template:
metadata:
labels:
app: pricing-service
spec:
containers:
- name: pricing-service
image: registry.example.com/pricing-service:2.16.0
ports:
- containerPort: 8080
env:
- name: JAVA_TOOL_OPTIONS
value: "-javaagent:/otel/opentelemetry-javaagent.jar -XX:MaxRAMPercentage=75"
- name: OTEL_SERVICE_NAME
value: pricing-service
- name: OTEL_INSTRUMENTATION_LOGBACK_APPENDER_EXPERIMENTAL_LOG_ATTRIBUTES
value: "true"
- name: OTEL_INSTRUMENTATION_LOGBACK_APPENDER_EXPERIMENTAL_CAPTURE_KEY_VALUE_PAIR_ATTRIBUTES
value: "true"
startupProbe:
httpGet: {path: /actuator/health/liveness, port: 8080}
periodSeconds: 2
failureThreshold: 30
readinessProbe:
httpGet: {path: /actuator/health/readiness, port: 8080}
periodSeconds: 5
resources:
requests: {cpu: "500m", memory: 768Mi}
limits: {memory: 768Mi}