SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
The Power of Metrics, Logs &
Traces with Open Source
● Loves running
● Baking sourdough bread
https: //www.linkedin.com/in/emil-andreas-siemes-a793926/
Emil Siemes
Principal Solutions Engineer
1000+ Employees across
40+ countries
(50+ in Germany)
1M+
Instances across
LGTM Cloud and
OSS
13M+ Users across OSS
and Cloud Free tier
Founded in 2014
We help our customers Build and Operate
resilient systems,
to provide reliable services to their
customers.
Investing in the core of observability
Prometheus
Largest contributor - employs
44% of Prometheus
maintainers
Open source is at the of what we do
GRAFANA
Vizualize, Correlate & Alert
on Multi-sourced Data
Grafana LOKI
Highly Scalable Log
Aggregation
Grafana MIMIR
Scalable & Performant
backend for all
time-series metrics
Graphite
Leading contributor on
Graphite
Grafana TEMPO
Highly Scalable &
Cost Effective Tracing
OpenTelemetry
Large contributor - employs
maintainters; first class
support in Grafana
K6
Modern load testing
built for developers
Grafana On-Call
Oncall management
system with simple
workflow integrated with
your telemetry
Prometheus
Largest contributor - employs
44% of Prometheus
maintainers
Open source is at the of what we do
GRAFANA
Vizualize, Correlate & Alert
on Multi-sourced Data
Grafana LOKI
Highly Scalable Log
Aggregation
Grafana MIMIR
Scalable & Performant
backend for all
time-series metrics
Graphite
Leading contributor on
Graphite
Grafana TEMPO
Highly Scalable &
Cost Effective Tracing
OpenTelemetry
Large contributor - employs
maintainters; first class
support in Grafana
K6
Modern load testing
built for developers
Grafana On-Call
Oncall management
system with simple
workflow integrated with
your telemetry
Deployment Flexibility
Open-source | Enterprise | Grafana Cloud
Big tent
Flexibility and openness without limits to integrate 3rd
party data
Observability by open source
A modern, complete and highly modulable platform fully
built on OSS
A Unique Philosophy : Regain Control Over Your
Observability Strategy
LGTM: A prometheus inspired O11y stack
Tempo
Backend compatible
with OpenTelemtry,
inexpensive at scale,
100% sampling is
possible
Loki
Low TCO, Highly
scalable and easy to
operate logging
system
Mimir
Highly scalable, highly
available multi-tenant,
durable storage
drop-in replacement
for Prometheus
Correlation by design to reduce MTTR
Exemplars
Labels & service discovery
{service="foo", region="eu-west",
instance="node-123"}
Auto-generated
metrics
Logs for trace
TraceID in logs
Logs to metrics
extraction
S3
Frontend application
observability
Frontend
Backend
infrastructure
An open source web SDK for
frontend application observability
Frontend Application Observability
in Grafana Cloud
Fully managed offering for capturing, visualizing,
and analyzing frontend application telemetry data within
Grafana Cloud, powered by Grafana Faro
PRIVATE BETA available today for Grafana Cloud customers
Getting started with Grafana Faro is super simple
Install the Grafana Faro Web SDK:
Import it into your app:
npm install @grafana/faro-web-sdk
import { initializeFaro } from '@grafana/faro-web-sdk'
initializeFaro({
url: '<http://my-endpoint>',
apiKey: '<api_key>',
app: { name: 'my-app' },
});
Loki
Out-of-order ingestion
Simplified deployment
Promtail Kafka support
Regex performance improvements
Parallelized binary ops in queries
Improved tail latencies with request hedging
Promtail Cloudflare, Docker, and Graylog support
Query multiple tenants at once
Faster instant queries
Filter & delete certain log lines
July 2022
April 2022
Nov. 2021
Loki v2.4.0
Loki v2.5.0
Loki v2.6.0
Loki v2.7.0
Coming soon
50%
Less CPU
4x
Faster queries
COMING SOON
Node #1
Node #2 Loki
Promtail
Promtail
Grafana
logcli
AlertManager
REST
API
Object
Storage
Overview
Node #n
Promtail
@160014567432
Timestamp Value
22346
Labels/Selectors
key-value pairs
{app=”nginx”, env=”dev”}
Metric name
http_request
The Prometheus storage model
2019-12-11T10:01:02.123456789Z {app=”nginx”, env=”dev”}
Timestamp
with nanosecond precision Content log line
Labels/Selectors
key-value pairs
indexed unindexed
GET /about 1034 Debug “page not found”
Object
Storage
Object
Storage
Aka “the index” Aka “chunks”
The Loki storage model
● Log any and all formats
● Smaller indexes
● Cheaper to run
● Fast queries
● Cut and slice your logs in dynamic ways
Grafana Loki
Query time processing
VS
● Decide on log formats
● Larger indexes
● More expensive to run
● Faster queries
● Restricted to format chosen at ingestion time
Traditional solutions
Ingest time processing
The better tradeoff
10TB 200MB
Log Data Index
Think of it more like a table of contents than an index.
Loki does not index the contents of the logs. Instead, entries are
grouped into streams and indexed with Prometheus-style labels.
Efficient log storage
1PB 80TB
Raw Logs Label match Brute force search -
heavily parallelized
Time frame
1TB 120GB+/s
Fast queries
Think of it as massively distributed grep.
Per Second A day A month Active tenants
700MB 43TB 1.25PB 4500
170Cores 1TB RAM
27
Large cluster in Grafana Cloud
{cluster=”us-central1”, job=~”dev/loki-.*”} |= “trace_id=7ca877dbda” |~ "SeriesStore.*"
Label matchers
● = contains string.
● != does not contain string.
● =~ matches regular expression.
● !~ does not match regular expression.
Filter expressions
● |= contains string.
● != does not contain string.
● |~ matches regular expression.
● !~ does not match regular expression.
LogQL: Log queries
Parser expressions
Formatter expressions
sum by (host) (rate({job="mysql"} |= "error" != "timeout" | json | duration > 10s [1m]))
Range vector aggregations
● rate() / bytes_rate()
● count_over_time() / bytes_over_time() /
absent_over_time()
● sum_over_time() / avg_over_time() /
min_over_time() / max_over_time () *
Instant vector aggregations
● sum() / min() / max() / avg()
● stddev() / stdvar()
● count()
● topk() / bottomk()
* Unwrapped range aggregations
LogQL: Metric queries
Grafana Agent
Promtail
● Targets discovery for Kubernetes, Syslog, files and more
● Automatically attach labels to your log lines
● Advanced pipeline mechanism for parsing, transforming and
filtering your logs
● Build and expose custom metrics from your logs data
But Loki is open.
logstash Lambda
Loki makes log collection easy
Single Binary
- Testing
- Small installations
without HA or
horizontal scaling
needs
SSD or
Microservices
- Horizontal scalability
- Separate Read/Write
paths
- Large installations
Grafana Cloud
● Batteries included:
○ Multi-tenant
○ Automatic scaling
and upgrades
○ RBAC
○ Per tenant QoS
Enterprise Logs
● Self hosted
● Supported by Grafana
Labs
● Security out of the box
● Part of the GES stack
31
How to run Loki
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

