observability-instrumentation
/observability-instrumentation
Dodaje metryki, śledzenie, logowanie i alerty do usług Java i Spring Boot, endpointów REST oraz konsumentów Kafka i SQS.
- Autor
- rawnaveen ↗
- Repozytorium
- architect-dev-toolkit ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 08.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dodaje metryki, śledzenie, logowanie i alerty do usług Java i Spring Boot, endpointów REST oraz konsumentów Kafka i SQS.
Wyzwalacze z opisu
Oryginalny opis (EN)
This skill should be used when creating or modifying a Java/Spring Boot service, REST endpoint, Kafka/SQS consumer, scheduled job or outbound client, or when the user asks to "add metrics", "add tracing", "add logging", "instrument this", "define SLOs", "create alerts", or "make this observable". Apply proactively to new services and endpoints.
Jak działa
- Standards
- Procedure
Podgląd SKILL.md
--- name: observability-instrumentation description: > This skill should be used when creating or modifying a Java/Spring Boot service, REST endpoint, Kafka/SQS consumer, scheduled job or outbound client, or when the user asks to "add metrics", "add tracing", "add logging", "instrument this", "define SLOs", "create alerts", or "make this observable". Apply proactively to new services and endpoints. metadata: version: "0.1.0" --- # Observability instrumentation (Spring Boot) ## Standards - **Traces**: OpenTelemetry (Micrometer Tracing bridge or OTel Java agent). Propagate W3C `traceparent` across HTTP, messaging and async executors. Span per inbound request, outbound call and message. - **Metrics**: Micrometer with low-cardinality tags (no user IDs, no raw URLs). For each endpoint and consumer: request rate, error rate, latency histogram (RED); for resources: utilisation, saturation, errors (USE). Name `domain.component.action` with units. - **Logs**: structured JSON (logstash encoder / ECS), include `traceId`, `spanId`, request ID; levels used consistently; no PII, secrets or tokens; log once at the boundary, not at every layer. - **Health**: Actuator liveness and readiness separated; readiness reflects downstream dependencies. - **SLOs**: per user journey, e.g. 99.9% of requests under 300 ms over 28 days; multi-window burn-rate alerts (fast 2%/1h, slow 5%/6h); alert on symptoms, page only on SLO burn. - **LLM calls (Claude/Bedrock)**: record model, effort, input/output/cache tokens, stop_reason, latency, cost estimate and request-id as span attributes and metrics; never log prompt text with PII. ## Procedure 1. Detect the current stack (pom.xml/build.gradle, logback config, existing exporters). 2. Add missing dependencies and config; reuse existing conventions. 3. Instrument code: `@Observed` or `Observation` API, `Timer`/`Counter`, context propagation for `@Async`/reactive. 4. Produce dashboards-as-code suggestions (Grafana/CloudWatch) and alert rules (PrometheusRule or CloudWatch alarms). 5. Add a test that asserts key metrics are registered.
Wersje
W bazie nie ma innych skilli o nazwie observability-instrumentation.
Migawka bazy z 13.11.2026 · wersja paczki 148aee015da7 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100production-observability
Dodaje do aplikacji Spring Boot 3 Actuator, metryki Micrometer, śledzenie OpenTelemetry, logi strukturalne, health checks i alerty. - 100spring-boot-observability
Instrumentuje Spring Boot metrykami Micrometer, rozproszonym śledzeniem i logowaniem strukturalnym. - 100spring-observability
Dodaje i przegląda obserwowalność w aplikacjach Spring Boot 3 i 4: Actuator, metryki Micrometer, tracing OpenTelemetry i logi z identyfikatorami. - 100observability-and-instrumentation
Dodaje logowanie strukturalne, metryki RED i śledzenie OpenTelemetry przy każdej funkcji działającej na produkcji, w trakcie budowy, a nie po incydentach. - 100observability
Wdraża logowanie, metryki i śledzenie usług, w tym OpenTelemetry, SLO i alerty wypalania budżetu błędów oraz dashboardy. - 100observability
Dobiera logi, metryki, dashboardy, alerty i runbooki dla usługi backendowej, sprawdza jej gotowość produkcyjną i diagnozuje alerty.