production-observability
/production-observability
Dodaje do aplikacji Spring Boot 3 Actuator, metryki Micrometer, śledzenie OpenTelemetry, logi strukturalne, health checks i alerty.
- Autor
- rrezartprebreza ↗
- Repozytorium
- spring-boot-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 22.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: examples/bad-observation.java, examples/good-observation.java
Co robi i kiedy
Dodaje do aplikacji Spring Boot 3 Actuator, metryki Micrometer, śledzenie OpenTelemetry, logi strukturalne, health checks i alerty.
Oryginalny opis (EN)
Use when adding service-wide Spring Boot 3 Actuator, Micrometer metrics, distributed tracing, OpenTelemetry export, structured logging, health probes, dashboards, or alerts. Combine with ai-observability only for Spring AI-specific token, prompt, and model telemetry.
Jak działa
- Baseline
- Observation conventions
- Health and readiness
- Logging and alerts
- Examples
- Gotchas
Podgląd SKILL.md
--- name: production-observability description: > Use when adding service-wide Spring Boot 3 Actuator, Micrometer metrics, distributed tracing, OpenTelemetry export, structured logging, health probes, dashboards, or alerts. Combine with ai-observability only for Spring AI-specific token, prompt, and model telemetry. --- # Production Observability Instrument user-visible operations and operational boundaries, not every method. ## Baseline - Add Actuator and one metrics registry selected by the deployment platform. - Use Micrometer Observation for application metrics and traces. - Use Micrometer Tracing with the chosen bridge; do not mix tracing APIs throughout business code. - Export through OTLP when the platform standardizes on OpenTelemetry collectors. - Expose only required actuator endpoints and secure every non-public endpoint. ## Observation conventions - Name observations by stable operation, such as `orders.create`. - Keep metric tags low-cardinality: method, outcome, region, or bounded status. - Put request IDs, user IDs, order IDs, and exception messages only in traces or logs. - Propagate context across `@Async`, executor, and Reactor boundaries. - Record latency, throughput, failures, and saturation for every external dependency. ## Health and readiness - Keep liveness independent from remote systems so a dependency outage does not restart every pod. - Put required dependencies in readiness groups. - Write custom health indicators only for dependencies that affect traffic acceptance. - Set explicit timeouts on health checks. ## Logging and alerts - Emit structured logs with trace and span correlation. - Redact credentials, tokens, personal data, prompts, and payloads by default. - Alert on symptoms tied to service objectives, not raw metric noise. - Include runbook links and enough dimensions to identify the affected service and dependency. ## Examples - See `examples/good-observation.java` and `examples/bad-observation.java`. ## Gotchas - Agent tags metrics with user or entity IDs - this creates unbounded cardinality. - Agent exposes every actuator endpoint publicly - expose the minimum and secure it. - Agent makes liveness depend on the database - dependency outages then cause restart loops. - Agent logs request bodies and tokens for debugging - redact sensitive data before emission. - Agent creates spans but loses context in async work - configure context propagation explicitly.
Pliki w paczce (4)
- SKILL.md 2 KB
- agents/openai.yaml 1 KB
- examples/bad-observation.java 1 KB
- examples/good-observation.java 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · rrezartprebreza/spring-boot-skills | 100 | MIT |
| rrezartprebreza/spring-boot-skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 7f60cd0e6a62 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100spring-observability
Dodaje i przegląda obserwowalność w aplikacjach Spring Boot 3 i 4: Actuator, metryki Micrometer, tracing OpenTelemetry i logi z identyfikatorami. - 100spring-boot-observability
Wspiera obserwowalność Spring Boot 4 z Actuator, Micrometer i OpenTelemetry: health checki, metryki własne, tracing, sondy Kubernetes i Cloud Run, logowanie i zabezpieczenie endpointów. - 100spring-boot-observability
Instrumentuje Spring Boot metrykami Micrometer, rozproszonym śledzeniem i logowaniem strukturalnym. - 100spring-actuator
Konfiguruje Spring Boot Actuator do monitoringu: health indicators, metryki Micrometer, integrację z Prometheus, własne endpointy, sondy Kubernetes i zabezpieczenie endpointów. - 100spring-boot-actuator
Konfiguruje Spring Boot Actuator do monitoringu produkcyjnego: sondy zdrowia, zabezpieczone endpointy zarządzania i metryki Micrometer w usługach JVM. - 100observability
Doradza przy wdrażaniu obserwowalności i monitoringu: logowanie strukturalne, poziomy logów, śledzenie rozproszone, OpenTelemetry, metryki i health checki.