OpenTelemetry For Developers
OpenTelemetry For DevelopersOpenTelemetry For Developers
OpenTelemetry For DevelopersKevin Brockhoff
 
Getting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and GrafanaGetting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and GrafanaSyah Dwi Prihatmoko
 
Monitoring Kubernetes with Prometheus
Monitoring Kubernetes with PrometheusMonitoring Kubernetes with Prometheus
Monitoring Kubernetes with PrometheusGrafana Labs
 
Prometheus - basics
Prometheus - basicsPrometheus - basics
Prometheus - basicsJuraj Hantak
 
Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)Brian Brazil
 
KCD-OpenTelemetry.pdf
KCD-OpenTelemetry.pdfKCD-OpenTelemetry.pdf
KCD-OpenTelemetry.pdfRui Liu
 
Observability, Distributed Tracing, and Open Source: The Missing Primer
Observability, Distributed Tracing, and Open Source: The Missing PrimerObservability, Distributed Tracing, and Open Source: The Missing Primer
Observability, Distributed Tracing, and Open Source: The Missing PrimerVMware Tanzu
 
Explore your prometheus data in grafana - Promcon 2018
Explore your prometheus data in grafana - Promcon 2018Explore your prometheus data in grafana - Promcon 2018
Explore your prometheus data in grafana - Promcon 2018Grafana Labs
 
