Our application and our infrastructure speak, time series are one of their languages, during this talk I will share my experience about InfluxDB and time series to monitor and know the status of our cloud infrastructure. We will show best practice and tricks to grab information from an application in order to understand the mains difference between logs and time series.
15. They are awesome for some use cases
▪ Extract informations
▪ They can be “human readable”
▪ … and others, and others
15
16. Keep your life amazing
Reduce your time series
to a timestamp
and a value (int or float)
16
This is cheap and useful
17. We are here to speak about
Time Series
[
{
"name": "log_lines",
"columns": ["time", "line"],
"point": [1400425947368, "here's some useful log info"]
}
]
17
19. “
“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
19
20. Time is a perfect sharding key
It means that Time Series scale really well
20
22. 22
InfluxDB
● Optimized to store time series data
● Open Source and easy to install (go binary)
● Big community and ecosystem to manage
alert and collect metrics
23. 23
Easy
Install and start a go binary
wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.2_amd64.deb
sudo dpkg -i influxdb_1.2.2_amd64.deb
Influxd -config /usr/local/etc/influxdb.conf
24. 24
Easy
HTTP API on port 8086
Support for UDP connections
Powerful CLI to communicate with the db
41. 41
Why InfluxDB and not something else?
https://www.influxdata.com/influxdb-is-27x-faster-vs-mongodb-for-time-series-workloads/
27x greater write throughput
84x less disk space
42. 42
That’s it!
A series of great tools to monitor your
applications and your infrastructure
44. “Anybody” who?!?
44
● Think about your monitoring system as “as a
service” tools.
● different location (VPC or network)
● Proper team, contingency plan, deploy,
documentation, everything you can!
● HA