Giter Site home page Giter Site logo

grafana-loki-on-k8s's Introduction

Grafana, Prometheus, Loki and Promtail

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 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.

I am assuming you are already familiar with Grafana and Prometheus

Prerequisites

  • Kubernetes Cluster >= v1.23
  • Familiarity with Grafana, Prometheus, Loki and Promtail
  • ...
  • Profit?

Deployment

kubectl apply -k ./deployment

This will deploy the following services in monitoring namespace:

  • Grafana - preconfigured with Prometheus and Loki as data sources
  • Prometheus
  • Loki
  • Promtail - preconfigured to push data to Loki

Configuration

Once deployed, access Grafana UI via:

kubectl port-forward -n monitoring svc/grafana 3000:3000

Here is how to guide from Grafana / Loki

Why make or use this?

This is an attempt to demystify the different components of Loki Stack, 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 ❤️ you to contribute by making a pull request.

Please read the official Contribution Guide for more information on how you can contribute.

grafana-loki-on-k8s's People

Contributors

saidsef avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.