News for hackers. Stuff that matters.
Re:Vulcan: An API-compatible alternative to Prometheus by agentgt on Thursday August 25, 2016 @01:13PM (#12360683)
One thing I don't really like about Prometheus is it seems to prefer the pull aka scraping model over the push model.

I think the push model is better in terms of security and discovery (which is how I think most of the other metric aggregators work).

I don't even like log scrapping. I just push the log data through kafka or rabbitmq and have something else pick it up.

I do like how Prometheus has a dimensional model instead of just raw timeseries.

Speaking of which I still haven't found an effective way of merging or correlating metric data with log data (particularly since it is two different systems).

I sort of made some experimental headway with Druid since it kind of has generic event and metric support. This was only possibly because the events are being pushed and not pulled (ie pushing to a bus allows for syndication).

Re:Vulcan: An API-compatible alternative to Prometheus by andrewstuart2 on Thursday August 25, 2016 @01:28PM (#12360802)
The #1 reason Prometheus went with pull versus push is that it's fundamentally impossible to overload a pull-based system. If you have a push-based system, there's a hard problem of knowing whether you're getting all the messages or if system load or outages at scale are causing you to drop some metrics on the floor (as was the case at SoundCloud which drove them to start Prometheus).

I'd recommend listening to their recent CNCF online meetup [1] for some more of the background on push/pull and why they made the choices they did.

[1] https://www.youtube.com/watch?v=gfpG2_zIOvw

Re:Vulcan: An API-compatible alternative to Prometheus by agentgt on Thursday August 25, 2016 @01:36PM (#12360886)
I will for sure check it out but I have found the opposite to be true (well not the opposite but a different problem). With pull I loose invaluable data because either the pulling system is down or it just doesn't know about all the nodes. Of course the converse could be said... what happens if nodes just choose not to push. Consequently I made the nodes smarter. IF they can't push they crash.

I guess it is architecture choice but honestly if our nodes can't push to the bus (because this bus is more than just metrics that can be dropped it is critical biz shit) it is a fatal state for us.

I think if you have a good enough bus like Kafka or RabbitMQ you can create a big enough buffer to prevent absolute chaos of overload (and now you just monitor queue size). If you see overload happening (ie massive queue) you can selectively drop messages (particularly with RabbitMQ as it has routing). But you are absolutely right that bad stuff can happen.

Re:Vulcan: An API-compatible alternative to Prometheus by bostik on Thursday August 25, 2016 @04:57PM (#12362449)
> * One thing I don't really like about Prometheus is it seems to prefer the pull aka scraping model over the push model.*

This is also closely related to one of my (well, our) wishlist items for any TS system. Quoting from the README.md:

> allows a scraper configured for a high-frequency 15s resolution

Above extract feels like a crystallisation of cognitive dissonance.

For us, and especially our engineers, 15 seconds for resolution is just barely acceptable. Our senior engineers would like a 2-second granularity for most metrics, and should generally accept 5 seconds as a reasonable compromise between storage requirements and data accuracy. (We have 10-15 seconds resolution now, and all too frequently find it annoyingly coarse.)

Re:Vulcan: An API-compatible alternative to Prometheus by jrv on Thursday August 25, 2016 @05:13PM (#12362562)
> I think the push model is better in terms of security and discovery (which is how I think most of the other metric aggregators work).

Interesting, I think the pull model is better at least in terms of discovery, and you need less configuration overall for a pull-based monitoring system, as now you need to only configure the monitoring system to know about your services, and the service instances don't need to know: a) who they are, b) where the monitoring system lives. In a push-based world, you need to configure both sides.

I expand on that a bit more in https://prometheus.io/blog/2016/07/23/pull-does-not-scale-or...

Re:Vulcan: An API-compatible alternative to Prometheus by jdub on Thursday August 25, 2016 @03:13PM (#12361629)
"Is this the right room for an argument?"

"I've told you once."

http://www.circonus.com/pully-mcpushface/