Skip to content

chazapp/o11y

Folders and files

NameName
Last commit message
Last commit date
Jun 5, 2024
Nov 12, 2023
Aug 14, 2024
Feb 11, 2024
Feb 16, 2024
Oct 20, 2023
May 16, 2024
Oct 20, 2023
Feb 4, 2024
Aug 13, 2024
May 16, 2024
Nov 11, 2023

Repository files navigation

o11y

Test installation in Minikube WallAPI WallFront End-to-End

A DevOps shop showcase of observability in action.

Navigate this repository with the blog article !

Contents

A Terraform project that deploys to a Minikube cluster the following tools:

  • Grafana
  • Grafana-Agent
  • Kube-Prometheus-Stack
  • Loki
  • Promtail
  • Tempo
  • Minio
  • Pyroscope

It also deploys the following example services:

  • The WallAPI, a REST API written in Golang instrumented via OpenTelemetrySDK and profiled by Pyroscope via /pprof
  • The WallClient, a front-end client written in React, auto-instrumented via Faro -> Grafana Agent -> Tempo & Loki

Minikube

To test the complete stack, create a Minikube cluster then apply with Terraform

$ minikube start
...
$ terraform apply
...

Once applied, you may add the Ingresses for the various services to your /etc/hosts file

$ kubectl get ingress -n monitoring
NAME                               CLASS    HOSTS                 ADDRESS        PORTS   AGE
grafana                            <none>   grafana.local         192.168.49.2   80      10m
...

Note: On Windows, you may need to use the minikube tunnel command and use 127.0.0.1 instead !

You may now access services via your browser.