The TICK stack for a modern and open source monitoring system.
Monitor your applications
and sleep
“Try again. Fail again.
Fail better.”
cit. Samuel Beckett
© 2017 InfluxData. All rights reserved.3
Trust your system
To be familiar with your applications you need to know what they are
doing.
To predict the future.
Because we
are not John
6
© 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()
© 2017 InfluxData. All rights reserved.8
Widespread Monitoring Tools
tail -f /var/log/nginx/error.live.log
© 2017 InfluxData. All rights reserved.9
Logs are
¨ Expensive to store
© 2017 InfluxData. All rights reserved.10
Logs are
¨ Difficult to index
© 2017 InfluxData. All rights reserved.11
Difficult but not impossible
There are great solutions for this...
© 2017 InfluxData. All rights reserved.12
Depends of your use case:
¨ They contain detailed information
¨ They are human readable
¨ … all kinds of great reasons
There is no war between
time series and logs.
They love each other!
Reduce your log to a
Timestamp + float or int value.
You will have something easier
to manage.
© 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
© 2017 InfluxData. All rights reserved.16
{
"name": "cpu_percent_use",
"columns": ["time", "value"],
"point": [1400425947368, 40]
}
Simplicity is everywhere
© 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
© 2017 InfluxData. All rights reserved.18
We already have some tools ready to be used:
T-Shirt time!
• 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?
© 2017 InfluxData. All rights reserved.21
Regular and Irregular time series
© 2017 InfluxData. All rights reserved.22
Complete STACK to build your monitoring or event system.
Demo!
© 2017 InfluxData. All rights reserved.24
Managing a monitoring system is not
for everyone
© 2017 InfluxData. All rights reserved.25
Gianluca Arbezzano
SRE
@gianarb
Questions?
Monitor your application and sleep

Monitor your application and sleep

  • 1.
    The TICK stackfor a modern and open source monitoring system. Monitor your applications and sleep
  • 2.
    “Try again. Failagain. Fail better.” cit. Samuel Beckett
  • 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.
  • 5.
  • 6.
  • 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.
    © 2017 InfluxData.All rights reserved.8 Widespread Monitoring Tools tail -f /var/log/nginx/error.live.log
  • 9.
    © 2017 InfluxData.All rights reserved.9 Logs are ¨ Expensive to store
  • 10.
    © 2017 InfluxData.All rights reserved.10 Logs are ¨ Difficult to index
  • 11.
    © 2017 InfluxData.All rights reserved.11 Difficult but not impossible There are great solutions for this...
  • 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.
    There is nowar between time series and logs. They love each other!
  • 14.
    Reduce your logto a Timestamp + float or int value. You will have something easier to manage.
  • 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.
    © 2017 InfluxData.All rights reserved.16 { "name": "cpu_percent_use", "columns": ["time", "value"], "point": [1400425947368, 40] } Simplicity is everywhere
  • 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.
    © 2017 InfluxData.All rights reserved.18 We already have some tools ready to be used:
  • 19.
  • 20.
    • Easy toget started with • Familiar query syntax • No external dependencies • Open source • Horizontally scalable • Member of a cohesive time series platform Why Choose InfluxDB?
  • 21.
    © 2017 InfluxData.All rights reserved.21 Regular and Irregular time series
  • 22.
    © 2017 InfluxData.All rights reserved.22 Complete STACK to build your monitoring or event system.
  • 23.
  • 24.
    © 2017 InfluxData.All rights reserved.24 Managing a monitoring system is not for everyone
  • 25.
    © 2017 InfluxData.All rights reserved.25 Gianluca Arbezzano SRE @gianarb Questions?