GithubHelp home page GithubHelp logo

Comments (2)

ThomasVitale avatar ThomasVitale commented on August 20, 2024 1

Hi @ketankvishwakarma, thanks for reporting this issue. The Loki-flavoured image of Fluent Bit used in the book is built for AMD64 architectures. It can still run on Apple Silicon computers thanks to Docker Desktop (which uses the proper virtualisation to make that work), but you get a warning about it. As you noticed, logs are correctly scraped by Fluent Bit, sent to Loki, and browsable from Grafana even on an Apple M2 computer.

For the purpose of the examples in the book, the warning can be ignored. If you'd like to get rid of it, you can update the docker-compose.yml file to configure explicitly that the FluentBit image requires an AMD64 architecture. Docker Desktop, on top of Apple Rosetta, will make it work.

version: "3.8"
services:
    ...
    fluent-bit:
        image: grafana/fluent-bit-plugin-loki:2.6.1-amd64
        container_name: fluent-bit
        platform: linux/amd64
    ...

Unfortunately, Grafana doesn't provide a grafana/fluent-bit-plugin-loki image for ARM64 architectures yet (issue here).

I'm currently working on a setup that uses the full Grafana stack (with Promtail instead of Fluent Bit) and I plan to publish it soon on a new repo on my GitHub together with a bunch of dashboards I've been designing for several Spring Boot scenarios. I'll let you know when that is published.

from cloud-native-spring-in-action.

ketankvishwakarma avatar ketankvishwakarma commented on August 20, 2024

Thanks, @ThomasVitale I am closing this issue now.

from cloud-native-spring-in-action.

Related Issues (20)

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.