Monitoring using Prometheus and Grafana
Monitoring using Prometheus and GrafanaMonitoring using Prometheus and Grafana
Monitoring using Prometheus and GrafanaArvind Kumar G.S
 
Everything You wanted to Know About Distributed Tracing
Everything You wanted to Know About Distributed TracingEverything You wanted to Know About Distributed Tracing
Everything You wanted to Know About Distributed TracingAmuhinda Hungai
 
Understanding and Extending Prometheus AlertManager
Understanding and Extending Prometheus AlertManagerUnderstanding and Extending Prometheus AlertManager
Understanding and Extending Prometheus AlertManagerLee Calcote
 
Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With PrometheusKnoldus Inc.
 
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...NETWAYS
 
Grafana Mimir and VictoriaMetrics_ Performance Tests.pptx
Grafana Mimir and VictoriaMetrics_ Performance Tests.pptxGrafana Mimir and VictoriaMetrics_ Performance Tests.pptx
Grafana Mimir and VictoriaMetrics_ Performance Tests.pptxRomanKhavronenko
 
OpenTelemetry Introduction
OpenTelemetry Introduction OpenTelemetry Introduction
OpenTelemetry Introduction DimitrisFinas1
 
Grafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for LogsGrafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for LogsMarco Pracucci
 
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...Tonny Adhi Sabastian
 

Was ist angesagt? (20)

OpenTelemetry For Developers
OpenTelemetry For DevelopersOpenTelemetry For Developers
OpenTelemetry For Developers
 
Getting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and GrafanaGetting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and Grafana
 
Monitoring Kubernetes with Prometheus
Monitoring Kubernetes with PrometheusMonitoring Kubernetes with Prometheus
Monitoring Kubernetes with Prometheus
 
Prometheus - basics
Prometheus - basicsPrometheus - basics
Prometheus - basics
 
Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)
 
KCD-OpenTelemetry.pdf
KCD-OpenTelemetry.pdfKCD-OpenTelemetry.pdf
KCD-OpenTelemetry.pdf
 
Observability, Distributed Tracing, and Open Source: The Missing Primer
Observability, Distributed Tracing, and Open Source: The Missing PrimerObservability, Distributed Tracing, and Open Source: The Missing Primer
Observability, Distributed Tracing, and Open Source: The Missing Primer
 
Explore your prometheus data in grafana - Promcon 2018
Explore your prometheus data in grafana - Promcon 2018Explore your prometheus data in grafana - Promcon 2018
Explore your prometheus data in grafana - Promcon 2018
 
Monitoring using Prometheus and Grafana
Monitoring using Prometheus and GrafanaMonitoring using Prometheus and Grafana
Monitoring using Prometheus and Grafana
 
Everything You wanted to Know About Distributed Tracing
Everything You wanted to Know About Distributed TracingEverything You wanted to Know About Distributed Tracing
Everything You wanted to Know About Distributed Tracing
 
Understanding and Extending Prometheus AlertManager
Understanding and Extending Prometheus AlertManagerUnderstanding and Extending Prometheus AlertManager
Understanding and Extending Prometheus AlertManager
 
