Contenu connexe Similaire à Monitor your application and sleep (20) Plus de Gianluca Arbezzano (15) Monitor your application and sleep1. The TICK stack for a modern and open source monitoring system.
Monitor your applications
and sleep
3. © 2017 InfluxData. All rights reserved.3
Trust your system
To be familiar with your applications you need to know what they are
doing.
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
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 no war between
time series and logs.
They love each other!
14. Reduce your log to 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:
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?
22. © 2017 InfluxData. All rights reserved.22
Complete STACK to build your monitoring or event system.
24. © 2017 InfluxData. All rights reserved.24
Managing a monitoring system is not
for everyone