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.

Monitor your application and sleep

243 views

Published on

Our application speaks, time series are one of their languages. During this talk I will share how to use the open source Tick Stack to spin up a modern monitoring system for your application and your infrastructure. DevOps, cloud computing and containers changed how we are writing and running our applications. This talk shows what InfluxData and the community is building to have a modern and flexible monitoring toolkit.

Published in: Technology
  • Be the first to comment

Monitor your application and sleep

  1. 1. The TICK stack for a modern and open source monitoring system. Monitor your applications and sleep
  2. 2. “Try again. Fail again. Fail better.” cit. Samuel Beckett
  3. 3. © 2017 InfluxData. All rights reserved.3 Trust your system To be familiar with your applications you need to know what they are doing.
  4. 4. To predict the future.
  5. 5. Because we are not John
  6. 6. 6
  7. 7. © 2017 InfluxData. All rights reserved.7 2016/04/15 15:42:46 [warn] 2330#0: *167 using uninitialized variable, client: 10.0.1.1, server: localhost.dev, request: "POST /auth HTTP/1.1", host: "localhost" 2016/04/15 15:44:44 [error] 2330#0: *171 FastCGI sent in stderr: " PHP message: PHP Fatal error: Uncaught exception 'RuntimeException' with message 'All broken)[500]' in /var/www/my/project.php:237 Stack trace: #0 /var/www/index.php:45 ObjectService->flush() #1 [internal function] ->save()
  8. 8. © 2017 InfluxData. All rights reserved.8 Widespread Monitoring Tools tail -f /var/log/nginx/error.live.log
  9. 9. © 2017 InfluxData. All rights reserved.9 Logs are ¨ Expensive to store
  10. 10. © 2017 InfluxData. All rights reserved.10 Logs are ¨ Difficult to index
  11. 11. © 2017 InfluxData. All rights reserved.11 Difficult but not impossible There are great solutions for this...
  12. 12. © 2017 InfluxData. All rights reserved.12 Depends of your use case: ¨ They contain detailed information ¨ They are human readable ¨ … all kinds of great reasons
  13. 13. There is no war between time series and logs. They love each other!
  14. 14. Reduce your log to a Timestamp + float or int value. You will have something easier to manage.
  15. 15. © 2017 InfluxData. All rights reserved.15 [ { "name": "log_lines", "columns": ["time", "line"], "point": [1400425947368, "here's some useful log info"] } ] I am here to speak about time series
  16. 16. © 2017 InfluxData. All rights reserved.16 { "name": "cpu_percent_use", "columns": ["time", "value"], "point": [1400425947368, 40] } Simplicity is everywhere
  17. 17. © 2017 InfluxData. All rights reserved.17 “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.” Cit. Ernest F. Shumacher
  18. 18. © 2017 InfluxData. All rights reserved.18 We already have some tools ready to be used:
  19. 19. T-Shirt time!
  20. 20. • Easy to get started with • Familiar query syntax • No external dependencies • Open source • Horizontally scalable • Member of a cohesive time series platform Why Choose InfluxDB?
  21. 21. © 2017 InfluxData. All rights reserved.21 Regular and Irregular time series
  22. 22. © 2017 InfluxData. All rights reserved.22 Complete STACK to build your monitoring or event system.
  23. 23. Demo!
  24. 24. © 2017 InfluxData. All rights reserved.24 Managing a monitoring system is not for everyone
  25. 25. © 2017 InfluxData. All rights reserved.25 Gianluca Arbezzano SRE @gianarb Questions?

×