TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Fly’s Prometheus Metrics

164 pointsby elithrarabout 4 years ago

16 comments

kasey_junkabout 4 years ago
Alas, we’ve found the first thing I _dont_ like about fly. They’ve sadly bought into the TSDB model that everything is a counter instead of the more modern model that everything is a histogram.<p>Google has long since abandoned the Borgmon data model for histograms with monarch. The closest non google implementation is probably circonus. Sadly neither is available as open source software.<p>I can’t really blame fly for not individually building an open source modern metric db. But it’s sort of sad that the infra team I’m most impressed with has to use metric systems from 15 years ago when the rest of their stack is so cutting edge.
评论 #27151826 未加载
评论 #27152580 未加载
评论 #27150013 未加载
评论 #27157258 未加载
评论 #27151515 未加载
kronoabout 4 years ago
First time I&#x27;ve heard of Fly, went to check out their docs and found this awesome little mention:<p>&gt; We use Lets Encrypt to issue certificates, and donate half of our SSL fees to them at the end of each calendar year.
评论 #27148430 未加载
hstaababout 4 years ago
Does anyone here have experience using Fly? I’ve seen a few of their posts and it seems quite nice.
评论 #27149211 未加载
评论 #27148235 未加载
评论 #27148254 未加载
评论 #27149841 未加载
评论 #27149177 未加载
评论 #27148330 未加载
sagichmalabout 4 years ago
&gt; VictoriaMetrics<p>:(<p>Not actually Prometheus-compatible, sloppy code, spotty docs. I have no idea why this dumb product continues to attract users.<p><a href="https:&#x2F;&#x2F;prometheus.io&#x2F;blog&#x2F;2021&#x2F;05&#x2F;04&#x2F;prometheus-conformance-remote-write-compliance&#x2F;" rel="nofollow">https:&#x2F;&#x2F;prometheus.io&#x2F;blog&#x2F;2021&#x2F;05&#x2F;04&#x2F;prometheus-conformance...</a><p>&gt; Telegraf, which is to metrics sort of what Logstash is to logs: a swiss-army knife tool that adapts arbitrary inputs to arbitrary output formats. We run Telegraf agents on our nodes to scrape local Prometheus sources, and Vicky scrapes Telegraf. Telegraf simplifies the networking for our metrics; it means Vicky (and our iptables rules) only need to know about one Prometheus endpoint per node.<p>Normally you just use a regular Prometheus server to do this. Why add another, different technology to the stack?<p>&gt; We spent some time scaling it with Thanos, and Thanos was a lot, as far as ops hassle goes.<p>It really isn&#x27;t -- assuming you&#x27;re not trying to bend Prometheus into something it isn&#x27;t. Prometheus works using a federated, pull-based architecture. It expects to be near the things it&#x27;s monitoring, and expects you to build out a hierarchy of infrastructure, in layers, to handle larger scopes.<p>This is structurally different to what I&#x27;ll call the &quot;clustering&quot; model of scale, where you have all your data sources pushing their data, aggregating maybe on the machine or datacenter level, but then shuttling everything to a single central place, which you scale vertically from the perspective of your users. This appears to be what you want to do, based on the prevalence of push-based tech in your stack.<p>Prometheus doesn&#x27;t work this way. Some people <i>really want</i> it to work this way, and have even created entire product lines that make it look as if it works this way (Cortex, M3db) but it&#x27;s fundamentally just not how it&#x27;s designed to be used. If you try to make it work this way yourself, you&#x27;ll certainly get frustrated.
评论 #27149354 未加载
ryanschneiderabout 4 years ago
How big is the fly eng team at this point? You all seem to be doing a ton, I’m always kind of surprised these posts don’t end with the usual “we’re hiring” blurb that’s become the norm on these sorts of tech posts.
评论 #27148086 未加载
xferabout 4 years ago
Do you plan to join the bandwidth alliance at cloudflare? Data prices are quite costly. It&#x27;s the same as GCP&#x2F;AWS.
jzelinskieabout 4 years ago
Hadn&#x27;t heard of promxy before. In the past to reduce cardinality&#x2F;deduplicate metrics, I&#x27;ve just ran another instance of Prometheus entirely in-memory and used rewrite rules.<p>Exposing a metrics endpoint for customers is nice. How do you manage the cardinality? I haven&#x27;t used Victoria before, is it just better at high cardinality time series?
评论 #27151490 未加载
评论 #27153823 未加载
Syttenabout 4 years ago
They mentionned that they decided against thanos for the storage of metrics, but would be curious to hear if other TSDB were considered. It is a hot space, I know about M3BD, Clickhouse, Timescale, influx, QuestDB, opentsdb, etc.
评论 #27148609 未加载
twicabout 4 years ago
&gt; When it comes to automated monitoring, there are two big philosophies, “checks” and “metrics”.<p>There&#x27;s a third, &quot;events&quot;. Just push an event out whenever something interesting happens, and let the monitoring tool decide whether to count, aggregate, histogram, alert, etc.<p>Events require less code in the app (no storage, no aggregation, no web server), and allow more flexibility in processing. I have used events to great effect. I am baffled as to why monitoring people still only talk about metrics.
tantalorabout 4 years ago
&gt; If you’re an Advent of Code kind of person and you haven’t already written a parser for this format, you’re probably starting to feel a twitch in your left eyelid. Go ahead and write the parser; it’ll take you 15 minutes and the world can’t have too many implementations of this exposition format. There&#x27;s a lesson about virality among programmers buried in here somewhere.<p>Huh? Who gets excited about writing a parser?<p>What was wrong with &quot;${key} ${value}&quot; on separate lines?
评论 #27149428 未加载
评论 #27150895 未加载
评论 #27149581 未加载
pm90about 4 years ago
Whose the target audience for fly?<p>I’m trying to understand the market they’re operating in. Big ol enterprises would probably want to run on AWS&#x2F;GCP right? So would startups? What’s the long game? Genuine question.
评论 #27149427 未加载
vira28about 4 years ago
I really like those diagrams. What tools&#x2F;software is used to generate?
评论 #27149307 未加载
yannoninatorabout 4 years ago
I&#x27;m not quite sure if fly is production ready for our usecase yet, but it does look awesome though.
评论 #27148176 未加载
jimmyedabout 4 years ago
Thanos is a lot of ops, true. But did they try Cortex? Oh, and M3?
评论 #27150080 未加载
dexenabout 4 years ago
Not to pick on Fly (seems nice), but on the trend for containers:<p><i>&gt;if you’ve got a Docker container, it can be running on Fly in single-digit minutes.</i><p>I used to laugh at the old Plan 9 fortune, &quot;... Forking an allegro process requires only seconds... -V. Kelly&quot;. Guess I&#x27;m not laughing anymore?<p>FWIW, performance of components is <i>the</i> barrier to composition in system design and development. You can&#x27;t compose modules that take <i>seconds</i> to act, and still have something that is usable real-time.
评论 #27147911 未加载
评论 #27147774 未加载
评论 #27148977 未加载
0xbadcafebeeabout 4 years ago
&gt; Fly.io transforms container images into fleets of micro-VMs running around the world on our hardware.<p>Oh boy!<p>&gt; None of us have ever worked for Google, let alone as SREs. So we’re going out on a limb<p>Oh.... boy.<p>&gt; We spent some time scaling it with Thanos, and Thanos was a lot, as far as ops hassle goes.<p>You know, they have these companies now, that will collect your metrics for you, so that you don&#x27;t have to deal with ops hassle.<p>&gt; In each Firecracker instance, we run our custom init,<p>... in Rust. Yes, the thing that is normally a shell script, is now a compiled program in a new language, that mostly just runs mkdir(), mount() and ethtool(). (<a href="https:&#x2F;&#x2F;github.com&#x2F;superfly&#x2F;init-snapshot&#x2F;blob&#x2F;public&#x2F;src&#x2F;bin&#x2F;init&#x2F;main.rs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;superfly&#x2F;init-snapshot&#x2F;blob&#x2F;public&#x2F;src&#x2F;bi...</a>). In a few years, when that component is passed off to a dedicated Ops team, and they find it hard to hire a sysadmin who also knows Rust, there will be some poor intern who learned Rust over the summer whose job is to rewrite that thing back into a shell script.
评论 #27152605 未加载
评论 #27150460 未加载