# bhoopesh123/opentelemetry architecture

> Architecture diagram of the GitHub repository bhoopesh123/opentelemetry, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bhoopesh123/opentelemetry
- Repository: https://github.com/bhoopesh123/opentelemetry

## Overview

This repository provides Kubernetes manifests and OpenTelemetry configuration examples for a microservices monitoring stack, rather than the application implementations themselves. The documented workflow is to deploy the demo microservices, configure a collector to receive their traces, and deploy Jaeger, Prometheus, and Grafana. Separate configuration files and README topics cover logs, metrics, Kubernetes collection, authentication, and processor options. Source excerpts show only a password-hashing helper, so relationships among the unsampled manifests and configurations are not asserted.

Main entry points: [`opentelemetry-app`](https://github.com/bhoopesh123/opentelemetry/tree/main/opentelemetry-app) (Demo microservices), [`opentelemetry-collector`](https://github.com/bhoopesh123/opentelemetry/tree/main/opentelemetry-collector) (Collector deployment), [`jaeger`](https://github.com/bhoopesh123/opentelemetry/tree/main/jaeger) (Jaeger backend), [`prometheus`](https://github.com/bhoopesh123/opentelemetry/tree/main/prometheus) (Prometheus backend)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workload["Demo workload"]
  node_microservices["Demo microservices"]
end

subgraph group_collection["Telemetry collection"]
  node_collector["Collector deployment"]
  node_collector_configs["Collector configs"]
end

subgraph group_backends["Telemetry backends"]
  node_jaeger["Jaeger backend"]
  node_prometheus["Prometheus backend"]
  node_grafana["Grafana dashboards"]
end

subgraph group_configurations["Collection examples"]
  node_trace_stack["Trace collection"]
  node_k8s_collection["Kubernetes collection"]
  node_k8s_auth["Kubernetes auth"]
  node_k8s_logs["Kubernetes logs"]
  node_combined_k8s["Combined telemetry"]
  node_metrics_processors["Metrics processors"]
  node_log_stack["Log collection"]
end

node_operator(("Cluster operator"))

node_operator -->|"deploys"| node_microservices
node_operator -->|"deploys"| node_collector
node_operator -->|"deploys"| node_jaeger
node_operator -->|"deploys"| node_prometheus
node_operator -->|"deploys"| node_grafana
node_microservices -->|"sends traces"| node_collector

click node_microservices "https://github.com/bhoopesh123/opentelemetry/tree/main/opentelemetry-app"
click node_collector "https://github.com/bhoopesh123/opentelemetry/tree/main/opentelemetry-collector"
click node_collector_configs "https://github.com/bhoopesh123/opentelemetry/blob/main/otel_collector_config.yaml"
click node_trace_stack "https://github.com/bhoopesh123/opentelemetry/tree/main/otel_traces"
click node_k8s_collection "https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_config.yaml"
click node_k8s_auth "https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_config_auth.yaml"
click node_k8s_logs "https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_logs_values.yaml"
click node_combined_k8s "https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_metrics_logs_traces_values.yaml"
click node_metrics_processors "https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_metrics_processors.yaml"
click node_log_stack "https://github.com/bhoopesh123/opentelemetry/tree/main/otel-logs"
click node_jaeger "https://github.com/bhoopesh123/opentelemetry/tree/main/jaeger"
click node_prometheus "https://github.com/bhoopesh123/opentelemetry/tree/main/prometheus"
click node_grafana "https://github.com/bhoopesh123/opentelemetry/tree/main/grafana"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_microservices toneBlue
class node_collector,node_collector_configs toneAmber
class node_jaeger,node_prometheus,node_grafana toneMint
class node_trace_stack,node_k8s_collection,node_k8s_auth,node_k8s_logs,node_combined_k8s,node_metrics_processors,node_log_stack toneRose
class node_operator toneIndigo
```

## Components

### Demo workload

- [Demo microservices](https://github.com/bhoopesh123/opentelemetry/tree/main/opentelemetry-app): `opentelemetry-app`

### Telemetry collection

- [Collector deployment](https://github.com/bhoopesh123/opentelemetry/tree/main/opentelemetry-collector): `opentelemetry-collector`
- [Collector configs](https://github.com/bhoopesh123/opentelemetry/blob/main/otel_collector_config.yaml): `otel_collector_config.yaml`

### Telemetry backends

- [Jaeger backend](https://github.com/bhoopesh123/opentelemetry/tree/main/jaeger): `jaeger`
- [Prometheus backend](https://github.com/bhoopesh123/opentelemetry/tree/main/prometheus): `prometheus`
- [Grafana dashboards](https://github.com/bhoopesh123/opentelemetry/tree/main/grafana): `grafana`

### Collection examples

- [Trace collection](https://github.com/bhoopesh123/opentelemetry/tree/main/otel_traces): `otel_traces`
- [Kubernetes collection](https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_config.yaml): `otel_k8s_config.yaml`
- [Kubernetes auth](https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_config_auth.yaml): `otel_k8s_config_auth.yaml`
- [Kubernetes logs](https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_logs_values.yaml): `otel_k8s_logs_values.yaml`
- [Combined telemetry](https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_metrics_logs_traces_values.yaml): `otel_k8s_metrics_logs_traces_values.yaml`
- [Metrics processors](https://github.com/bhoopesh123/opentelemetry/blob/main/otel_k8s_metrics_processors.yaml): `otel_k8s_metrics_processors.yaml`
- [Log collection](https://github.com/bhoopesh123/opentelemetry/tree/main/otel-logs): `otel-logs`

### Other components

- **Cluster operator**

## Connections

- Cluster operator → Demo microservices: deploys (evidence: `README.md`)
- Cluster operator → Collector deployment: deploys (evidence: `README.md`)
- Cluster operator → Jaeger backend: deploys (evidence: `README.md`)
- Cluster operator → Prometheus backend: deploys (evidence: `README.md`)
- Cluster operator → Grafana dashboards: deploys (evidence: `README.md`)
- Demo microservices → Collector deployment: sends traces (evidence: `README.md`)