InfluxDB & Grafana
InfluxDB & GrafanaInfluxDB & Grafana
InfluxDB & Grafana
 
Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With Prometheus
 
Prometheus 101
Prometheus 101Prometheus 101
Prometheus 101
 
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
 
Grafana Mimir and VictoriaMetrics_ Performance Tests.pptx
Grafana Mimir and VictoriaMetrics_ Performance Tests.pptxGrafana Mimir and VictoriaMetrics_ Performance Tests.pptx
Grafana Mimir and VictoriaMetrics_ Performance Tests.pptx
 
OpenTelemetry Introduction
OpenTelemetry Introduction OpenTelemetry Introduction
OpenTelemetry Introduction
 
Grafana.pptx
Grafana.pptxGrafana.pptx
Grafana.pptx
 
Grafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for LogsGrafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for Logs
 
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
 

Ähnlich wie OSMC 2022 | The Power of Metrics, Logs & Traces with Open Source by Emil-Andreas Siemes

Grafana overview deck - Tech - 2023 May v1.pdf
Grafana overview deck  - Tech - 2023 May v1.pdfGrafana overview deck  - Tech - 2023 May v1.pdf
Grafana overview deck - Tech - 2023 May v1.pdfBillySin5
 
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)Spark Summit
 
Google Cloud Next '22 Recap: Serverless & Data edition
Google Cloud Next '22 Recap: Serverless & Data editionGoogle Cloud Next '22 Recap: Serverless & Data edition
Google Cloud Next '22 Recap: Serverless & Data editionDaniel Zivkovic
 
Spark Development Lifecycle at Workday - ApacheCon 2020
Spark Development Lifecycle at Workday - ApacheCon 2020Spark Development Lifecycle at Workday - ApacheCon 2020
Spark Development Lifecycle at Workday - ApacheCon 2020Pavel Hardak
 
Apache Spark Development Lifecycle @ Workday - ApacheCon 2020
Apache Spark Development Lifecycle @ Workday - ApacheCon 2020Apache Spark Development Lifecycle @ Workday - ApacheCon 2020
Apache Spark Development Lifecycle @ Workday - ApacheCon 2020Eren Avşaroğulları
 
Scale Your Load Balancer from 0 to 1 million TPS on Azure
Scale Your Load Balancer from 0 to 1 million TPS on AzureScale Your Load Balancer from 0 to 1 million TPS on Azure
Scale Your Load Balancer from 0 to 1 million TPS on AzureAvi Networks
 
How a distributed graph analytics platform uses Apache Kafka for data ingesti...
How a distributed graph analytics platform uses Apache Kafka for data ingesti...How a distributed graph analytics platform uses Apache Kafka for data ingesti...
How a distributed graph analytics platform uses Apache Kafka for data ingesti...HostedbyConfluent
 
Running Presto and Spark on the Netflix Big Data Platform
Running Presto and Spark on the Netflix Big Data PlatformRunning Presto and Spark on the Netflix Big Data Platform
Running Presto and Spark on the Netflix Big Data PlatformEva Tse
 
(BDT303) Running Spark and Presto on the Netflix Big Data Platform
(BDT303) Running Spark and Presto on the Netflix Big Data Platform(BDT303) Running Spark and Presto on the Netflix Big Data Platform
(BDT303) Running Spark and Presto on the Netflix Big Data PlatformAmazon Web Services
 
Coherence RoadMap 2018
Coherence RoadMap 2018Coherence RoadMap 2018
Coherence RoadMap 2018harvraja
 
Cloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftCloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftSerhat Dirik
 
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps WayDevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Waysmalltown
 
Webinar september 2013
Webinar september 2013Webinar september 2013
Webinar september 2013Marc Gille
 
Rails App performance at the limit - Bogdan Gusiev
Rails App performance at the limit - Bogdan GusievRails App performance at the limit - Bogdan Gusiev
Rails App performance at the limit - Bogdan GusievRuby Meditation
 
