Coder Social home page Coder Social logo

allenhaozi / fluent-bit-loki-grafana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from revacomm-pwheeler/fluent-bit-loki-grafana

0.0 0.0 0.0 55 KB

Example Helm deployment of a simple Fluent Bit, Loki, Grafana stack for logging in Kubernetes

fluent-bit-loki-grafana's Introduction

This is a very basic Fluent Bit, Loki, Grafana logging stack with a demonstration workload that generates a lot of logs. The purpose of this demonstration is to show that the native Loki plugin for Fluent Bit is disfunctional by default.

Deployment

  1. Create a Kubernetes 1.21 cluster, using the docker container runtime, with a StorageClass named gp2 (this is the default for an Amazon EKS cluster).
  2. Deploy flux: kustomize build ./flux | kubectl create -f -
  3. Run kustomize build . | kubectl create -f -

Expected Behavior

Given this test workload consisting of two Pods generating a modest 1-2 log messages per second, Fluent Bit and Loki should easily be able to keep up and have logs available in Loki within a few seconds of when the Pod generates them.

Actual Behavior

The logs available in Loki fall further and further behind (you can see this by running a query like {namespace="example"}|json time,log|line_format "{{.log}}"|pattern "<_> <level> <msg>" from Grafana).

Dependencies

fluent-bit-loki-grafana's People

Contributors

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