Date post: | 11-Aug-2015 |
Category: |
Software |
Upload: | thomas-segismont |
View: | 661 times |
Download: | 0 times |
HAWKULAR METRICSHAWKULAR METRICSG A R D E Z VO S A P P L I C AT I O N S ÀG A R D E Z VO S A P P L I C AT I O N S ÀL ' O E I LL ' O E I L
P R É S E N TAT I O NP R É S E N TAT I O N
@Marseille
Software engineer @ Red Hat
tsegismont @ GitHub / Twitter / GMail / Freenode
P R O G R A M M EP R O G R A M M E
Monitoring
De RHQ à Hawkular
Hawkular Metrics: visite guidée
Démos
Et après
P O U R B I E N G É R E R U N E P R O DP O U R B I E N G É R E R U N E P R O D
Logs / évènements
Inventaire
Alertes...
C ÔT É FAC EC ÔT É FAC E
De la configuration
Pas de réutilisation des composants
Il faut toujours un plugin
Vue hiérarchique liée à un agent
H AW K U L A R M E T R I C SH AW K U L A R M E T R I C S
Time-series database
Open source
Licence Apache version 2
A R C H I T E C T U R EA R C H I T E C T U R E
Librairie Core: RxJava + Cassandra driver
REST API: JAX-RS 2 async
JSON
P O U R Q U O I C A S S A N D R A ?P O U R Q U O I C A S S A N D R A ?
Beaucoup plus d'écritures que de lectures
Pas une base "exotique"
É C R I T U R EÉ C R I T U R E
POST /hawkular/metr ics/gauges/data HTTP/1 . 1Content-Type : app l i cat ion/ json ;charset=ut f -8Content-Length : 4923Hawkular-Tenant : de fau l t
[ { " id " : " co l lectd . stetson .memory.memory. f ree" , "data" : [ { " t imestamp" : 1432459398673 , "va lue" : 1 . 7434624E8 } ] }]
L E C T U R EL E C T U R E
GET /hawkular/metr ics/gauges/co l lectd .stetson .memory.memory. f ree/data? HTTP/1 . 1Accept : app l i cat ion/ jsonContent-Type : app l i cat ion/ jsonHawkular-Tenant : de fau l t
HTTP/1 . 1 200 OKTransfer-Encod ing : chunkedContent-Type : app l i cat ion/ json
0bf6[ { " t imestamp" : 1432459978673 , "va lue" : 4 .972417024E9 } , { " t imestamp" : 1432459968673 , "va lue" : 4 .97635328E9 } , { " t imestamp" : 1432459368673 , "va lue" : 1 .44093184E8 }]0
P T R A N S ( P R OTO C O L T R A N S L ATO R )P T R A N S ( P R OTO C O L T R A N S L ATO R )
collectd
graphite
ganglia
I N F L U X D B V0 . 8 Q U E RY L A N G UAG EI N F L U X D B V0 . 8 Q U E RY L A N G UAG E
Couche de compatibilité
Faire profiter de l'écosystème
E N C O U R SE N C O U R S
Monitor agent (DMR / JMX avec Jolokia)
vertx-monitor
Aggrégation en continu
H AW K U L A RH AW K U L A R
Dashboards /Alerts / Inventory : tout-en-unVue centrée sur les applicationsManagement
O Ù N O U S T R O U V E R ?O Ù N O U S T R O U V E R ?
GitHub hawkular/hawkular-metrics
IRC #hawkular sur Freenode
hawkular-dev @ lists.jboss.org
Twitter @hawkular_org