From ca17d85ddb94e59e6a3a2b1706ea5a665e9dc1f2 Mon Sep 17 00:00:00 2001 From: "Tomoya.Fujita" Date: Thu, 5 Sep 2024 21:15:24 -0700 Subject: [PATCH] cosmetic fixes. Signed-off-by: Tomoya.Fujita --- README.md | 10 ++++++++++ doc/tutorials/Fluentd_Loki_Grafana.md | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/README.md b/README.md index 20489cc..58956b8 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,18 @@ So that user can choose the logging configuration depending on the application r See how it works 🔥 +- rsyslog / FluebtBit + https://github.com/user-attachments/assets/bdb05bf7-92b2-4b9a-8f20-3d3b803a7a86 +- rsyslog / Fluentd / Loki / Grafana + +https://github.com/user-attachments/assets/4a1aae42-5c55-4f31-9198-8c7c246244ca + +## Tutorials + +- [How to integrate with Fluentd / Loki / Grafana](./doc/tutorials/Fluentd_Loki_Grafana.md) + ## Supported [ROS Distribution](https://docs.ros.org/en/rolling/Releases.html) | Distribution | Supported | Note | diff --git a/doc/tutorials/Fluentd_Loki_Grafana.md b/doc/tutorials/Fluentd_Loki_Grafana.md index 266c415..318a3e4 100644 --- a/doc/tutorials/Fluentd_Loki_Grafana.md +++ b/doc/tutorials/Fluentd_Loki_Grafana.md @@ -1,5 +1,29 @@ # How to forward the ros2 log data to [Fluentd](https://www.fluentd.org/) / [Loki](https://grafana.com/oss/loki/) / [Grafana](https://grafana.com/oss/grafana/) +## Overview + +```text + +------------------------------------------------+ + | | + | +---------+ | ++--------+ 514/udp | | | | +| client +-------------> | | ++--------+ | | | | + | | rsyslog | | ++--------+ 514/udp | | | | +| client +-------------> | | ++--------+ | | | | + | +----+----+ | + | | | + | | 5514/tcp | + | | http/3000 + | +----v-----+ +----------+ +------------+ | +-----------+ + | | fluentd +--> loki +--> grafana +------> Browser | + | +----------+ +----------+ +------------+ | +-----------+ + | http/3100 | + +------------------------------------------------+ +``` + ## Installation - [Loki](https://grafana.com/oss/loki/) / [Grafana](https://grafana.com/oss/grafana/)