Otel K8s Graph

•
13
•

Generates a live Kubernetes service dependency graph by combining OpenTelemetry traces and Kubernetes API information.

Otel K8s Graph creates a detailed service graph that overlays structural data derived from Kubernetes entities with runtime relationship information from OpenTelemetry trace spans. This tool constructs a live service map or topology of your Kubernetes cluster, revealing what runs where and how services interact. By leveraging both the Kubernetes API for cluster structure (namespaces, workloads, pods) and OpenTelemetry traces for service relationships (which service calls which endpoint, queries which database), it provides a comprehensive view. The resulting graph is exposed through a REST API and an MCP server, making it directly queryable by humans, scripts, and large language model (LLM) agents for deep insights.

주요 기능

01Derives cluster structure and containment/management edges from the Kubernetes API.
029 GitHub stars
03Exposes a queryable REST API for graph search, entities, and subgraphs.
04Extracts service call, query, and publish relationships from OpenTelemetry trace spans.
05Functions as an MCP server for interaction with LLMs and other clients.
06Stores a distilled relationship graph in Redis, optimized for direct querying rather than raw trace storage.

사용 사례

01Analyze the blast radius of changes by understanding upstream dependencies of a deployment.
02Safely deprecate APIs by identifying all services calling specific endpoints.
03Identify unused APIs or dead code by finding exposed endpoints with no callers.