SlideShare a Scribd company logo
從 Grafana 全家餐學習 O11y
HungWei Chiu, 07/30/2023, COSCUP 2023
1
供TSMC教育訓練⽤
Who Am I
• 邱宏瑋(HungWei Chiu)
• Cloud Native Taiwan User Group 志⼯
• 個⼈網站: https://hwchiu.com
• 個⼈粉絲⾴: 矽⾕⽜的耕⽥筆記
• 著有書籍「矽⾕⼯程師教你 Kubernetes, 史上最全 CI/CD 中⽂應⽤指南」
• Kubernetes 企業顧問與教育訓練
• Microsoft MVP (Cloud and Data Center Management)
2
Observability
• Observability can typically be categorized into three areas:
• Metrics
• Logging
• Tracing
• Each area has its own technology stack to facilitate effective monitoring
and understanding of systems and applications.
3
Observability
4
Metrics Logs Tracing
Observability
• All technology stacks share very similar components in their work
f
low
• Application
• Collector
• Processor/Analyzer
• Visualizer
• These components play vital roles in the observability process, helping to
gather, analyze, and visualize data from various sources to gain valuable
insights into system performance and behavior.
5
Observability
• Potential Challenge
• Deployment/Installation
• Architecture
• Con
f
iguration
• Turning
• Troubleshooting
• User Interface
• User Management + Authentication/Authorization
• Multi Tenancy
6
Observability
• We need to provide a user-friendly UI for developers to view metrics, logs,
and tracing data.
• Grafana, Kibana, and OpenTelemetry
• Developers should be able to use a single account (username/password) to
access all these services.
• System administrators should have an effortless way to manage user
permissions, based on user/group/role assignments, and more.
• Additionally, easy integration with external user management services
like LDAP, OIDC, Keycloak, AzureAD, Google OAuth
7
Grafana Lab
• Grafana Labs has expanded its horizons and actively developed multiple open-
source projects in the Observability (O11y) domain, extending beyond Grafana
itself.
• Grafana serves as the uni
f
ied UI for various components
• Metrics/Logs/Tracing
• Mimir/Loki+Promtail/Tempo
• Agent
• Pro
f
iling
• Phlare -> Pyroscope
8
Metrics
• Prometheus
• Thanos
• Cortex
• VictoriaMetrics
• Mimi
• Grafana
• …etc
9
Metrics
10
Metrics
11
Prometheus
• Not a long-term storage solution
• Local Disk Only
• Not designed to be scaled horizontally
• Have to leverage on remote_write/remote_read
• People usually opt for other solutions in production environment
12
Prometheus Agent
13
Prometheus Agent
14
Grafana Mimir
• Similar to other solutions
• Cortex, VictoriaMetrics, Thanos
• Long term storage solution for Prometheus
• Based on object storage
• Same as Cortex/Thanos
• VictoriaMetrics is block storage based
• High Availability
• Scalability (Microservice-based architecture)
15
Grafana Mimir
16
Grafana Agent
• Grafana Lab wants to extends its ability
• The new OSS Grafana agent, which has implemented all function same as
Prometheus Agent.
• v0.35.0
• PoC
f
irst before applying to production environment.
• Supports all Prometheus CRD, you can easily migrate from Prometheus
Operator.
17
Grafana Mimir
18
Metrics Mimir
19
• Mimir has a microservice-based architecture, has multiple horizontally
scalable services that can run separately and in parallel.
• All functions are complied into a single binary and we can specify what
function(components) that service should behave as.
• Support 3 different deployment modes
• Monolithic
• Read-Write
• Microservice mode
Metrics Mimir
20
• Major components
• Compactor
• Distributor
• Ingester
• Querier
• Query-frontend
• Store-gateway
Metrics Mimir
21
Monolithic
22
ReadWrite
23
Microservice Mode
24
Logging
• EFK and other alternative
• ELF…etc
• Opensearch
• Graylog
• Vector
• Grafana Loki
25
Logging
26
Logging
• EFK/ELK/Opensearch is a widely recognized logging solution stack.
• However, for most users, their primary requirement is log collection and
f
iltering,
which isn't the main focus of Elasticsearch's extensive capabilities.
• Managing Elasticsearch can be quite complex due to its clustered nature.
• If your logging needs don't involve index-based analysis and you seek a more
straightforward solution, Grafana Loki is worth considering.
• Grafana's uni
f
ied GUI serves as the central interface for all aspects
• Loki can ef
f
iciently handle logging data without the complexities of a full
Elasticsearch setup. This makes it an appealing choice for logging-speci
f
ic use
cases.
27
Logging
28
Logging
• Loki provides support for various log collectors, including
f
luent-bit,
f
luentd, logstash, and others
• Grafana offers its lightweight log collector called Promtail.
• Grafana agent is also capable of collecting log messages.
29
Logging
30
Logging
31
Loki
• Loki is a horizontally scalable, high available, multi tenant log aggregation system.
• It’s designed to be very cost effective and easy to operate
• Object storage
• It doesn’t index the content of the logs, only the set of labels.
• Has its own LogQL query language.
• Support 3 different deployment mode
• Monolithic
• Read-Write
• Microservice mode
32
Loki
• Very similar to the Mimir, Loki has the following components
• Distributor
• Ingestor
• Query-frontend
• Querier
• If you understand how Mimir works, you can quickly grasp how Loki
functions as well
33
Tracing
• Zipkin
• Jaeger
• OpenTelemetry
• Tempo
• ….etc
34
Tempo
35
Tempo
• People sometimes got confused about Jaeger and Otel components
• More projects, more complexity
• Grafana has developed the solution for distributed tracing, Tempo
• Tempo is a cost-effect, easy to operate, high-volume distributed tracing
backend.
• Object storage for long term storage, Redis/Memcached for increased
performance.
• microservice-based architecture
36
Tempo
• Support tracing from
• Jaeger
• Zipkin
• OpenTelemetry
• Flexible, you can chain any components in your data path.
• Highly integrated with Grafana, Mimir, Prometheus and Loki
• Couple metrics, logs and tracing in the single GUI to enhance
troubleshooting experience.
37
Tempo
38
Tempo
• Tempo’s architecture is similar to Mimic and Loki, has the following
components
• Distributor
• Ingestor
• Query-Frontend
• Querier
• Compactor
• Metrics-generator
39
Tempo
40
Tempo
• Currently, it supports
• Monolithic
• Microservice mode
41
Others
42
Others
43
Others
• Continuous Pro
f
iling
• Grafana Phlare
• Was archived after Grafana acquired Pyroscope on 2023-03-15
• Maybe we will see the periscope solution in the Grafana ecosystem
soon.
44
Thanks
45

