observability-integrator

Design observability for Kotlin and Spring services with metrics, logs, traces, and health endpoints.

14|1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/kbrgnj/kotlin-backend-agent-skills --skill observability-integrator-kbrgnj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-integrator
Source: https://github.com/kbrgnj/kotlin-backend-agent-skills/tree/main/.agents/skills/observability-integrator
Command: npx skills add https://github.com/kbrgnj/kotlin-backend-agent-skills --skill observability-integrator-kbrgnj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design actionable observability for Kotlin + Spring services across logs, metrics, tracing, and health endpoints. Use when instrumenting a service, improving incident diagnosis, defining SLO-driven metrics and alerts, adding trace propagation, controlling metric-cardinality cost, or ensuring async and coroutine flows remain observable in production.

Core Features & Use Cases

  • Instrument services for metrics, logs, traces, and health indicators across Kotlin + Spring stacks.
  • Define SLO-driven metrics and alerts to improve incident diagnosis and reliability, with consideration for cardinality and privacy.
  • Ensure trace propagation across coroutine boundaries and async execution, enabling end-to-end visibility in production.

Quick Start

Instrument a Kotlin Spring service to expose metrics, traces, and health endpoints for production observability.

Frequently Asked Questions about observability-integrator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up observability for Kotlin Spring services with Prometheus and OpenTelemetry?

Trace propagation across coroutine boundaries is maintained by explicitly passing context during async execution, ensuring end-to-end visibility in production Kotlin Spring applications. This prevents broken traces when execution switches between coroutine threads or asynchronous tasks.

How do I control metric cardinality cost when instrumenting Spring services with Prometheus?

SLO-driven metrics and alerts are defined by mapping service reliability targets to specific observability signals like latency and error rates in Kotlin Spring stacks. This improves incident diagnosis by triggering actionable alerts based on user impact rather than raw infrastructure thresholds.

Does this observability approach work with existing ELK stack logging pipelines?

This observability approach works with existing ELK stack logging pipelines by integrating structured logs with distributed traces and metrics. It ensures logs are correlated with OpenTelemetry trace IDs, enabling faster incident diagnosis across distributed systems.

What is the best way to integrate safe health endpoints in a distributed Spring system?

Safe health endpoints integration is achieved by designing health indicators that expose dependency status without leaking sensitive internal state in distributed Spring systems. This supports reliable readiness checks for traffic routing while protecting against unauthorized information disclosure.