The platform implements the Grafana LGTM
stack and consists of the following apps:
Loki
- log managementGrafana
- visualizationTempo
- trace managementMimir
- metrics managementVector
- logs collector, pushes toLoki
Alloy
- OTEL collector. Collects metrics and traces from applications. Traces will be pushed toTempo
while metrics will be pushed toMimir
k6
- API load testing automation toolnode-exporter
- exposes node metrics for prom to scrapecadvisor
- exposes container metrics for prom to scrape
Some components of this stack may not work on Docker Desktop - Mac (cadvisor)
cd
to./main
- Run
docker compose up -d --build
- Wait for all services to be up. (You can ignore the
fast-api-load-test
andsetup-db
service)
- Open the browser and type
http://localhost:3000
- The grafana front page will open. To log in, go to the
docker-compose.yaml
inmain
and look for the grafana service in it. The username and password are stated under environment.
Application Performance Monitoring
- Application Performance Metrics for monitoring the driver apps that are instrumented withOpenTelemetry
Node Metrics
- displays host metrics of the VM/machine the node exporter container is running onOpensearch
- displays the performance metrics of Opensearch. Requires the installation of the prometheus exporter plugin in every node of the Opensearch clusterk6 Load Tests
- shows the API load testing metricsDocker Metrics
- shows the Docker container metricsGrafana
- shows the Grafana instance metrics