More Related Content

What's hot (20)

PDF
Introduction and Deep Dive Into Containerd
Kohei Tokunaga
 
PDF
containerdの概要と最近の機能
Kohei Tokunaga
 
PDF
Blazing Performance with Flame Graphs
Brendan Gregg
 
PDF
Room 2 - 6 - Đinh Tuấn Phong - Migrate opensource database to Kubernetes easi...
Vietnam Open Infrastructure User Group
 
PDF
わかる!metadata.managedFields / Kubernetes Meetup Tokyo 48
Preferred Networks
 
PPTX
Dockerからcontainerdへの移行
Akihiro Suda
 
PPTX
CI/CD trên Cloud OpenStack tại Viettel Networks | Hà Minh Công, Phạm Tường Chiến
Vietnam Open Infrastructure User Group
 
PDF
BuildKitの概要と最近の機能
Kohei Tokunaga
 
PDF
DockerとKubernetesをかけめぐる
Kohei Tokunaga
 
PDF
Introduction to GitHub Actions
Bo-Yi Wu
 
PDF
ゼロからはじめるKVM超入門
VirtualTech Japan Inc.
 
PDF
Prometheus at Preferred Networks
Preferred Networks
 
PDF
Learned from KIND
HungWei Chiu
 
PDF
LINE LIVE のチャットが
30,000+/min のコメント投稿を捌くようになるまで
LINE Corporation
 
PPTX
Présentation de git
Julien Blin
 
PDF
Kubernetes Introduction
Peng Xiao
 
PDF
Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~
Masahito Zembutsu
 
PDF
Stargz Snapshotter: イメージのpullを省略しcontainerdでコンテナを高速に起動する
Kohei Tokunaga
 
PDF
Introduction to Nexus Repository Manager.pdf
Knoldus Inc.
 
PDF
Dockerからcontainerdへの移行
Kohei Tokunaga
 
Introduction and Deep Dive Into Containerd
Kohei Tokunaga
 
containerdの概要と最近の機能
Kohei Tokunaga
 
Blazing Performance with Flame Graphs
Brendan Gregg
 
Room 2 - 6 - Đinh Tuấn Phong - Migrate opensource database to Kubernetes easi...
Vietnam Open Infrastructure User Group
 
わかる!metadata.managedFields / Kubernetes Meetup Tokyo 48
Preferred Networks
 
Dockerからcontainerdへの移行
Akihiro Suda
 
