SlideShare une entreprise Scribd logo
1  sur  52
Télécharger pour lire hors ligne
Monitoring 
! 
Claude Falguière 
Valtech Paris 
#DV14 #Monitoring @cfalguiere
Content 
• DevOps is more than tooling! 
! 
! 
• Make you love Data! 
Individuals and interactions over processes and tools 
! 
• Motivations for providing and collecting data! 
! 
• Monitoring user stories and practices! 
! 
• Getting started and open source tooling 
#DV14 #Monitoring @cfalguiere
Claude Falguiere 
• Devoxx4Kids! 
• Paris JUG, Devoxx France, 
Duchess! 
! 
http://cfalguiere.wordpress.com ! 
• DevOps Coach ! 
• Java, Performance! 
#DV14 #Monitoring @cfalguiere
Monitoring 
What would you do if you knew 
that database is broken 
that number of hits doubles every 2 month 
that users struggle to find the order form 
why the app is slow 
what users want to buy 
#DV14 #Monitoring @cfalguiere
Model 
138 ms 
742 orders 
42 users 
Questions Model 
Hypothesis 
Facts Data 
Sales increased by 14% 
Estimated orders next month 934 
Average number of requests is 5 times 
the number of users 
#DV14 #Monitoring @cfalguiere
Galaxy Rotation Problem 
Spiral galaxies spin too fast ! 
! 
Expected mass should be 
ten times the observed 
mass - calculated from the 
visible objets - to prevent 
galaxies from flying apart 
#DV14 #Monitoring @cfalguiere
Discovery of Dark Matter 
Assumes 
readings 
are wrong 
1932 - 1933 1960 - 1970 2010 - 2013 
Jan Oort Fritz Zwicky 
Hypothesis 
of a missing 
mass 
?? 
If readings 
are true, is 
model 
wrong ? 
Mass 
calculated 
from 
gravitational 
effects and 
evidence of 
Dark Matter 
Plank Satellite 
Dark matter 
estimated to 
84.5% of the 
total matter in 
the universe 
Vera Rubin 
#DV14 #Monitoring @cfalguiere
Jan Oort Fritz Zwicky 
• Hypothesis of a 
missing mass 
1932 - 1933 
• Data are 
validated 
• Is Universal 
Gravitation 
wrong ? 
#DV14 #Monitoring @cfalguiere
• Still speculative, 
but generally 
accepted by the 
mainstream 
scientific 
community 
Vera Rubin 
• Mass calculated 
from gravitational 
effects and 
evidence of Dark 
Matter 
1960 - 1970 
Plank Satellite 
• Dark matter 
estimated to 84.5% of 
the total matter in the 
universe 
2010 - 2013 
#DV14 #Monitoring @cfalguiere
Measure everything 
Lean Startup DevOps 
Make decisions 
based on facts! 
Big Data 
#DV14 #Monitoring @cfalguiere
Measure everything 
Lean Startup DevOps 
Make decisions 
based on facts! 
Big Data 
#DV14 #Monitoring @cfalguiere
Measure everything 
Lean Startup DevOps 
Make decisions 
based on facts! 
Big Data 
#DV14 #Monitoring @cfalguiere
Measure everything 
Lean Startup DevOps 
Make decisions 
based on facts! 
Big Data 
#DV14 #Monitoring @cfalguiere
What would you do if you knew 
that database is broken 
that number of hits doubles every 2 month 
that users struggle to find the order form 
why the app is slow 
what users want to buy 
#DV14 #Monitoring @cfalguiere
Motivations and user stories 
SLA observance! 
Alerting 
Alerting 
Diagnosis / Post-Mortem! 
Capacity Planning! 
Improvement 
Storage, Visualization 
#DV14 #Monitoring @cfalguiere
Motivations and user stories 
SLA observance! 
Alerting 
Diagnosis / Post-Mortem! 
Capacity Planning! 
Improvement 
Alerting Storage, Visualization 
#DV14 #Monitoring @cfalguiere
Architecture 
Collector 
Probe 
App 
Alerting 
Storage, 
Aggregation Dev 
Log Parser 
Support 
Log 
Network 
System 
DBA 
Visualization 
#DV14 #Monitoring @cfalguiere
Architecture 
Collector 
Probe 
App 
Alerting 
Storage, 
Aggregation Dev 
Log Parser 
Support 
Log 
Network 
System 
DBA 
Visualization 
#DV14 #Monitoring @cfalguiere
Architecture 
Collector 
Probe 
App 
Alerting 
Storage, 
Aggregation Dev 
Log Parser 
Support 
Log 
Network 
System 
DBA 
Visualization 
#DV14 #Monitoring @cfalguiere
Collector 
System 
Collector 
App 
Log 
Storage 
MQ 
Storage 
Alerting 
filters 
rules MQ 
#DV14 #Monitoring @cfalguiere
Collector 
System 
Collector 
App 
Log 
Storage 
MQ 
Storage 
Alerting 
filters 
rules MQ 
#DV14 #Monitoring @cfalguiere
Topology 
App Platform 
App 
Monitoring Platform 
Alerting 
Collector! Visualization 
Log Parser 
Log 
Storage, 
Aggregation 
#DV14 #Monitoring @cfalguiere
Resilience 
App Platform 
App 
Monitoring Platform 
Alerting 
Collector 
Log Parser 
Log 
MQ Collector 
Storage, 
Aggregation 
Visualization 
MQ 
#DV14 #Monitoring @cfalguiere
What would you do if you knew that 
database is broken 
#DV14 #Monitoring @cfalguiere
Error detection and alerting 
• Log filtering ! 
• Event firing! 
! 
• Context! 
• is it critical ?! 
• which feature does it impact ?! 
• how deep is the impact ? 
#DV14 #Monitoring @cfalguiere
Is this a log ? 
Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: ! 
Access denied for user 'shopapp'@'shprdb1' to database 'shop'! 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)! 
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)! 
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)! 
at java.lang.reflect.Constructor.newInstance(Unknown Source)! 
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)! 
at com.mysql.jdbc.Util.getInstance(Util.java:386)! 
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)! 
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)! 
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)! 
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)! 
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)! 
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)! 
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)! 
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)! 
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)! 
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)! 
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)! 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)! 
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)! 
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)! 
at java.lang.reflect.Constructor.newInstance(Unknown Source)! 
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)! 
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)! 
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)! 
at java.sql.DriverManager.getConnection(Unknown Source)! 
#DV14 #Monitoring @cfalguiere
Log example 
2013-12-17 05:53:16,208 ERROR [Order Creation Service](456713) 
[shpras2](web1234) Could not create order id=456713 - Cause: 
Can’t connect to database ‘shop” - MySqlMessage: Access denied 
for user 'shopapp'@'shprdb1' to database 'shop'! 
2013-12-17 05:53:16,208 ! 
ERROR ! 
[Order Creation Service]! 
(456713) ! 
[shpras2]! 
(web1234) ! 
Could not create order id=456713 ! 
Cause: Can’t connect to database ‘shop” ! 
MySqlMessage: Access denied for user 'shopapp'@'shprdb1' to database 'shop'! 
#DV14 #Monitoring @cfalguiere
Timestamp 
2013-12-17 05:53:16,208 ! 
ERROR ! 
[Order Creation Service]! 
(456713) ! 
[shpras2]! 
(web1234) ! 
Could not create order id=456713 ! 
Cause: Can’t connect to database ‘shop” ! 
MySqlMessage: Access denied for user 
'shopapp'@'shprdb1' to database 'shop'! 
Severity 
}Context (technical and business) 
{ 
Meaningful information 
#DV14 #Monitoring @cfalguiere
Log Collectors 
Collector 
Collectd 
Logstash 
storage 
Log 
Alerting! 
System 
Flume 
Splunk 
(Commercial) 
#DV14 #Monitoring @cfalguiere
Logstash 
input {! 
file {! 
path => “/app/logs/apache/*.log”! 
type => "apachelog"! 
}! 
}! 
! 
filter {! 
if [type] == "apachelog" {! 
grok {! 
pattern => “%{COMBINEDAPACHELOG}" ! 
}! 
}! 
}! 
! 
output {! 
elasticsearch { host => localhost } ! 
stdout { }! 
} 
#DV14 #Monitoring @cfalguiere
Logstash 
input {! 
file {! 
path => “/app/logs/appserver/monitor*.log"! 
type => "applog"! 
}! 
}! 
! 
filter {! 
if [type] == "applog" {! 
grok {! 
pattern => “%{TIMESTAMP_ISO8601:ts}” %{WORD}:severity …! 
}! 
}! 
}! 
! 
output {! 
elasticsearch { host => localhost } ! 
stdout { }! 
} 
#DV14 #Monitoring @cfalguiere
Rate check 
• Frequency of an error increases! 
• Activity falls (e.g. Frequency of orders)! 
! 
• Alerting based on threshold 
#DV14 #Monitoring @cfalguiere
Baselining 
120 
90 
60 
30 
0 
A 
B 
10:00 10:10 10:20 10:30 10:40 10:50 11:00 11:10 
200 
150 
100 
50 
0 
D 
C 
10:00 10:10 10:20 10:30 10:40 10:50 11:00 11:10 
#DV14 #Monitoring @cfalguiere
What would you do if you knew that 
number of hits doubles 
every 2 month 
120 
90 
60 
30 
0 
Jan Feb Mar Apr May Jun Jul Aug 
#DV14 #Monitoring @cfalguiere
Graphers 
70 
52,5 
35 
17,5 
0 
30 
22,5 
15 
7,5 
0 
• Foresight 
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 
• Cycles 
Sun Tue Thu Sat Mon Wed Wed 
40 
30 
20 
10 
0 
• Correlation 
Sun Tue Thu Sat Mon WedWed 
• Distribution 
100 
75 
50 
25 
0 
April May June July 
#DV14 #Monitoring @cfalguiere
Storage / Visualization 
Collectors (Collectd / Statd / 
Logstash / Flume) 
Plain REST 
Graphite 
docker: lopter/collectd-graphite 
#DV14 #Monitoring @cfalguiere
Collect and Share 
Collect Once and Share! 
• Support, ! 
• Ops, Dev! 
• Business! 
! 
UpToDate! 
Flexible! 
! 
#DV14 #Monitoring @cfalguiere
Storage / Visualization 
Collectors (Collectd / Statd / 
Logstash / Flume) 
Plain REST REST REST 
Graphite 
InfluxDB 
Grafana 
docker: gsogol/docker-elk 
Logstash 
ElasticSearch 
Kibana 
#DV14 #Monitoring @cfalguiere
JMX 
source: wikipedia 
• MBeans! 
• Registration! 
• Servo! 
• RMI and firewalls! 
• -Dcom.sun.management.jmxremote.rmi.port=p! 
• -Djava.rmi.server.hostname=n.n.n.n! 
• Jolokia! 
• jmxtrans! 
! 
#DV14 #Monitoring @cfalguiere
JMX Collectors 
storage 
Collector 
logstash collectd 
JMX beans 
VisualVM! 
JConsole 
JMX Enabled! 
! 
App 
Performance 
Monitoring 
tools 
#DV14 #Monitoring @cfalguiere
JSON Event over REST 
curl -X POST “…” ! 
Timestamp 
-d '{"ts": "2013-12-17 05:53:16,208", ! 
! "type": “metric”, ! 
! “module”: “Order Creation Service”, ! 
! “module-id”: “456713”, ! 
! “instance”: “shpras2”, ! 
! “thread”: “web1234”, ! 
“name”: “order-creation”,! 
! “duration”: “12”, ! 
! “unit”: “ms”} 
} Context (technical and business) 
} Metric) 
#DV14 #Monitoring @cfalguiere
What would you do if you knew 
why app is slow 
#DV14 #Monitoring @cfalguiere
Tuning 
• Collectd/Statd plugins! 
• Metrics ! 
• Commercial : Plumbr, 
AppDynamics, New 
Relics! 
! 
! 
Where does it spend time ?! 
Why ? 
cross-check metrics from 
various sub-systems 
Front-End 
Back-End 
System 
DB 
System 
System 
#DV14 #Monitoring @cfalguiere
What would you do if you knew that 
users struggle to find the 
order form 
#DV14 #Monitoring @cfalguiere
Web Analytics / User tracking 
• Web analytics! 
• Page counters! 
• Tagging! 
• Log parser! 
! 
• Google Analytics! 
• Piwik (docker: cfalguiere/docker-piwik) 
• Reporting APIs 
#DV14 #Monitoring @cfalguiere
What would you do if you knew what 
users want to buy 
#DV14 #Monitoring @cfalguiere
Model vs Big Data 
• Expected information! 
• Explicit Model! 
• List of metrics 
• Classification! 
• Machine Learning! 
• Patterns detection! 
Highlights valuable metrics and relationships 
#DV14 #Monitoring @cfalguiere
Getting started 
List user 
stories and 
metrics 
setup 
monitoring 
get 
facts 
get 
add 
metrics 
hypothesis 
validate 
hypothesis 
get 
facts 
#DV14 #Monitoring @cfalguiere
What should I monitor ? 
Alerting & Post-Mortem :! 
Presence check 
Activity (how many users, requests, orders …) 
Ressources that are limited in size 
Physical : CPU, memory, free disk space, network bandwidth ... 
Logical : pools, queues, caches, … 
Errors 
Others 
#DV14 #Monitoring @cfalguiere
What should I monitor ? 
Plan & Improve :! 
Any information which is useful to understand the process 
time spent for each major step 
things that are done often or requires large datasets 
user navigation 
context 
Listen to users and ops 
#DV14 #Monitoring @cfalguiere
Learn from data 
Continuous 
Improvement 
Design for 
Failure 
#DV14 #Monitoring @cfalguiere
Thank You 
#DV14 #Monitoring @cfalguiere

Contenu connexe

Similaire à Devoxx 2014 Monitoring

Data Driven DevOps
Data Driven DevOpsData Driven DevOps
Data Driven DevOpsLeon Stigter
 
Data driven devops as presented at Codemash 2018
Data driven devops as presented at Codemash 2018Data driven devops as presented at Codemash 2018
Data driven devops as presented at Codemash 2018Baruch Sadogursky
 
Cheapass.in — presented at JSFoo 2016
Cheapass.in — presented at JSFoo 2016Cheapass.in — presented at JSFoo 2016
Cheapass.in — presented at JSFoo 2016Aakash Goel
 
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014ALTER WAY
 
The New Frontier: Optimizing Big Data Exploration
The New Frontier: Optimizing Big Data ExplorationThe New Frontier: Optimizing Big Data Exploration
The New Frontier: Optimizing Big Data ExplorationInside Analysis
 
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...CloudBees
 
Open Source Lambda Architecture with Hadoop, Kafka, Samza and Druid
Open Source Lambda Architecture with Hadoop, Kafka, Samza and DruidOpen Source Lambda Architecture with Hadoop, Kafka, Samza and Druid
Open Source Lambda Architecture with Hadoop, Kafka, Samza and DruidDataWorks Summit
 
Magento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsMagento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsJoshua Warren
 
SearchLove Boston 2018 - Emily Grossman - The Marketer’s Guide to Performance...
SearchLove Boston 2018 - Emily Grossman - The Marketer’s Guide to Performance...SearchLove Boston 2018 - Emily Grossman - The Marketer’s Guide to Performance...
SearchLove Boston 2018 - Emily Grossman - The Marketer’s Guide to Performance...Distilled
 
Big Data made easy in the era of the Cloud - Demi Ben-Ari
Big Data made easy in the era of the Cloud - Demi Ben-AriBig Data made easy in the era of the Cloud - Demi Ben-Ari
Big Data made easy in the era of the Cloud - Demi Ben-AriDemi Ben-Ari
 
Measuring continuous delivery
Measuring continuous deliveryMeasuring continuous delivery
Measuring continuous deliveryWouter Lagerweij
 
6 ways DevOps helped PrepSportswear move from monolith to microservices
6 ways DevOps helped PrepSportswear move from monolith to microservices6 ways DevOps helped PrepSportswear move from monolith to microservices
6 ways DevOps helped PrepSportswear move from monolith to microservicesDynatrace
 
Software Architecture and Predictive Models in R
Software Architecture and Predictive Models in RSoftware Architecture and Predictive Models in R
Software Architecture and Predictive Models in RHarlan Harris
 
Beyond the Platform: Enabling Fluid Analysis
Beyond the Platform: Enabling Fluid AnalysisBeyond the Platform: Enabling Fluid Analysis
Beyond the Platform: Enabling Fluid AnalysisEric Kavanagh
 
Devopsdays State of the Union Amsterdam 2014
Devopsdays State of the Union Amsterdam 2014 Devopsdays State of the Union Amsterdam 2014
Devopsdays State of the Union Amsterdam 2014 John Willis
 
Dev and Ops Collaboration and Awareness at Etsy and Flickr
Dev and Ops Collaboration and Awareness at Etsy and FlickrDev and Ops Collaboration and Awareness at Etsy and Flickr
Dev and Ops Collaboration and Awareness at Etsy and FlickrJohn Allspaw
 
Operations for databases – The DevOps journey
Operations for databases – The DevOps journey Operations for databases – The DevOps journey
Operations for databases – The DevOps journey Eduardo Piairo
 
Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)
Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)
Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)Hafiz Ismail
 
Cybercrime and the developer 2021 style
Cybercrime and the developer 2021 styleCybercrime and the developer 2021 style
Cybercrime and the developer 2021 styleSteve Poole
 
Atlassian - Software For Every Team
Atlassian - Software For Every TeamAtlassian - Software For Every Team
Atlassian - Software For Every TeamSven Peters
 

Similaire à Devoxx 2014 Monitoring (20)

Data Driven DevOps
Data Driven DevOpsData Driven DevOps
Data Driven DevOps
 
Data driven devops as presented at Codemash 2018
Data driven devops as presented at Codemash 2018Data driven devops as presented at Codemash 2018
Data driven devops as presented at Codemash 2018
 
Cheapass.in — presented at JSFoo 2016
Cheapass.in — presented at JSFoo 2016Cheapass.in — presented at JSFoo 2016
Cheapass.in — presented at JSFoo 2016
 
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
Séminaire Big Data Alter Way - Elasticsearch - octobre 2014
 
The New Frontier: Optimizing Big Data Exploration
The New Frontier: Optimizing Big Data ExplorationThe New Frontier: Optimizing Big Data Exploration
The New Frontier: Optimizing Big Data Exploration
 
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
 
Open Source Lambda Architecture with Hadoop, Kafka, Samza and Druid
Open Source Lambda Architecture with Hadoop, Kafka, Samza and DruidOpen Source Lambda Architecture with Hadoop, Kafka, Samza and Druid
Open Source Lambda Architecture with Hadoop, Kafka, Samza and Druid
 
Magento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsMagento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second Counts
 
SearchLove Boston 2018 - Emily Grossman - The Marketer’s Guide to Performance...
SearchLove Boston 2018 - Emily Grossman - The Marketer’s Guide to Performance...SearchLove Boston 2018 - Emily Grossman - The Marketer’s Guide to Performance...
SearchLove Boston 2018 - Emily Grossman - The Marketer’s Guide to Performance...
 
Big Data made easy in the era of the Cloud - Demi Ben-Ari
Big Data made easy in the era of the Cloud - Demi Ben-AriBig Data made easy in the era of the Cloud - Demi Ben-Ari
Big Data made easy in the era of the Cloud - Demi Ben-Ari
 
Measuring continuous delivery
Measuring continuous deliveryMeasuring continuous delivery
Measuring continuous delivery
 
6 ways DevOps helped PrepSportswear move from monolith to microservices
6 ways DevOps helped PrepSportswear move from monolith to microservices6 ways DevOps helped PrepSportswear move from monolith to microservices
6 ways DevOps helped PrepSportswear move from monolith to microservices
 
Software Architecture and Predictive Models in R
Software Architecture and Predictive Models in RSoftware Architecture and Predictive Models in R
Software Architecture and Predictive Models in R
 
Beyond the Platform: Enabling Fluid Analysis
Beyond the Platform: Enabling Fluid AnalysisBeyond the Platform: Enabling Fluid Analysis
Beyond the Platform: Enabling Fluid Analysis
 
Devopsdays State of the Union Amsterdam 2014
Devopsdays State of the Union Amsterdam 2014 Devopsdays State of the Union Amsterdam 2014
Devopsdays State of the Union Amsterdam 2014
 
Dev and Ops Collaboration and Awareness at Etsy and Flickr
Dev and Ops Collaboration and Awareness at Etsy and FlickrDev and Ops Collaboration and Awareness at Etsy and Flickr
Dev and Ops Collaboration and Awareness at Etsy and Flickr
 
Operations for databases – The DevOps journey
Operations for databases – The DevOps journey Operations for databases – The DevOps journey
Operations for databases – The DevOps journey
 
Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)
Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)
Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)
 
Cybercrime and the developer 2021 style
Cybercrime and the developer 2021 styleCybercrime and the developer 2021 style
Cybercrime and the developer 2021 style
 
Atlassian - Software For Every Team
Atlassian - Software For Every TeamAtlassian - Software For Every Team
Atlassian - Software For Every Team
 

Plus de Claude Falguiere

H2O , Le machine learning sans coder ou presque - Devoxx france 2016
H2O , Le machine learning sans coder ou presque - Devoxx france 2016H2O , Le machine learning sans coder ou presque - Devoxx france 2016
H2O , Le machine learning sans coder ou presque - Devoxx france 2016Claude Falguiere
 
Pres perf human talks mars 2015
Pres perf human talks mars 2015Pres perf human talks mars 2015
Pres perf human talks mars 2015Claude Falguiere
 
Le monitoring à l'heure de DevOps et Big Data
Le monitoring à l'heure de DevOps et Big DataLe monitoring à l'heure de DevOps et Big Data
Le monitoring à l'heure de DevOps et Big DataClaude Falguiere
 
Présentation du user group Duchess France au GDG de Nantes
Présentation du user group Duchess France au GDG de NantesPrésentation du user group Duchess France au GDG de Nantes
Présentation du user group Duchess France au GDG de NantesClaude Falguiere
 
Présentation de Page Speed au GDG de Nantes
Présentation de Page Speed au GDG de NantesPrésentation de Page Speed au GDG de Nantes
Présentation de Page Speed au GDG de NantesClaude Falguiere
 
Présentation Performances Montpellier
Présentation Performances Montpellier Présentation Performances Montpellier
Présentation Performances Montpellier Claude Falguiere
 
Pres android nuit de l'info v3
Pres android nuit de l'info v3Pres android nuit de l'info v3
Pres android nuit de l'info v3Claude Falguiere
 
Performance test - YaJUG Octobre 2012
Performance test - YaJUG Octobre 2012Performance test - YaJUG Octobre 2012
Performance test - YaJUG Octobre 2012Claude Falguiere
 
La marmite Intro session NoSQL
La marmite Intro session NoSQLLa marmite Intro session NoSQL
La marmite Intro session NoSQLClaude Falguiere
 
Analyse de données avec Incanter
Analyse de données avec IncanterAnalyse de données avec Incanter
Analyse de données avec IncanterClaude Falguiere
 
Analyse de données avec Incanter
Analyse de données avec IncanterAnalyse de données avec Incanter
Analyse de données avec IncanterClaude Falguiere
 
Quickie Incanter/Clojure à Devoxx France 2012
Quickie Incanter/Clojure à Devoxx France 2012Quickie Incanter/Clojure à Devoxx France 2012
Quickie Incanter/Clojure à Devoxx France 2012Claude Falguiere
 
Deploiement continu breizh camp
Deploiement continu breizh campDeploiement continu breizh camp
Deploiement continu breizh campClaude Falguiere
 
Deploiement continu AgileFfrance 2011
Deploiement continu AgileFfrance 2011Deploiement continu AgileFfrance 2011
Deploiement continu AgileFfrance 2011Claude Falguiere
 
Mesurer les performances avec JMeter
Mesurer les performances avec JMeterMesurer les performances avec JMeter
Mesurer les performances avec JMeterClaude Falguiere
 
No sql pour valtech tech days
No sql pour valtech tech daysNo sql pour valtech tech days
No sql pour valtech tech daysClaude Falguiere
 

Plus de Claude Falguiere (20)

H2O , Le machine learning sans coder ou presque - Devoxx france 2016
H2O , Le machine learning sans coder ou presque - Devoxx france 2016H2O , Le machine learning sans coder ou presque - Devoxx france 2016
H2O , Le machine learning sans coder ou presque - Devoxx france 2016
 
Pres perf human talks mars 2015
Pres perf human talks mars 2015Pres perf human talks mars 2015
Pres perf human talks mars 2015
 
Le monitoring à l'heure de DevOps et Big Data
Le monitoring à l'heure de DevOps et Big DataLe monitoring à l'heure de DevOps et Big Data
Le monitoring à l'heure de DevOps et Big Data
 
Présentation du user group Duchess France au GDG de Nantes
Présentation du user group Duchess France au GDG de NantesPrésentation du user group Duchess France au GDG de Nantes
Présentation du user group Duchess France au GDG de Nantes
 
Présentation de Page Speed au GDG de Nantes
Présentation de Page Speed au GDG de NantesPrésentation de Page Speed au GDG de Nantes
Présentation de Page Speed au GDG de Nantes
 
Présentation Performances Montpellier
Présentation Performances Montpellier Présentation Performances Montpellier
Présentation Performances Montpellier
 
Pres android nuit de l'info v3
Pres android nuit de l'info v3Pres android nuit de l'info v3
Pres android nuit de l'info v3
 
Performance test - YaJUG Octobre 2012
Performance test - YaJUG Octobre 2012Performance test - YaJUG Octobre 2012
Performance test - YaJUG Octobre 2012
 
La marmite Intro session NoSQL
La marmite Intro session NoSQLLa marmite Intro session NoSQL
La marmite Intro session NoSQL
 
Analyse de données avec Incanter
Analyse de données avec IncanterAnalyse de données avec Incanter
Analyse de données avec Incanter
 
Analyse de données avec Incanter
Analyse de données avec IncanterAnalyse de données avec Incanter
Analyse de données avec Incanter
 
Incanter bigdata jsc2012
Incanter bigdata jsc2012Incanter bigdata jsc2012
Incanter bigdata jsc2012
 
Quickie Incanter/Clojure à Devoxx France 2012
Quickie Incanter/Clojure à Devoxx France 2012Quickie Incanter/Clojure à Devoxx France 2012
Quickie Incanter/Clojure à Devoxx France 2012
 
Diagnostic performances
Diagnostic performancesDiagnostic performances
Diagnostic performances
 
Diagnostic performances
Diagnostic performancesDiagnostic performances
Diagnostic performances
 
Usine logicielle ios
Usine logicielle iosUsine logicielle ios
Usine logicielle ios
 
Deploiement continu breizh camp
Deploiement continu breizh campDeploiement continu breizh camp
Deploiement continu breizh camp
 
Deploiement continu AgileFfrance 2011
Deploiement continu AgileFfrance 2011Deploiement continu AgileFfrance 2011
Deploiement continu AgileFfrance 2011
 
Mesurer les performances avec JMeter
Mesurer les performances avec JMeterMesurer les performances avec JMeter
Mesurer les performances avec JMeter
 
No sql pour valtech tech days
No sql pour valtech tech daysNo sql pour valtech tech days
No sql pour valtech tech days
 

Dernier

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
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
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
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
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
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsBert Jan Schrijver
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
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
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
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
 
+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
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
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
 

Dernier (20)

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
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
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
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
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
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
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
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
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
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
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
 
+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 🔝✔️✔️
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
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 ...
 

Devoxx 2014 Monitoring

  • 1. Monitoring ! Claude Falguière Valtech Paris #DV14 #Monitoring @cfalguiere
  • 2. Content • DevOps is more than tooling! ! ! • Make you love Data! Individuals and interactions over processes and tools ! • Motivations for providing and collecting data! ! • Monitoring user stories and practices! ! • Getting started and open source tooling #DV14 #Monitoring @cfalguiere
  • 3. Claude Falguiere • Devoxx4Kids! • Paris JUG, Devoxx France, Duchess! ! http://cfalguiere.wordpress.com ! • DevOps Coach ! • Java, Performance! #DV14 #Monitoring @cfalguiere
  • 4. Monitoring What would you do if you knew that database is broken that number of hits doubles every 2 month that users struggle to find the order form why the app is slow what users want to buy #DV14 #Monitoring @cfalguiere
  • 5. Model 138 ms 742 orders 42 users Questions Model Hypothesis Facts Data Sales increased by 14% Estimated orders next month 934 Average number of requests is 5 times the number of users #DV14 #Monitoring @cfalguiere
  • 6. Galaxy Rotation Problem Spiral galaxies spin too fast ! ! Expected mass should be ten times the observed mass - calculated from the visible objets - to prevent galaxies from flying apart #DV14 #Monitoring @cfalguiere
  • 7. Discovery of Dark Matter Assumes readings are wrong 1932 - 1933 1960 - 1970 2010 - 2013 Jan Oort Fritz Zwicky Hypothesis of a missing mass ?? If readings are true, is model wrong ? Mass calculated from gravitational effects and evidence of Dark Matter Plank Satellite Dark matter estimated to 84.5% of the total matter in the universe Vera Rubin #DV14 #Monitoring @cfalguiere
  • 8. Jan Oort Fritz Zwicky • Hypothesis of a missing mass 1932 - 1933 • Data are validated • Is Universal Gravitation wrong ? #DV14 #Monitoring @cfalguiere
  • 9. • Still speculative, but generally accepted by the mainstream scientific community Vera Rubin • Mass calculated from gravitational effects and evidence of Dark Matter 1960 - 1970 Plank Satellite • Dark matter estimated to 84.5% of the total matter in the universe 2010 - 2013 #DV14 #Monitoring @cfalguiere
  • 10. Measure everything Lean Startup DevOps Make decisions based on facts! Big Data #DV14 #Monitoring @cfalguiere
  • 11. Measure everything Lean Startup DevOps Make decisions based on facts! Big Data #DV14 #Monitoring @cfalguiere
  • 12. Measure everything Lean Startup DevOps Make decisions based on facts! Big Data #DV14 #Monitoring @cfalguiere
  • 13. Measure everything Lean Startup DevOps Make decisions based on facts! Big Data #DV14 #Monitoring @cfalguiere
  • 14. What would you do if you knew that database is broken that number of hits doubles every 2 month that users struggle to find the order form why the app is slow what users want to buy #DV14 #Monitoring @cfalguiere
  • 15. Motivations and user stories SLA observance! Alerting Alerting Diagnosis / Post-Mortem! Capacity Planning! Improvement Storage, Visualization #DV14 #Monitoring @cfalguiere
  • 16. Motivations and user stories SLA observance! Alerting Diagnosis / Post-Mortem! Capacity Planning! Improvement Alerting Storage, Visualization #DV14 #Monitoring @cfalguiere
  • 17. Architecture Collector Probe App Alerting Storage, Aggregation Dev Log Parser Support Log Network System DBA Visualization #DV14 #Monitoring @cfalguiere
  • 18. Architecture Collector Probe App Alerting Storage, Aggregation Dev Log Parser Support Log Network System DBA Visualization #DV14 #Monitoring @cfalguiere
  • 19. Architecture Collector Probe App Alerting Storage, Aggregation Dev Log Parser Support Log Network System DBA Visualization #DV14 #Monitoring @cfalguiere
  • 20. Collector System Collector App Log Storage MQ Storage Alerting filters rules MQ #DV14 #Monitoring @cfalguiere
  • 21. Collector System Collector App Log Storage MQ Storage Alerting filters rules MQ #DV14 #Monitoring @cfalguiere
  • 22. Topology App Platform App Monitoring Platform Alerting Collector! Visualization Log Parser Log Storage, Aggregation #DV14 #Monitoring @cfalguiere
  • 23. Resilience App Platform App Monitoring Platform Alerting Collector Log Parser Log MQ Collector Storage, Aggregation Visualization MQ #DV14 #Monitoring @cfalguiere
  • 24. What would you do if you knew that database is broken #DV14 #Monitoring @cfalguiere
  • 25. Error detection and alerting • Log filtering ! • Event firing! ! • Context! • is it critical ?! • which feature does it impact ?! • how deep is the impact ? #DV14 #Monitoring @cfalguiere
  • 26. Is this a log ? Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: ! Access denied for user 'shopapp'@'shprdb1' to database 'shop'! at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)! at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)! at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)! at java.lang.reflect.Constructor.newInstance(Unknown Source)! at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)! at com.mysql.jdbc.Util.getInstance(Util.java:386)! at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)! at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)! at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)! at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)! at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)! at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)! at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)! at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)! at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)! at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)! at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)! at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)! at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)! at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)! at java.lang.reflect.Constructor.newInstance(Unknown Source)! at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)! at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)! at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)! at java.sql.DriverManager.getConnection(Unknown Source)! #DV14 #Monitoring @cfalguiere
  • 27. Log example 2013-12-17 05:53:16,208 ERROR [Order Creation Service](456713) [shpras2](web1234) Could not create order id=456713 - Cause: Can’t connect to database ‘shop” - MySqlMessage: Access denied for user 'shopapp'@'shprdb1' to database 'shop'! 2013-12-17 05:53:16,208 ! ERROR ! [Order Creation Service]! (456713) ! [shpras2]! (web1234) ! Could not create order id=456713 ! Cause: Can’t connect to database ‘shop” ! MySqlMessage: Access denied for user 'shopapp'@'shprdb1' to database 'shop'! #DV14 #Monitoring @cfalguiere
  • 28. Timestamp 2013-12-17 05:53:16,208 ! ERROR ! [Order Creation Service]! (456713) ! [shpras2]! (web1234) ! Could not create order id=456713 ! Cause: Can’t connect to database ‘shop” ! MySqlMessage: Access denied for user 'shopapp'@'shprdb1' to database 'shop'! Severity }Context (technical and business) { Meaningful information #DV14 #Monitoring @cfalguiere
  • 29. Log Collectors Collector Collectd Logstash storage Log Alerting! System Flume Splunk (Commercial) #DV14 #Monitoring @cfalguiere
  • 30. Logstash input {! file {! path => “/app/logs/apache/*.log”! type => "apachelog"! }! }! ! filter {! if [type] == "apachelog" {! grok {! pattern => “%{COMBINEDAPACHELOG}" ! }! }! }! ! output {! elasticsearch { host => localhost } ! stdout { }! } #DV14 #Monitoring @cfalguiere
  • 31. Logstash input {! file {! path => “/app/logs/appserver/monitor*.log"! type => "applog"! }! }! ! filter {! if [type] == "applog" {! grok {! pattern => “%{TIMESTAMP_ISO8601:ts}” %{WORD}:severity …! }! }! }! ! output {! elasticsearch { host => localhost } ! stdout { }! } #DV14 #Monitoring @cfalguiere
  • 32. Rate check • Frequency of an error increases! • Activity falls (e.g. Frequency of orders)! ! • Alerting based on threshold #DV14 #Monitoring @cfalguiere
  • 33. Baselining 120 90 60 30 0 A B 10:00 10:10 10:20 10:30 10:40 10:50 11:00 11:10 200 150 100 50 0 D C 10:00 10:10 10:20 10:30 10:40 10:50 11:00 11:10 #DV14 #Monitoring @cfalguiere
  • 34. What would you do if you knew that number of hits doubles every 2 month 120 90 60 30 0 Jan Feb Mar Apr May Jun Jul Aug #DV14 #Monitoring @cfalguiere
  • 35. Graphers 70 52,5 35 17,5 0 30 22,5 15 7,5 0 • Foresight Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec • Cycles Sun Tue Thu Sat Mon Wed Wed 40 30 20 10 0 • Correlation Sun Tue Thu Sat Mon WedWed • Distribution 100 75 50 25 0 April May June July #DV14 #Monitoring @cfalguiere
  • 36. Storage / Visualization Collectors (Collectd / Statd / Logstash / Flume) Plain REST Graphite docker: lopter/collectd-graphite #DV14 #Monitoring @cfalguiere
  • 37. Collect and Share Collect Once and Share! • Support, ! • Ops, Dev! • Business! ! UpToDate! Flexible! ! #DV14 #Monitoring @cfalguiere
  • 38. Storage / Visualization Collectors (Collectd / Statd / Logstash / Flume) Plain REST REST REST Graphite InfluxDB Grafana docker: gsogol/docker-elk Logstash ElasticSearch Kibana #DV14 #Monitoring @cfalguiere
  • 39. JMX source: wikipedia • MBeans! • Registration! • Servo! • RMI and firewalls! • -Dcom.sun.management.jmxremote.rmi.port=p! • -Djava.rmi.server.hostname=n.n.n.n! • Jolokia! • jmxtrans! ! #DV14 #Monitoring @cfalguiere
  • 40. JMX Collectors storage Collector logstash collectd JMX beans VisualVM! JConsole JMX Enabled! ! App Performance Monitoring tools #DV14 #Monitoring @cfalguiere
  • 41. JSON Event over REST curl -X POST “…” ! Timestamp -d '{"ts": "2013-12-17 05:53:16,208", ! ! "type": “metric”, ! ! “module”: “Order Creation Service”, ! ! “module-id”: “456713”, ! ! “instance”: “shpras2”, ! ! “thread”: “web1234”, ! “name”: “order-creation”,! ! “duration”: “12”, ! ! “unit”: “ms”} } Context (technical and business) } Metric) #DV14 #Monitoring @cfalguiere
  • 42. What would you do if you knew why app is slow #DV14 #Monitoring @cfalguiere
  • 43. Tuning • Collectd/Statd plugins! • Metrics ! • Commercial : Plumbr, AppDynamics, New Relics! ! ! Where does it spend time ?! Why ? cross-check metrics from various sub-systems Front-End Back-End System DB System System #DV14 #Monitoring @cfalguiere
  • 44. What would you do if you knew that users struggle to find the order form #DV14 #Monitoring @cfalguiere
  • 45. Web Analytics / User tracking • Web analytics! • Page counters! • Tagging! • Log parser! ! • Google Analytics! • Piwik (docker: cfalguiere/docker-piwik) • Reporting APIs #DV14 #Monitoring @cfalguiere
  • 46. What would you do if you knew what users want to buy #DV14 #Monitoring @cfalguiere
  • 47. Model vs Big Data • Expected information! • Explicit Model! • List of metrics • Classification! • Machine Learning! • Patterns detection! Highlights valuable metrics and relationships #DV14 #Monitoring @cfalguiere
  • 48. Getting started List user stories and metrics setup monitoring get facts get add metrics hypothesis validate hypothesis get facts #DV14 #Monitoring @cfalguiere
  • 49. What should I monitor ? Alerting & Post-Mortem :! Presence check Activity (how many users, requests, orders …) Ressources that are limited in size Physical : CPU, memory, free disk space, network bandwidth ... Logical : pools, queues, caches, … Errors Others #DV14 #Monitoring @cfalguiere
  • 50. What should I monitor ? Plan & Improve :! Any information which is useful to understand the process time spent for each major step things that are done often or requires large datasets user navigation context Listen to users and ops #DV14 #Monitoring @cfalguiere
  • 51. Learn from data Continuous Improvement Design for Failure #DV14 #Monitoring @cfalguiere
  • 52. Thank You #DV14 #Monitoring @cfalguiere