HNHacker News
TopNewBestAskShowJobs

gouthamve

167 karma · joined June 19, 2015

Software Engineer at Grafana Labs. Prometheus maintainer.

gouthamve.dev

submissionscomments
gouthamve··on Cal.com is going closed source
This is a weird knee-jerk reaction. I feel like this is more a business decision than a security decision.

I feel like with AI, self-hosting software reliably is becoming easier so the incentives to pay for a hosted service of an OSS project are going down.

gouthamve··on Meta debuts Muse Spark, first AI model under Alexandr Wang
This is a better link: https://ai.meta.com/blog/introducing-muse-spark-msl/

See: https://news.ycombinator.com/item?id=47692102 for the thread with this link

gouthamve··on Skip is now free and open source
https://github.com/skiptools/skip

This is cool, but there is no LICENSE file putting this in DONT USE territory.

This has a license: https://github.com/skiptools/skipstone but it vendors the other repo according to the readme? I am super confused about how this would work.

gouthamve··on Dell UltraSharp 52 Thunderbolt Hub Monitor
I honestly think 40 is the sweet spot.
gouthamve··on Dell UltraSharp 52 Thunderbolt Hub Monitor
I just setup mine today, and I am not sure I recommend it.

I went from a 40" to a 52", and I'm just moving my head waaay too much and my shoulders hurt. It is curved, but very little imo, it's almost like it's flat. I'm going to try it for a week before making the call on whether to return it.

I feel like this needs a workflow where you do work in the middle and use the fringes for other applications that you rarely look at. Otherwise you're moving your head waaay too much and squinting a bunch.

gouthamve··on A deep dive on agent sandboxes
Hugged to death? Seeing SSL failure to the site from CloudFlare.
gouthamve··on "Just Fucking Ship It" (Or: On Vibecoding)
OMG the prompt is hilarious. And hilariously bad.

> You are a Gen Z App, You are Pandu,you are helping a user spark conversations with a new user, you are not cringe and you are not too forward, be human-like. You generate 1 short, trendy, and fun conversation starter. It should be under 100 characters and should not be unfinished. It should be tailored to the user's vibe or profile info. Keep it casual or playful and really gen z use slangs and emojis. No Quotation mark

gouthamve··on Eastern Baltic cod grow much smaller than they did due to overfishing
Related, this is an excellent book on Cod fishing and how it helped humans and finally how overfishing has hurt the Cod numbers: https://www.markkurlansky.com/books/cod-a-biography-of-the-f...

It might sound like a boring topic, but it's one of the best books I've read and something I recommend a lot.

gouthamve··on Zen and the Art of Writer Decks (Using the Pomera DM250)
https://www.crowdsupply.com/zerowriter/zerowriter-ink

There is an open source dedicated writer that just went on sale. It looks quite compelling and hackable.

gouthamve··on Prometheus metrics saves us from painful kernel debugging (2022)
Yup, https://github.com/prometheus/node_exporter is the standard way to monitor machine metrics with Prometheus.
gouthamve··on Getting RISC-V (again): Milk-V's Mars CM
What I like about the VisionFive 2 is that the Ubuntu server image works great: https://wiki.ubuntu.com/RISC-V/StarFive%20VisionFive%202

I had to use UART to install the image to SSD but it works quite well and I am happy with it.

gouthamve··on Ingest OpenTelemetry metrics with Prometheus natively
Yes sorry
gouthamve··on Ingest OpenTelemetry metrics with Prometheus natively
Prometheus can also receive remote write requests, however, we recommend only writing metrics scraped by another Prometheus or the agent. The datamodel still has a few things that expect the metrics to have been scraped.

If you try to use Prometheus as a native push system and push directly, it'll work but you might not have the best experience. https://prometheus.io/docs/prometheus/latest/querying/api/#r...

gouthamve··on Ingest OpenTelemetry metrics with Prometheus natively
Unfortunately, yes. The OTel Collector has plans to implement a WAL for the OTLP exporter and when it does, you should be resilient to upstream temporarily having issues.
gouthamve··on Ingest OpenTelemetry metrics with Prometheus natively
Hi! Author of the PR here. As a project, Prometheus would like to become more OTel native and this is only the first of changes that are coming.

I’d be happy to answer any questions you have.

gouthamve··on Ask HN: Any hardware startups here?
I see that shipping to Europe is not yet supported. Do you have plans soon?
gouthamve··on Grafana Faro: An open source project for front end application observability
It’s in the getting started guide here: https://github.com/grafana/faro-web-sdk/blob/main/docs/sourc...
gouthamve··on Grafana Faro: An open source project for front end application observability
It should work with OpenSource. You should be able to use the Grafana Agent to write to your Loki and Tempo backends on-prem as well.

