Git Product home page Git Product logo

2023-summer-series's Introduction

Summer Series 2023 - Ops & Best Practices

Table of Contents

Topics to cover

Architecture patterns

  • Summary of the different ways to deploy fluent-bit to be discussed

Kubernetes

Deploying as a DaemonSet
  • Display a 2 nodes k8s cluster
  • Show the config details of the daemonset
  • Show the configs in Prometheus deployment
  • Publish Prometheus and show the metrics available
  • Optionally show the metrics in Grafana
Deploying as a sidecar
  • Show the config details of the sidecar
  • Display sample app with a fbit sidecar grabbing logs and sending them to stdout (or external service if prep time permits)

Host

Deploying as agent
  • Installing from packages. It installs as a service
  • Show prometheus configuration (target)
  • Show metrics in prometheus
  • Show the metrics in Grafana

*Prometheus remote write

Monitoring

Different metrics we have

  • Formats

  • Plugins

    • Records/bytes
    • Files
    • Drops
    • Errors
    • Retries
  • Storage

    • Chunks
    • Memory
  • Filters

    • Records/bytes
    • Add/drop
    • Totals
  • Others

    • Overlimit
    • Uptime

How to monitor

  • Show the dashboard in Grafana
  • Show known patterns
    • Show images or run script to simulate
    • How to analyze the case?
    • What can be done? (briefly, this could vary depending on the environment)
  • Patterns to show
    • Backpressure
    • Retries (with and without backpressure)
    • Drops
    • Ingestion drop

Troubleshooting

Cases

  • Data is not flowing
  • Corrupted and rejected messages
  • Formatting is incorrect

Tooling

  • Tap/trace
  • Chunk inspector

Tuning

What should be tuned?

  • Are we forwarding or processing?
  • What are the bottlenecks, limits, goals, constraints, tradeoffs?
  • What are the risks, costs, benefits, alternatives?
  • What are the assumptions, dependencies, requirements?

What can be tuned

  • Input
    • Threaded
    • Processors
  • Output
    • Workers
    • Storage limits
    • Processors
  • Buffering
    • Buffer_chunk_size
    • Buffer_max_size
    • Static files, others
  • Filters
  • Storage
  • Parsers
    • Built in
    • Multiline
    • Regex
  • Others

2023-summer-series's People

Contributors

lecaros avatar

Watchers

 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.