jangaraj / keycloak-with-opentelemetry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keycloak with OpenTelemetry (OTEL/OTLP)

This repo is an example for Keycloak 17+ (Quarkus based distribution, not for Keycloak legacy 17+ or Keycloak 17-).

Single click provisioning Gitpod ready-to-test

  • Keycloak login: admin/admin
  • Cribl login: admin/adminadmin

Stack

Infrastructure

Metrics

OTEL Java agent with autoinstrumentation generates OTLP metrics and pushs them to OTEL collector. Keycloak exports metrics to /metrics endpoint and OTEL collector scrapes them. OTEL collector exports all collected metrics to Prometheus

Traces

OTEL Java agent with autoinstrumentation generates traces and sends them to OTEL collector which exports them to Jaeger

Logs

Keycloak generates JSON logs, which are processed by Logspout/Logstash and inserted to Elasticsearch.

Visualization

All observability sources (metrics, traces, logs) are aggregated/visualized in the Grafana.

About

License:Apache License 2.0


Languages

Language:JavaScript 100.0%Language:Shell 0.0%