Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saidsef/grafana-loki-on-k8s
Grafana, Loki, Promtail, Tempo, Prometheus for logs, LGTM metrics and tracing
https://github.com/saidsef/grafana-loki-on-k8s
grafana kubernetes-logging kubernetes-monitoring kubernetes-tracing lgtm-stack logging loki mimir monitoring observability prometheus promtail tempo tracing-applications tracing-collector
Last synced: about 18 hours ago
JSON representation
Grafana, Loki, Promtail, Tempo, Prometheus for logs, LGTM metrics and tracing
- Host: GitHub
- URL: https://github.com/saidsef/grafana-loki-on-k8s
- Owner: saidsef
- License: mit
- Created: 2019-01-07T03:28:10.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T07:30:11.000Z (7 months ago)
- Last Synced: 2024-04-20T09:20:41.444Z (7 months ago)
- Topics: grafana, kubernetes-logging, kubernetes-monitoring, kubernetes-tracing, lgtm-stack, logging, loki, mimir, monitoring, observability, prometheus, promtail, tempo, tracing-applications, tracing-collector
- Homepage:
- Size: 114 KB
- Stars: 37
- Watchers: 6
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Grafana, Prometheus, Loki, Promtail, Tempo and Mimir (LGTM)
[Loki](https://grafana.com/oss/loki/) is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate, as it does not index the contents of the logs, but rather a set of labels for each log stream.
[Promtail](https://grafana.com/docs/loki/latest/clients/promtail/) is an agent which ships the contents of local logs to a private Grafana Loki instance or Grafana Cloud. It is usually deployed to every machine that has applications needed to be monitored.
[Tempo](https://grafana.com/oss/tempo/) is an open source, easy-to-use, and high-scale distributed tracing backend. Tempo is cost-efficient, requiring only object storage to operate, and is deeply integrated with Grafana, Prometheus, and Loki. Tempo can ingest common open source tracing protocols, including Jaeger, Zipkin, and OpenTelemetry.
[Mimir](https://grafana.com/oss/mimir/) lets you scale metrics to 1 billion active series and beyond, with high availability, multi-tenancy, durable storage, and blazing fast query performance over long periods of time.
I am assuming you are already familiar with [Grafana](https://grafana.com/oss/grafana/) and [Prometheus](https://prometheus.io/docs/prometheus/latest/getting_started/)
## Prerequisites
- Kubernetes Cluster >= v1.26
- Familiarity with Grafana, Prometheus, Loki, Promtail, Tempo and Mimir
- ...
- Profit?## Deployment
```shell
kubectl apply -k ./deployment
```This will deploy the following services in `monitoring` namespace:
- Grafana - preconfigured with Prometheus, Loki and Tempo as data sources
- Prometheus
- Loki
- Promtail - preconfigured to push data to Loki
- Tempo## Configuration
Once deployed, access Grafana UI via:
```shell
kubectl port-forward -n monitoring svc/grafana 3000:3000
```Here is [how to guide from Grafana / Loki](https://grafana.com/docs/loki/latest/)
## Why make or use this?
This is an attempt to demystify the different components of [LGTM Stack](https://github.com/grafana/helm-charts/tree/main/charts), deploying the full stack can seem overwhelming, breaking it down to smaller composable pieces will hopefully help you better understand each service and its configuration.
## Source
Our latest and greatest source of grafana-loki-on-k8s can be found on [GitHub]. Fork us!
## Contributing
We would :heart: you to contribute by making a [pull request](https://github.com/saidsef/grafana-loki-on-k8s/pulls).
Please read the official [Contribution Guide](./CONTRIBUTING.md) for more information on how you can contribute.