CI/CD trên Cloud OpenStack tại Viettel Networks | Hà Minh Công, Phạm Tường Chiến
Vietnam Open Infrastructure User Group
 
BuildKitの概要と最近の機能
Kohei Tokunaga
 
DockerとKubernetesをかけめぐる
Kohei Tokunaga
 
Introduction to GitHub Actions
Bo-Yi Wu
 
ゼロからはじめるKVM超入門
VirtualTech Japan Inc.
 
Prometheus at Preferred Networks
Preferred Networks
 
Learned from KIND
HungWei Chiu
 
LINE LIVE のチャットが
30,000+/min のコメント投稿を捌くようになるまで
LINE Corporation
 
Présentation de git
Julien Blin
 
Kubernetes Introduction
Peng Xiao
 
Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~
Masahito Zembutsu
 
Stargz Snapshotter: イメージのpullを省略しcontainerdでコンテナを高速に起動する
Kohei Tokunaga
 
Introduction to Nexus Repository Manager.pdf
Knoldus Inc.
 
Dockerからcontainerdへの移行
Kohei Tokunaga
 

Similar to Learn O11y from Grafana ecosystem. (20)

PDF
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
NETWAYS
 
PDF
OSMC 2022 | The Power of Metrics, Logs & Traces with Open Source by Emil-Andr...
NETWAYS
 
PDF
Grafana overview deck - Tech - 2023 May v1.pdf
BillySin5
 
PDF
Monitoring&Logging - Stanislav Kolenkin
Kuberton
 
PDF
VictoriaLogs: Open Source Log Management System - Preview
VictoriaMetrics
 