How easy (or hard) it is to monitor your graph ql service performance
How easy (or hard) it is to monitor your graph ql service performanceHow easy (or hard) it is to monitor your graph ql service performance
How easy (or hard) it is to monitor your graph ql service performanceLuca Mattia Ferrari
 
Service Lifecycle Management with Fuse Service Works
Service Lifecycle Management with Fuse Service WorksService Lifecycle Management with Fuse Service Works
Service Lifecycle Management with Fuse Service WorksKenneth Peeples
 
Scaling up uber's real time data analytics
Scaling up uber's real time data analyticsScaling up uber's real time data analytics
Scaling up uber's real time data analyticsXiang Fu
 

Ähnlich wie OSMC 2022 | The Power of Metrics, Logs & Traces with Open Source by Emil-Andreas Siemes (20)

Grafana overview deck - Tech - 2023 May v1.pdf
Grafana overview deck  - Tech - 2023 May v1.pdfGrafana overview deck  - Tech - 2023 May v1.pdf
Grafana overview deck - Tech - 2023 May v1.pdf
 
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
 
Google Cloud Next '22 Recap: Serverless & Data edition
Google Cloud Next '22 Recap: Serverless & Data editionGoogle Cloud Next '22 Recap: Serverless & Data edition
Google Cloud Next '22 Recap: Serverless & Data edition
 
Spark Development Lifecycle at Workday - ApacheCon 2020
Spark Development Lifecycle at Workday - ApacheCon 2020Spark Development Lifecycle at Workday - ApacheCon 2020
Spark Development Lifecycle at Workday - ApacheCon 2020
 
Apache Spark Development Lifecycle @ Workday - ApacheCon 2020
Apache Spark Development Lifecycle @ Workday - ApacheCon 2020Apache Spark Development Lifecycle @ Workday - ApacheCon 2020
Apache Spark Development Lifecycle @ Workday - ApacheCon 2020
 
Scale Your Load Balancer from 0 to 1 million TPS on Azure
Scale Your Load Balancer from 0 to 1 million TPS on AzureScale Your Load Balancer from 0 to 1 million TPS on Azure
Scale Your Load Balancer from 0 to 1 million TPS on Azure
 
How a distributed graph analytics platform uses Apache Kafka for data ingesti...
How a distributed graph analytics platform uses Apache Kafka for data ingesti...How a distributed graph analytics platform uses Apache Kafka for data ingesti...
How a distributed graph analytics platform uses Apache Kafka for data ingesti...
 
Running Presto and Spark on the Netflix Big Data Platform
Running Presto and Spark on the Netflix Big Data PlatformRunning Presto and Spark on the Netflix Big Data Platform
Running Presto and Spark on the Netflix Big Data Platform
 
(BDT303) Running Spark and Presto on the Netflix Big Data Platform
(BDT303) Running Spark and Presto on the Netflix Big Data Platform(BDT303) Running Spark and Presto on the Netflix Big Data Platform
(BDT303) Running Spark and Presto on the Netflix Big Data Platform
 
Coherence RoadMap 2018
Coherence RoadMap 2018Coherence RoadMap 2018
Coherence RoadMap 2018
 
Cloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftCloud Native Applications on OpenShift
Cloud Native Applications on OpenShift
 
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps WayDevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
 
Webinar september 2013
Webinar september 2013Webinar september 2013
Webinar september 2013
 
Rails App performance at the limit - Bogdan Gusiev
Rails App performance at the limit - Bogdan GusievRails App performance at the limit - Bogdan Gusiev
Rails App performance at the limit - Bogdan Gusiev
 
How easy (or hard) it is to monitor your graph ql service performance
How easy (or hard) it is to monitor your graph ql service performanceHow easy (or hard) it is to monitor your graph ql service performance
How easy (or hard) it is to monitor your graph ql service performance
 
