Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Coding defines
Monitoring
Jirayut Nimsaeng (Dear)
Founder Opsta
Code Mania 100 : Coding Defines Anything
Faculty of Engine...
#whoami
Jirayut Nimsaeng (Dear)
● Founder of Opsta
https://facebook.com/opstacloud
● Senior DevOps at Kaidee
● Focus on bu...
Monitoring Stacks
Network
Physical Devices
OS and
Application
Development
Application
Business
Network
● Bandwidth In/Out
● Connection
● Error/Loss
● Load on devices
● Traffic breakdown
● Latency
Physical Devices
● Hardware
● Temperature
● Fans
● Voltages
● Power Consumption
OS and Application
Operating System
● CPU
● Memory
● Hard Disk
● Network
● Load
Application
● Process
● Memory/Network foo...
Development Application
● Response time
○ Function
○ API
● Connection
○ Database
○ Other services
● Success/Error
● Counti...
Business
Type of monitoring data
Log
Metric
Check
Check
Metric
Log
Traditional Monitoring Tools
Modern Monitoring Features
● Dashboard
● Scaling
● Alert
● High Availability
● API
● Monitor as a Code
● Automated
● Devel...
Modern Monitoring Tools
Monitor Components
Database
Analysis
Alert
Visualize
Collector
Sensor
Monitor Components
Graylog
Prometheus
Elasticsearch
Sensu
Sensu check configuration
{
"checks": {
"sensu-website": {
"command": "check-http.rb -u https://sensuapp.org",
"subscriber...
Client
Client
Sensu self-deploy monitor
Server
Clients
Trigger Deploy
Run Check
InfluxDB + Grafana
Application Monitor with StatsD
Demo
QA
Upcoming SlideShare
Loading in …5
×

DevOps: Coding Defines Monitoring

1,244 views

Published on

In DevOps world, the responsibility of monitoring is not only for the infrastructure team but also for developers as well. In this session, developers will know how to help and make monitor better with their coding to define monitoring.

Coding Defines Monitoring for Code Mania 100 : Coding Defines Anything at Faculty of Engineering, Chulalongkorn University on November 6, 2016

Published in: Technology

DevOps: Coding Defines Monitoring

  1. 1. Coding defines Monitoring Jirayut Nimsaeng (Dear) Founder Opsta Code Mania 100 : Coding Defines Anything Faculty of Engineering, Chulalongkorn University | November 6, 2016 How developer do monitoring as a code
  2. 2. #whoami Jirayut Nimsaeng (Dear) ● Founder of Opsta https://facebook.com/opstacloud ● Senior DevOps at Kaidee ● Focus on building scale with Cloud Automation ● Open Source Contributor https://github.com/opsta OpenStack Contributor
  3. 3. Monitoring Stacks Network Physical Devices OS and Application Development Application Business
  4. 4. Network ● Bandwidth In/Out ● Connection ● Error/Loss ● Load on devices ● Traffic breakdown ● Latency
  5. 5. Physical Devices ● Hardware ● Temperature ● Fans ● Voltages ● Power Consumption
  6. 6. OS and Application Operating System ● CPU ● Memory ● Hard Disk ● Network ● Load Application ● Process ● Memory/Network footprint ● Logging ● Connection ● Specific value
  7. 7. Development Application ● Response time ○ Function ○ API ● Connection ○ Database ○ Other services ● Success/Error ● Counting ● Logging ● Application Specific
  8. 8. Business
  9. 9. Type of monitoring data Log Metric Check
  10. 10. Check
  11. 11. Metric
  12. 12. Log
  13. 13. Traditional Monitoring Tools
  14. 14. Modern Monitoring Features ● Dashboard ● Scaling ● Alert ● High Availability ● API ● Monitor as a Code ● Automated ● Developer Self Service
  15. 15. Modern Monitoring Tools
  16. 16. Monitor Components Database Analysis Alert Visualize Collector Sensor
  17. 17. Monitor Components
  18. 18. Graylog
  19. 19. Prometheus
  20. 20. Elasticsearch
  21. 21. Sensu
  22. 22. Sensu check configuration { "checks": { "sensu-website": { "command": "check-http.rb -u https://sensuapp.org", "subscribers": [ "production" ], "interval": 60, "contact": "ops" } } }
  23. 23. Client Client Sensu self-deploy monitor Server Clients Trigger Deploy Run Check
  24. 24. InfluxDB + Grafana
  25. 25. Application Monitor with StatsD
  26. 26. Demo
  27. 27. QA

×