4 ms·
Influx + Telegraf + Grafana is such a simple, sweet stack. No work to maintain, trivial to set up, I can ship just about anything I want into it, and reporting
by cheald 10y ago
Influx + Telegraf + Grafana is such a simple, sweet stack. No work to maintain, trivial to set up, I can ship just about anything I want into it, and reporting is fast.
With alerting in place now, I'm even happier than ever. A huge thank you to the Grafana team for solving a huge pain point!
- RRRA 10y agoWhat transport are you using to secure telegraf into influxdb? (Haven't tried telegraf yet, setuping a prometheus at the moment)
- alfalfasprout 10y agoNot sure what you mean "secure telegraph into influxdb" but we've had great success with this stack for monitoring by just embedding an HTTP server into each application that needs to be monitored. We keep the HTTP server separate from any others used by the application (i.e. it runs on a separate thread) so performance isn't impacted.
- RRRA 10y agoMy use case is one where I have servers in different datacenters and would want to have a simple, but secure, way to fetch metrics for graphing and alerts. So, I meant encryption in transport, authentication, etc. as many solutions work well if you're monitoring "in the clear" from the backend, but not so much over the internet.
- cheald 10y agoWe're deployed on AWS in multiple regions with VPNs set up between VPCs. No particular attention paid to securing the transport between Telegraf and Influx at the moment since a) it's either in an internal VPC or secured via ipsec, and b) our monitoring data is low-value enough that it doesn't warrant its own secure transport.
- agnivade 10y agoIIRC, Influx supports https too. So you just have to setup some certs and switch to https in the client.
- mattkrea 10y agoWhat kind of volume are you sending into Influx? It crashed on me probably 5 times a day with only 100 requests per second.
- hoov 10y agoWas this an older build? We had serious issues at first, but our setup is pretty stable these days.
- mattkrea 10y agoLast I tried was 1.0. I love everything about using Influx but it would die and never restart and every time it would some crash on semacquire. I'll have to try it again since I need to check out this Grafana update anyway.
- scrollaway 10y agoThere's some setup involved if you're sending a decent amount of traffic to it. The two game changers are using the UDP line protocol instead of HTTP, and making sure you are batch-processing inputs. Fixing these settings is the difference between an instances that crashes all the time, and a purring one.
- mattkrea 10y agoThank you. I'll check this out.
- agnivade 10y agosending data in batches gives serious performance improvements. Don't send metrics directly to influx from your app. Send them to an intermediary like statsD which will aggregate them and send it. Shameless plug - I recently published a log router in Golang. It sends data to influx too ! (github.com/agnivade/funnel)
- deleted 10y ago[deleted]