![]() |
пре 10 месеци | |
---|---|---|
.. | ||
grafana-provisioning | пре 10 месеци | |
loki | пре 10 месеци | |
README.md | пре 10 месеци | |
otel-collector-config.yaml | пре 10 месеци |
Welcome to the Grafana Loki and OpenTelemetry integration project! This repository provides a simple and effective setup for log management and analysis using Docker, Grafana Loki, and OpenTelemetry. Currently this is an in-progress GSoC Summer of Code project and so the instructions may change before being finalized. Please treat all this as alpha code.
This project demonstrates how to configure and use Grafana Loki with OpenTelemetry to collect, parse, and visualize log data. It includes:
log-analyser.yml
) for Loki and OpenTelemetry Collector.grafana.yml
) for Grafana.Clone the repository:
git clone https://github.com/jitsi/docker-jitsi-meet.git
Place your log file in the log-analyser/jitsi-logs
directory. Update the otel-collector-config.yaml
file with the correct file path to start ingesting the logs. This setup allows OpenTelemetry to read logs from the file and forward them to Loki.
Update the file path to point to your log file for ingestion by OpenTelemetry.
Start the Docker containers:
docker-compose -f docker-compose.yml -f log-analyser.yml up -d
Start the Docker container:
docker-compose -f docker-compose.yml -f grafana.yml up -d
Access Grafana:
Open your web browser and navigate to http://localhost:3000.
Use the default credentials:
```
Username: admin
Password: admin
```
The dashboard setups are available as JSON files in the log-analyser/grafana-dashboards
directory. You can import these JSON files into Grafana to use the pre-configured dashboards. In the future, we plan to automate this import process.
Thanks for checking out this project! If you have any questions or need further assistance, don't hesitate to reach out.