Faro JS library —> Grafana Agent —> Loki/Tempo

gouthamve··on Phlare: open-source database for continuous profiling at scale
Currently Phlare supports pprof which exposes profiling data on a http endpoint.

We need to pull these profiles in at a regular interval by hitting the HTTP endpoint and we call this “scraping profiles”.

This is very similar to how Prometheus.io works.

gouthamve··on Hosted Monitoring: Evaluating InfluxDB Cloud and Grafana Cloud
Hey, you can also point your Telegraf directly at GrafanaCloud Prometheus if you're interested in using Prometheus. See: https://grafana.com/docs/grafana-cloud/how-do-i/push-from-te...

Our Graphite hosting is also best in class and this makes me happy to see the good feedback!

PS: I work on Grafana Cloud Prometheus.

gouthamve··on Twitter Experiences Widespread Outages
https://status.twitterstat.us/ is disappointing.
gouthamve··on Grafana Tempo, a scalable distributed tracing system
See some more details around the motivations and history here: https://gouthamve.dev/tempo-a-game-of-trade-offs/

It will be easier and cheaper to manage compared to Jaeger but doesn't yet have any ability to search inbuilt (which is one of the reasons Jaeger is expensive).

gouthamve··on CNCF's Cortex v1.0: scalable, fast Prometheus implementation
The only one I know with "non-experimental" local-storage is VictoriaMetrics. But the big thing there is that data in VM is not replicated, so when you lose a disk/node, you lose that data.

Having said that, both Thanos and Cortex have experimental local-storage modes that are pretty good. You could also try them for now while they get production ready.

gouthamve··on CNCF's Cortex v1.0: scalable, fast Prometheus implementation
Yes, it was created at Weaveworks, but it was later donated to CNCF and now the community is much bigger! Having said that Weaveworks is still a major contributor!
gouthamve··on CNCF's Cortex v1.0: scalable, fast Prometheus implementation
Yes, you're running the Prometheus server. But what Cortex is a Prometheus API compatible service that horizontally scales and has multi-tenancy and other things built in.
gouthamve··on Tanka: Our way of deploying to Kubernetes
Hey we've been using ksonnet since before kustomize existed and we've just rewritten it to be more flexible with much more focus.

Further we use jsonnet a lot (including generating dashboards) and in general found it much more powerful and useful compared to plain YAML. From a customary glance, I can't find if kustomize supports jsonnet.

gouthamve··on Tanka: Our way of deploying to Kubernetes
Interesting, this is similar to jsonnet. Does it support deep merging?

For example, in our case we do `default_deployment.libsonnet` to which we add arbitrary overrides like `default_deployment + dev` or `default_dep + us_central1_overrides` depending on the cluster. And in these case we don't need to pre-specify what can be overriden in the `default_deployment` which makes it really powerful (also can come bite you in the arse though).

gouthamve··on Tanka: Our way of deploying to Kubernetes
Which extensions are you talking about? Do you mean CRDs? Then it take plain JSON or you can write a function to generate those.
gouthamve··on Grafana Loki – Like Prometheus, but for logs
1. Yes, you can. We initially targeted Kubernetes because that's what we use and packaging for it is simple. We'll soon release packages for all distros, support syslog/journald etc.

2. Hmm, please open an issue regarding this with the use-case that prompted this? This is not a use-case we have but if this is important for more people, we'd be happy to support it!

3. You can only select based on the metadata, the metadata is just a set of kv pairs. Like {app=cassandra, namespace=prod, instance=cassandra-minion-0}

4. Yes, we used gzip. Please see the sheet referenced at the end of the design doc [0] to see what we compared with.

5. It's mainly protobufs right now [1] over HTTP, but we'll be adding more docs soon. Mind opening an issue for this so that we don't forget?

[0] https://docs.google.com/document/d/11tjK_lvp1-SVsFZjgOTr1vV3... [1] https://github.com/grafana/loki/tree/master/pkg/logproto

gouthamve··on Grafana Loki – Like Prometheus, but for logs
Simple answer: Cost.

When debugging you'd want as much info as possible and you'd want to be able to simply tail + grep it. I've been told to log less because the amount I was logging would burn a hole in the pocket when deployed to production. Sometimes, at scale people only send WARN (maybe even only ERROR) and above in production which is sometimes not enough when trying to debug a system on fire.

While ELK does a great job of indexing the contents, and if you depend on it for BI, you should definitely still keep it for use-cases where just select+grep won't suffice. But for just storing logs, and being able to select, stream and grep laaarge quantities of logs, Loki will come in handy.

Page 1 of 2Next →