a dashboard is worth a thousand words - usenix · physics, pushing the boundaries of knowledge and...
TRANSCRIPT
![Page 1: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/1.jpg)
![Page 2: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/2.jpg)
A Dashboard is Worth a Thousand Words
Better Monitoring for Better Ops
SRECon19 - Singapore - @lucamag 2
Luca Magnoni – Computing Engineer/CERN IT@lucamag
![Page 3: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/3.jpg)
About myself• Software Engineer• > 10 years in distributed
systems & data intensive applications
• Service Manager & Project Architect
SRECon19 - Singapore - @lucamag 3
Image credit: CERN
![Page 4: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/4.jpg)
SRECon19 - Singapore - @lucamag 4
CERNa
Worldwidecollaboration CERN’s primary mission:
SCIENCEFundamental research on particle physics, pushing the boundaries of
knowledge and technology
![Page 5: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/5.jpg)
CERNWorld’s largestparticle physics
laboratory
SRECon19 - Singapore - @lucamag 5
Image credit: CERN
![Page 6: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/6.jpg)
SRECon19 - Singapore - @lucamag 6
The Large Hadron Collider: LHC
1232dipoles
15 mt, 35t EACH
27km
Image credit: CERN
![Page 7: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/7.jpg)
Image credit: CERN
COLDER TEMPERATURESthan outer space
( 120t He )
SRECon19 - Singapore - @lucamag 7
LHC: World’s Largest Cryogenic System (1.9 K)
Image credit: CERN
COLDER TEMPERATURESthan outer space
( 120t He )
Kafka Summit - London 2018 6
LHC: World’s Largest Cryogenic System (1.9 K)
![Page 8: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/8.jpg)
Vacuum?• Yes
SRECon19 - Singapore - @lucamag 8
LHC: Highest Vacuum
104 kmof PIPES
10-11bar (~ moon)
Image credit: CERN
![Page 9: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/9.jpg)
Image credit: CERN
The Most
SOPHISTICATED
DETECTORSever built
SRECon19 - Singapore - @lucamag 9
LHC Detectors
![Page 10: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/10.jpg)
Image credit: CERN
Image credit: CERN
SRECon19 - Singapore - @lucamag 10
ATLAS, CMS, ALICE and LHCb
EIFFEL TOWER
HEAVIERthan the
Image credit: CERN
![Page 11: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/11.jpg)
SRECon19 - Singapore -@lucamag 11
~100 Mpixel
CAMERA
40 millionspictures
per second
Image credit: CERN
![Page 12: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/12.jpg)
SRECon19 - Singapore - @lucamag 12
Data Acquisition: What to Record?
Looking for Rare Events
( 10-13 )
1 billionCollisions per second
1PB/sGenerated data
Image credit: CERN
![Page 13: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/13.jpg)
SRECon19 - Singapore - @lucamag 13
Data Flow to Storage and Processing
ALICE: 4GB/sATLAS: 1GB/sCMS: 600MB/sLHCB: 750MB/s
RUN 2CERN DC
![Page 14: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/14.jpg)
Image credit: CERN
SRECon19 - Singapore - @lucamag 14
CERN Data Centre: Primary Copy of LHC Data
Data Centre on Google Street View
90k disks15k servers
> 300 PB on TAPES
![Page 15: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/15.jpg)
About WLCG:• A community of 10,000 physicists
• ~250,000 jobs running concurrently • 600,000 processing cores
• 15% of the resources are at CERN
• 700 PB storage available worldwide
• 20-40 Gbit/s connect CERN to Tier1s
Tier-0 (CERN)• Initial data reconstruction• Data distribution• Data recording & archivingTier-1s (13 centres)• Initial data reconstruction• Permanent storage• Re-processing• AnalysisTier-2s (>150 centres)• Simulation• End-user analysis
WLCG: LHC Computing Grid
Image credit: CERN
170 sites WORLDWIDE
> 10000users
![Page 16: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/16.jpg)
Open data slides may be?
![Page 17: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/17.jpg)
CERN IT
Image credit: CERN
1958 First Electronic Computer Installed
![Page 18: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/18.jpg)
About IT Department
• Over 300 people
• Enable the laboratory to fulfill its mission
• Data Centre and more
• supports IT Services (Batch, Storage, Network, DB,
Web Servers, etc.), Experiments Services (SW
builds), Engineering (Chip design), Infrastructure
(hotel, bikes), Administration
SRECon19 - Singapore - @lucamag 18
![Page 19: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/19.jpg)
SRECon19 - Singapore - @lucamag 19
IT Infrastructure / Early Days
~ 70sMainframes
![Page 20: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/20.jpg)
racks
20
IT Infrastructure / ~ Recent Days
SRECon19 - Singapore - @lucamag
![Page 21: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/21.jpg)
~ 10 years of Data Taking
SRECon19 - Singapore - @lucamag 21
2018: 88 PBATLAS: 24.7CMS: 43.6LHCb: 7.3ALICE: 12.4
Imag
e cr
edit:
CER
N
![Page 22: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/22.jpg)
~ 2001 / Custom Fabric• EU funded developments• Scale and experience for
LHC was special• Custom tools had to be
developed to manage infrastructures at scale
SRECon19 - Singapore - @lucamag 22
![Page 23: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/23.jpg)
~ 2013 / Opensource Tools
• LHC requirements kept
growing (on flat budget)
• But CERN scale no longer
special (e.g. Google,
Facebook, Rackspace,… )
• The rise of the Clouds
SRECon19 - Singapore - @lucamag 23
Ima
ge
cre
dit: C
ER
N
PB
/ Y
ear
![Page 24: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/24.jpg)
~ 2013 / Opensource Tools• Tool-Chain approach• Embrace Opensource
Communities• Focus on Resource Provisioning,
Configuration and Monitoring
SRECon19 - Singapore - @lucamag 24
![Page 25: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/25.jpg)
Cloud
SRECon19 - Singapore - @lucamag 25
CERN Data Centre: Private Openstack Cloud
More Than
300 000cores
![Page 26: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/26.jpg)
2019 / Even more Tools …• Containers / Kubernetes
• New deployment models
• More Clouds• Hybrid workflows
• SRE ?
SRECon19 - Singapore - @lucamag 26
![Page 27: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/27.jpg)
Monitoring “all the things”
SRECon19 - Singapore - @lucamag 27
Image credit: CERN
![Page 28: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/28.jpg)
Monitoring Mission• Provide Monitoring as a Service for CERN
Data Centre (DC), IT Services and the WLCG collaboration• e.g. Dashboards, Alarms, Search, Archive
• Collect, transport, store and process metrics and logs for applications and infrastructure
SRECon19 - Singapore - @lucamag 28
![Page 29: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/29.jpg)
Challenges / Rate & Volume• from ~ 40k
machines• > 3 TB/day
(compressed) • ~ 100 kHz
SRECon19 - Singapore - @lucamag 29
![Page 30: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/30.jpg)
Challenges / Variety • > 150 producers
SRECon19 - Singapore - @lucamag 30
![Page 31: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/31.jpg)
Challenges / Reliability
SRECon19 - Singapore - @lucamag 31
• spikes in rate and volume
![Page 32: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/32.jpg)
Non-Technical Challenges• Migrate people from legacy (custom)
dashboards and tools• Stay up to date with upstream tools & trends• Build community, internal and external
SRECon19 - Singapore - @lucamag 32
![Page 33: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/33.jpg)
How to provide better monitoring?
• ~ 2016 a new project started to provide a new
central monitoring infrastructure to CERN IT
• Goal:
• Effective
• Scalable
• Sustainable
SRECon19 - Singapore - @lucamag 33
![Page 34: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/34.jpg)
Easy Data Integration / Telemetry • Collectd
• lightweight / plugin based• ~ 40k machines
• JSON/HTTP gateways• custom metrics and logs
• Prometheus• Kubernetes
SRECon19 - Singapore - @lucamag 34
![Page 35: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/35.jpg)
Responsive / Multiple Backends• Elasticsearch
• search and discovery• 3 clusters, ~ 100 TB
• InfluxDB• time-series data • > 30 instances, 60 kHz
• HDFS• long-term archive
SRECon19 - Singapore - @lucamag 35
![Page 36: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/36.jpg)
Data Integration is hard• Metrics → TSDB• Logs → search/index• All data → archive• Some Metrics → search/index• Some Logs → TSDB• Users : “ btw, where can I tap in to
get my data? ”
SRECon19 - Singapore - @lucamag 36
Imag
e: ©
201
4 -2
017
Coo
l Wol
f Gam
es
![Page 37: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/37.jpg)
Monitoring Pipeline
SRECon19 - Singapore - @lucamag 37
Processing• Enrichment• Transformation• Metrics Extraction
![Page 38: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/38.jpg)
On the pipeline approach• Provides key functionalities:
• decouples producers / consumers• enables stream processing• resilient (72 hours data retention)
• Kafka cluster:• on-premises ( v 1.0.2)• Openstack VMs with Ceph volumes• ~ 15k partitions in total
SRECon19 - Singapore - @lucamag 38
![Page 39: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/39.jpg)
Dashboards & Visualizations• Critical for the
success of the project• Need to delegate
control to users• Multiple tools
SRECon19 - Singapore - @lucamag 39
![Page 40: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/40.jpg)
Dashboard / Grafana• Recommended tool
for Dashboard• Multiple Backends• Customizable
(menus, filters, etc.)
SRECon19 - Singapore - @lucamag 40
![Page 41: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/41.jpg)
network
SRECon19 - Singapore - @lucamag 41
40k hostsNetwork metricsenriched withDC Router
Topology
![Page 42: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/42.jpg)
transfer
SRECon19 - Singapore - @lucamag 42
7 Millions/day
WLCG transfersclassified
By location, country
site,…
![Page 43: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/43.jpg)
eos
SRECon19 - Singapore - @lucamag 43
Logs, Metricscombined
to extract
High-LevelInformation
![Page 44: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/44.jpg)
Alarming• Local (on the machine)
• Simple Threshold / Actuators• On Dashboards
• Grafana Alert Engine• External (Spark, Spectrum, etc.)• Integrated with ticketing system
• ServiceNow
SRECon19 - Singapore - @lucamag 44
SNOW
![Page 45: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/45.jpg)
Monitoring Technologies
SRECon19 - Singapore - @lucamag 45
![Page 46: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/46.jpg)
Successful story
• Monitoring by Numbers:
• ~ 900 Active Users
• > 1000 Dashboards
• ~ 1000000 Queries/day
• > 30 Grafana Orgs
• service operations, debug, troubleshooting, etc.
• Next is to profit at best from all this data
SRECon19 - Singapore - @lucamag 46
![Page 47: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/47.jpg)
Better Ops
![Page 48: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/48.jpg)
SRE Key Points of Interest• Common framework for
production-systems management
• Reduce operational load• Formalize best-practices for
software velocity and quality
SRECon19 - Singapore - @lucamag 48
Cop
yrig
ht 2
019
Goo
gle
LLC
.
![Page 49: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/49.jpg)
SRE Practices / Good fit with CERN IT • SRE Culture
• Openness, Sharing• Joint-Ownerships / Accountability
• “one person’s symptom is another person’s cause”
• Sustainability• Attracts skills, Career
opportunities
SRECon19 - Singapore - @lucamag 49
blameless post-mortems
![Page 50: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/50.jpg)
Monitoring like SRE• Goal: build common
language & culture• Introducing SLI & SLO • One Dashboard at the
Time
SRECon19 - Singapore - @lucamag 50
![Page 51: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/51.jpg)
Introducing SLI / Strategy• Build critical mass of early adopters among
main IT services• Work with service managers to extract the
relevant data (some indicators already there…)• Try to solve a real problem to help the idea
spread faster• i.e. improve Service Availability reporting
SRECon19 - Singapore - @lucamag 51
![Page 52: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/52.jpg)
• True stories from chat / mattermost snippets:• Is there a problem with service X ?• Is anybody else having issues today ?• I think service X is slow • I think service X is having some issue lately• How our service evolved? Are we doing better?
SRECon19 - Singapore - @lucamag 52
Tackling Service Availability
![Page 53: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/53.jpg)
Tackling Service Availability / 2 • Availability Metric exists• Not easy to get actual
health of services today• Would benefit from more
precise and quantitative measurement
SRECon19 - Singapore - @lucamag 53
![Page 54: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/54.jpg)
SLI Overview Dashboard• SLI as user-facing metrics• Focus on Golden signals, such as
• Write/Read Latency for Storage systems• Rate of cloud API requests • Rate of batch server occupancy• Catalog compilation time
• Dashboard: visual feedback for users
SRECon19 - Singapore - @lucamag 54
![Page 55: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/55.jpg)
SLIOverview
Dashboard
SRECon19 - Singapore - @lucamag 55
![Page 56: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/56.jpg)
SRECon19 - Singapore - @lucamag 56
SLIDrill-Down
per Customer Service
![Page 57: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/57.jpg)
Dashboard / Grafana
SRECon19 - Singapore - @lucamag 57
• Single Stat panels • Drill-down on details
dashboards per category
• Threshold as SLO
![Page 58: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/58.jpg)
Tracking SLO
SRECon19 - Singapore - @lucamag 58
• Check SLI vs defined SLO
• Grafana Rules to generate alarms
• Webhook to HTTP
![Page 59: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/59.jpg)
SLO Driven Operations
SRECon19 - Singapore - @lucamag 59
• Alert on SLO miss• Care about
symptoms first• Build Performance
Trend • SLO-Driven
Availability
![Page 60: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/60.jpg)
Technical Challenges• Grafana Alert Engine
• Rely on TSDB capabilities
• Prometheus fairly advanced, InfluxQL has some limitation, Flux should solve
• Black-box vs White-box
• white-box fits the usual metrics flow, black-box may benefits from common framework for probing
SRECon19 - Singapore - @lucamag 60
![Page 61: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/61.jpg)
Non-technical challenges• Service dependencies
• “Not my fault”• Big debate on user-related metrics as SLI• Bottom-Up approach
SRECon19 - Singapore - @lucamag 61
![Page 62: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/62.jpg)
Lessons Learned• Dashboard-first approach
works• SLI & SLO are good
starting points• Cultural change
• target people more than technology
SRECon19 - Singapore - @lucamag 62
![Page 63: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/63.jpg)
Conclusion• Successful migration to modern opensource
monitoring stack and common practises• SRE framework and culture proved to be a
good direction for service operations evolution• Just at the beginning of the SRE journey,
looking forward for the next steps
SRECon19 - Singapore - @lucamag 63
![Page 64: A Dashboard is Worth a Thousand Words - USENIX · physics, pushing the boundaries of knowledge and technology. CERN World’s largest particle physics ... Easy Data Integration](https://reader033.vdocuments.net/reader033/viewer/2022050411/5f888bbc9e5ad609337704b5/html5/thumbnails/64.jpg)