PDF
Intro to open source observability with grafana, prometheus, loki, and tempo(...
LibbySchulze
 
PPTX
Discover How IBM Uses InfluxDB and Grafana to Help Clients Monitor Large Prod...
InfluxData
 
PDF
capitulando la keynote de GrafanaCON 2025 - Madrid
Imma Valls Bernaus
 
PDF
Recapitulando la keynote de GrafanaCON 2025 - Barcelona
Imma Valls Bernaus
 
PDF
OSMC 2019 | Grafana Loki: Like Prometheus, but for Logs by Ganesh Vernekar
NETWAYS
 
PPT
Monitoring using Prometheus and Grafana
Arvind Kumar G.S
 
PDF
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
PPTX
Monitoring_with_Prometheus_Grafana_Tutorial
Tim Vaillancourt
 
PDF
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Knoldus Inc.
 
PPTX
Rootconf 2017 - State of the Open Source monitoring landscape
NETWAYS
 
PDF
Torch the light - Implementing Observability for Microservice Architectures
Sven Bernhardt
 
PDF
Recapitulando la keynote de GrafanaCON 2025 - Barcelona
Imma Valls Bernaus
 
PDF
ROMA NOVIKOV, BAQ, "Prometheus + grafana based monitoring"
Dakiry
 
PPTX
Tech talk microservices debugging
Andrey Kolodnitsky
 
PPTX
Debugging Microservices - key challenges and techniques - Microservices Odesa...
Lohika_Odessa_TechTalks
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
NETWAYS
 
OSMC 2022 | The Power of Metrics, Logs & Traces with Open Source by Emil-Andr...
NETWAYS
 
Grafana overview deck - Tech - 2023 May v1.pdf
BillySin5
 
Monitoring&Logging - Stanislav Kolenkin
Kuberton
 
VictoriaLogs: Open Source Log Management System - Preview
VictoriaMetrics
 
Intro to open source observability with grafana, prometheus, loki, and tempo(...
LibbySchulze
 
Discover How IBM Uses InfluxDB and Grafana to Help Clients Monitor Large Prod...
InfluxData
 
capitulando la keynote de GrafanaCON 2025 - Madrid
Imma Valls Bernaus
 
Recapitulando la keynote de GrafanaCON 2025 - Barcelona
Imma Valls Bernaus
 
OSMC 2019 | Grafana Loki: Like Prometheus, but for Logs by Ganesh Vernekar
NETWAYS
 
Monitoring using Prometheus and Grafana
Arvind Kumar G.S
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Monitoring_with_Prometheus_Grafana_Tutorial
Tim Vaillancourt
 
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Knoldus Inc.
 
Rootconf 2017 - State of the Open Source monitoring landscape
NETWAYS
 
Torch the light - Implementing Observability for Microservice Architectures
Sven Bernhardt
 
Recapitulando la keynote de GrafanaCON 2025 - Barcelona
Imma Valls Bernaus
 
ROMA NOVIKOV, BAQ, "Prometheus + grafana based monitoring"
Dakiry
 
Tech talk microservices debugging
Andrey Kolodnitsky
 
Debugging Microservices - key challenges and techniques - Microservices Odesa...
Lohika_Odessa_TechTalks
 
Ad

More from HungWei Chiu (20)

PDF
以 eBPF 構建一個更為堅韌的 Kubernetes 叢集
HungWei Chiu
 
PDF
Learning how AWS implement AWS VPC CNI
HungWei Chiu
 
PDF
Jenkins & IaC
HungWei Chiu
 
PDF
The relationship between Docker, Kubernetes and CRI
HungWei Chiu
 
PDF
Life
HungWei Chiu
 
PDF
Introduction to CRI and OCI
HungWei Chiu
 
PDF
IP Virtual Server(IPVS) 101
HungWei Chiu
 
PDF
Opentracing 101
HungWei Chiu
 
PDF
iptables and Kubernetes
HungWei Chiu
 
PDF
IPTABLES Introduction
HungWei Chiu
 
PDF
Open vSwitch Introduction
HungWei Chiu
 
PDF
Load Balancing 101
HungWei Chiu
 
PDF
How Networking works with Data Science
HungWei Chiu
 
PDF
Introduction to CircleCI
HungWei Chiu
 
PDF
Head First to Container&Kubernetes
HungWei Chiu
 
PDF
Kubernetes 1001
HungWei Chiu
 
PDF
Application-Based Routing
HungWei Chiu
 
PDF
Build Your Own CaaS (Container as a Service)
HungWei Chiu
 
PDF
Control Your Network ASICs, What Benefits switchdev Can Bring Us
HungWei Chiu
 
PDF
Automatically Renew Certificated In Your Kubernetes Cluster
HungWei Chiu
 
以 eBPF 構建一個更為堅韌的 Kubernetes 叢集
HungWei Chiu
 
Learning how AWS implement AWS VPC CNI
HungWei Chiu
 
Jenkins & IaC
HungWei Chiu
 
The relationship between Docker, Kubernetes and CRI
HungWei Chiu
 
Introduction to CRI and OCI
HungWei Chiu
 
IP Virtual Server(IPVS) 101
HungWei Chiu
 
Opentracing 101
HungWei Chiu
 
iptables and Kubernetes
HungWei Chiu
 
IPTABLES Introduction
HungWei Chiu
 
Open vSwitch Introduction
HungWei Chiu
 
Load Balancing 101
HungWei Chiu
 
How Networking works with Data Science
HungWei Chiu
 
Introduction to CircleCI
HungWei Chiu
 
Head First to Container&Kubernetes
HungWei Chiu
 
Kubernetes 1001
HungWei Chiu
 
Application-Based Routing
HungWei Chiu
 
Build Your Own CaaS (Container as a Service)
HungWei Chiu
 
Control Your Network ASICs, What Benefits switchdev Can Bring Us
HungWei Chiu
 
Automatically Renew Certificated In Your Kubernetes Cluster
HungWei Chiu
 
Ad

Recently uploaded (20)

PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 

Learn O11y from Grafana ecosystem.

  • 1. 從 Grafana 全家餐學習 O11y HungWei Chiu, 07/30/2023, COSCUP 2023 1
  • 2. 供TSMC教育訓練⽤ Who Am I • 邱宏瑋(HungWei Chiu) • Cloud Native Taiwan User Group 志⼯ • 個⼈網站: https://hwchiu.com • 個⼈粉絲⾴: 矽⾕⽜的耕⽥筆記 • 著有書籍「矽⾕⼯程師教你 Kubernetes, 史上最全 CI/CD 中⽂應⽤指南」 • Kubernetes 企業顧問與教育訓練 • Microsoft MVP (Cloud and Data Center Management) 2
  • 3. Observability • Observability can typically be categorized into three areas: • Metrics • Logging • Tracing • Each area has its own technology stack to facilitate effective monitoring and understanding of systems and applications. 3
  • 5. Observability • All technology stacks share very similar components in their work f low • Application • Collector • Processor/Analyzer • Visualizer • These components play vital roles in the observability process, helping to gather, analyze, and visualize data from various sources to gain valuable insights into system performance and behavior. 5
  • 6. Observability • Potential Challenge • Deployment/Installation • Architecture • Con f iguration • Turning • Troubleshooting • User Interface • User Management + Authentication/Authorization • Multi Tenancy 6
  • 7. Observability • We need to provide a user-friendly UI for developers to view metrics, logs, and tracing data. • Grafana, Kibana, and OpenTelemetry • Developers should be able to use a single account (username/password) to access all these services. • System administrators should have an effortless way to manage user permissions, based on user/group/role assignments, and more. • Additionally, easy integration with external user management services like LDAP, OIDC, Keycloak, AzureAD, Google OAuth 7
  • 8. Grafana Lab • Grafana Labs has expanded its horizons and actively developed multiple open- source projects in the Observability (O11y) domain, extending beyond Grafana itself. • Grafana serves as the uni f ied UI for various components • Metrics/Logs/Tracing • Mimir/Loki+Promtail/Tempo • Agent • Pro f iling • Phlare -> Pyroscope 8
  • 9. Metrics • Prometheus • Thanos • Cortex • VictoriaMetrics • Mimi • Grafana • …etc 9
  • 12. Prometheus • Not a long-term storage solution • Local Disk Only • Not designed to be scaled horizontally • Have to leverage on remote_write/remote_read • People usually opt for other solutions in production environment 12
  • 15. Grafana Mimir • Similar to other solutions • Cortex, VictoriaMetrics, Thanos • Long term storage solution for Prometheus • Based on object storage • Same as Cortex/Thanos • VictoriaMetrics is block storage based • High Availability • Scalability (Microservice-based architecture) 15
  • 17. Grafana Agent • Grafana Lab wants to extends its ability • The new OSS Grafana agent, which has implemented all function same as Prometheus Agent. • v0.35.0 • PoC f irst before applying to production environment. • Supports all Prometheus CRD, you can easily migrate from Prometheus Operator. 17
  • 19. Metrics Mimir 19 • Mimir has a microservice-based architecture, has multiple horizontally scalable services that can run separately and in parallel. • All functions are complied into a single binary and we can specify what function(components) that service should behave as. • Support 3 different deployment modes • Monolithic • Read-Write • Microservice mode
  • 20. Metrics Mimir 20 • Major components • Compactor • Distributor • Ingester • Querier • Query-frontend • Store-gateway
  • 25. Logging • EFK and other alternative • ELF…etc • Opensearch • Graylog • Vector • Grafana Loki 25
  • 27. Logging • EFK/ELK/Opensearch is a widely recognized logging solution stack. • However, for most users, their primary requirement is log collection and f iltering, which isn't the main focus of Elasticsearch's extensive capabilities. • Managing Elasticsearch can be quite complex due to its clustered nature. • If your logging needs don't involve index-based analysis and you seek a more straightforward solution, Grafana Loki is worth considering. • Grafana's uni f ied GUI serves as the central interface for all aspects • Loki can ef f iciently handle logging data without the complexities of a full Elasticsearch setup. This makes it an appealing choice for logging-speci f ic use cases. 27
  • 29. Logging • Loki provides support for various log collectors, including f luent-bit, f luentd, logstash, and others • Grafana offers its lightweight log collector called Promtail. • Grafana agent is also capable of collecting log messages. 29
  • 32. Loki • Loki is a horizontally scalable, high available, multi tenant log aggregation system. • It’s designed to be very cost effective and easy to operate • Object storage • It doesn’t index the content of the logs, only the set of labels. • Has its own LogQL query language. • Support 3 different deployment mode • Monolithic • Read-Write • Microservice mode 32
  • 33. Loki • Very similar to the Mimir, Loki has the following components • Distributor • Ingestor • Query-frontend • Querier • If you understand how Mimir works, you can quickly grasp how Loki functions as well 33
  • 34. Tracing • Zipkin • Jaeger • OpenTelemetry • Tempo • ….etc 34
  • 36. Tempo • People sometimes got confused about Jaeger and Otel components • More projects, more complexity • Grafana has developed the solution for distributed tracing, Tempo • Tempo is a cost-effect, easy to operate, high-volume distributed tracing backend. • Object storage for long term storage, Redis/Memcached for increased performance. • microservice-based architecture 36
  • 37. Tempo • Support tracing from • Jaeger • Zipkin • OpenTelemetry • Flexible, you can chain any components in your data path. • Highly integrated with Grafana, Mimir, Prometheus and Loki • Couple metrics, logs and tracing in the single GUI to enhance troubleshooting experience. 37
  • 39. Tempo • Tempo’s architecture is similar to Mimic and Loki, has the following components • Distributor • Ingestor • Query-Frontend • Querier • Compactor • Metrics-generator 39
  • 41. Tempo • Currently, it supports • Monolithic • Microservice mode 41
  • 44. Others • Continuous Pro f iling • Grafana Phlare • Was archived after Grafana acquired Pyroscope on 2023-03-15 • Maybe we will see the periscope solution in the Grafana ecosystem soon. 44