This repository provides Grafana stack addon to DDEV.
It contains several components from Grafana stack:
-
Grafana: an open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources.
-
Prometheus: an open source monitoring solution written in Go that collects metrics data and stores that data in a time series database.
-
Loki: a horizontally scalable, highly available, multi-tenant log aggregation solution.
-
Tempo: an open source, easy-to-use, and high-scale distributed tracing backend.
- In the DDEV project directory:
ddev get MurzNN/ddev-grafana
- Restart the DDEV instance:
ddev restart
-
Open the Grafana web interface via the url: https://your-project-name.ddev.site:3000/
-
Configure the OpenTelemetry endpoint in your application to the
http://opentelemetry-grafana:4318
.By default, the add-on configures the
OTEL_EXPORTER_OTLP_ENDPOINT
environment variable with this endpoint, you can disable this in the file.ddev/config.grafana.logs.yaml
.
** Contributed and maintained by @MurzNN.
Integration with popular CMSs and frameworks:
-
Drupal CMS: OpenTelemery module
-
Laravel: Open Telemetry package