PostgreSQL
PostgreSQL PostgreSQL
PostgreSQL
 
Service Lifecycle Management with Fuse Service Works
Service Lifecycle Management with Fuse Service WorksService Lifecycle Management with Fuse Service Works
Service Lifecycle Management with Fuse Service Works
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 
Scaling up uber's real time data analytics
Scaling up uber's real time data analyticsScaling up uber's real time data analytics
Scaling up uber's real time data analytics
 
Vijendra_resume
Vijendra_resume Vijendra_resume
Vijendra_resume
 

Kürzlich hochgeladen

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 

Kürzlich hochgeladen (20)

Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 

OSMC 2022 | The Power of Metrics, Logs & Traces with Open Source by Emil-Andreas Siemes

  • 1. The Power of Metrics, Logs & Traces with Open Source
  • 2. ● Loves running ● Baking sourdough bread https: //www.linkedin.com/in/emil-andreas-siemes-a793926/ Emil Siemes Principal Solutions Engineer
  • 3. 1000+ Employees across 40+ countries (50+ in Germany) 1M+ Instances across LGTM Cloud and OSS 13M+ Users across OSS and Cloud Free tier Founded in 2014
  • 4. We help our customers Build and Operate resilient systems, to provide reliable services to their customers.
  • 5. Investing in the core of observability
  • 6. Prometheus Largest contributor - employs 44% of Prometheus maintainers Open source is at the of what we do GRAFANA Vizualize, Correlate & Alert on Multi-sourced Data Grafana LOKI Highly Scalable Log Aggregation Grafana MIMIR Scalable & Performant backend for all time-series metrics Graphite Leading contributor on Graphite Grafana TEMPO Highly Scalable & Cost Effective Tracing OpenTelemetry Large contributor - employs maintainters; first class support in Grafana K6 Modern load testing built for developers Grafana On-Call Oncall management system with simple workflow integrated with your telemetry
  • 7. Prometheus Largest contributor - employs 44% of Prometheus maintainers Open source is at the of what we do GRAFANA Vizualize, Correlate & Alert on Multi-sourced Data Grafana LOKI Highly Scalable Log Aggregation Grafana MIMIR Scalable & Performant backend for all time-series metrics Graphite Leading contributor on Graphite Grafana TEMPO Highly Scalable & Cost Effective Tracing OpenTelemetry Large contributor - employs maintainters; first class support in Grafana K6 Modern load testing built for developers Grafana On-Call Oncall management system with simple workflow integrated with your telemetry
  • 8. Deployment Flexibility Open-source | Enterprise | Grafana Cloud Big tent Flexibility and openness without limits to integrate 3rd party data Observability by open source A modern, complete and highly modulable platform fully built on OSS A Unique Philosophy : Regain Control Over Your Observability Strategy
  • 9. LGTM: A prometheus inspired O11y stack Tempo Backend compatible with OpenTelemtry, inexpensive at scale, 100% sampling is possible Loki Low TCO, Highly scalable and easy to operate logging system Mimir Highly scalable, highly available multi-tenant, durable storage drop-in replacement for Prometheus
  • 10. Correlation by design to reduce MTTR Exemplars Labels & service discovery {service="foo", region="eu-west", instance="node-123"} Auto-generated metrics Logs for trace TraceID in logs Logs to metrics extraction S3
  • 13. An open source web SDK for frontend application observability
  • 14.
  • 15. Frontend Application Observability in Grafana Cloud Fully managed offering for capturing, visualizing, and analyzing frontend application telemetry data within Grafana Cloud, powered by Grafana Faro PRIVATE BETA available today for Grafana Cloud customers
  • 16. Getting started with Grafana Faro is super simple Install the Grafana Faro Web SDK: Import it into your app: npm install @grafana/faro-web-sdk import { initializeFaro } from '@grafana/faro-web-sdk' initializeFaro({ url: '<http://my-endpoint>', apiKey: '<api_key>', app: { name: 'my-app' }, });
  • 17.
  • 18. Loki
  • 19. Out-of-order ingestion Simplified deployment Promtail Kafka support Regex performance improvements Parallelized binary ops in queries Improved tail latencies with request hedging Promtail Cloudflare, Docker, and Graylog support Query multiple tenants at once Faster instant queries Filter & delete certain log lines July 2022 April 2022 Nov. 2021 Loki v2.4.0 Loki v2.5.0 Loki v2.6.0 Loki v2.7.0 Coming soon
  • 21. Node #1 Node #2 Loki Promtail Promtail Grafana logcli AlertManager REST API Object Storage Overview Node #n Promtail
  • 22. @160014567432 Timestamp Value 22346 Labels/Selectors key-value pairs {app=”nginx”, env=”dev”} Metric name http_request The Prometheus storage model
  • 23. 2019-12-11T10:01:02.123456789Z {app=”nginx”, env=”dev”} Timestamp with nanosecond precision Content log line Labels/Selectors key-value pairs indexed unindexed GET /about 1034 Debug “page not found” Object Storage Object Storage Aka “the index” Aka “chunks” The Loki storage model
  • 24. ● Log any and all formats ● Smaller indexes ● Cheaper to run ● Fast queries ● Cut and slice your logs in dynamic ways Grafana Loki Query time processing VS ● Decide on log formats ● Larger indexes ● More expensive to run ● Faster queries ● Restricted to format chosen at ingestion time Traditional solutions Ingest time processing The better tradeoff
  • 25. 10TB 200MB Log Data Index Think of it more like a table of contents than an index. Loki does not index the contents of the logs. Instead, entries are grouped into streams and indexed with Prometheus-style labels. Efficient log storage
  • 26. 1PB 80TB Raw Logs Label match Brute force search - heavily parallelized Time frame 1TB 120GB+/s Fast queries Think of it as massively distributed grep.
  • 27. Per Second A day A month Active tenants 700MB 43TB 1.25PB 4500 170Cores 1TB RAM 27 Large cluster in Grafana Cloud
  • 28. {cluster=”us-central1”, job=~”dev/loki-.*”} |= “trace_id=7ca877dbda” |~ "SeriesStore.*" Label matchers ● = contains string. ● != does not contain string. ● =~ matches regular expression. ● !~ does not match regular expression. Filter expressions ● |= contains string. ● != does not contain string. ● |~ matches regular expression. ● !~ does not match regular expression. LogQL: Log queries Parser expressions Formatter expressions
  • 29. sum by (host) (rate({job="mysql"} |= "error" != "timeout" | json | duration > 10s [1m])) Range vector aggregations ● rate() / bytes_rate() ● count_over_time() / bytes_over_time() / absent_over_time() ● sum_over_time() / avg_over_time() / min_over_time() / max_over_time () * Instant vector aggregations ● sum() / min() / max() / avg() ● stddev() / stdvar() ● count() ● topk() / bottomk() * Unwrapped range aggregations LogQL: Metric queries
  • 30. Grafana Agent Promtail ● Targets discovery for Kubernetes, Syslog, files and more ● Automatically attach labels to your log lines ● Advanced pipeline mechanism for parsing, transforming and filtering your logs ● Build and expose custom metrics from your logs data But Loki is open. logstash Lambda Loki makes log collection easy
  • 31. Single Binary - Testing - Small installations without HA or horizontal scaling needs SSD or Microservices - Horizontal scalability - Separate Read/Write paths - Large installations Grafana Cloud ● Batteries included: ○ Multi-tenant ○ Automatic scaling and upgrades ○ RBAC ○ Per tenant QoS Enterprise Logs ● Self hosted ● Supported by Grafana Labs ● Security out of the box ● Part of the GES stack 31 How to run Loki