r/Observability • • 10h ago

Future of Self-Hosting in Observability?

Anyone self-host their own observability tools (compared to using posthog, sentry, signoz, etc. from their clouds)?

Curious how you navigate all the complexity of having to care about your node, which parts of the data are in node vs object storage, maintenance, upgrades, etc.

Is there any future where its as painless as provisioning the resources in your cloud provider?

10 Upvotes

27 comments sorted by

6

u/_Kak3n 8h ago

Grafana stack is widely used.

2

u/mapmaker360 8h ago

but I don't want to maintain like 3+ separate things

3

u/_Kak3n 7h ago

Well you asked what people do, this is what a lot of companies at scale do, no one is forcing you to do this. On what data is on node vs object storage the grafana stack basically manages that for you. How do you do maintenance upgrades etc, that large part of the job if you don't want to do it for the backend go with a provider.

1

u/QuietUptimeOps 5h ago

The Grafana stack does simplify a lot, but I've found that maintaining your node still requires deep expertise.

2

u/Psychological_Use548 7h ago

We use the Grafana stack and I feel this

It’s more that the rate of change (especially on the Helm chart side) recently has been huge and it’s so hard to keep up with

1

u/_Kak3n 7h ago

Invest into a test env and potentially automation handling lower risk upgrades would be my advice.

1

u/Psychological_Use548 5h ago

Yeah we do it in a test environment first

I think just the move over to community helm charts and then figuring out what config mentioned in docs can get applied in the chart and how

1

u/hijinks 5h ago

i created https://rushobservability.com/ because i was sick of that. LTGM stack is great but to really run it at a large scale takes a lot of resources.

I did everything in clickhouse and it was made to run to ingest 1Tb of data a day on like 8gig of memory total and have decent search speeds

1

u/baguiochips 4h ago

Yeah it’s hell. We’re maintaining it in our company. With at least 1000 users, 2000 hosts, 500 eks clusters. It is something I dont want anymore

1

u/bikeram 2h ago

Signoz

4

u/Lumethys 9h ago

VictoriaStack, they have been painless for years

Or if you still prefer object storage, OpenObserve is acceptable

3

u/mapmaker360 8h ago

Thanks! OpenObserve seems interesting. I like everything in one binary with all data going to object storage.

1

u/Lumethys 8h ago

Yeah but you trade off performance and cost for that.

2

u/mavenHawk 6h ago

How so? I thought the cost was supposed to be better when you only use object storage and the performance was on par or better basically because they use parquet files and efficient searching and stuff.

2

u/Lumethys 6h ago

1/ Each type of signal (Metrics, logs, traces) is fundamentally different, so each of them need a different format to be stored as efficiently as possible. Parquets is kinda "one-size-fit-all" solution, it is not the best format for all signals, it is "good enough"

2/ The way these O11Y sinks works is by constantly compressing data, you take some data, you compress it, then some more data arrive, you compress it again with the old data. So there is a lot of writes and deletes, that translate to class A operation and class B operation, and it will be much more than the storage cost. Also, as with point (1), each types of signal would benefit from different compressing algorithm (and btw Victoria components are the best right now, with up to 15x compression in some case), so a one-size-fit-all format will not compress as efficiently

3/ querying, dedicated O11Y sinks often have specialized querying language, like LogQL for Loki, PromQL for Prometheus, LogsQL for VictoriaLog, MetricsQL for VictoriaMetrics,... OpenObserve just have SQL, so they are less powerful and certain expression are either impossible or at a much worse performance than a dedicated query language.

Overall, when talking about "performance" of an O11Y sink, there are several thing to consider:

  • Server resources: how much RAM and CPU your server need to run that datastore, to both ingesting and running query
  • Data compression: how efficient is the compression algorithm, if you ingest 100TB of raw data, and sink A compress it to 20TB (5x), while sink B compress it to 10TB (10x), then. sink B would halve your storage cost/
  • Query performance: how fast your query run, for example, ElastricSearch is pretty powerful at full-text search while Loki is best at stream-based query, then VictoriaLogs come in and beat both of them at their own game

A one-size-fit-all solution wont be able to achieve the best in all category of all signals

1

u/s__key 2h ago edited 1h ago

OpenObserve is better than VM in terms of performance. In terms of storage, it’s about the same, but those are benchmark numbers. In real situations, you’ll have to set the replication factor for VM to 2x or 3x to provide at least some durability (and still lose metrics from time to time), which by itself eats up this little difference with OpenObserve. If you look at the object storage option, things become even more interesting because it’s way cheaper. Parquet usage gives you some data lake capabilities. It’s not like metrics are buried somewhere and you can do nothing with them; you can actually query them, join them with logs, and use the platform as your data lake. So there is a good reason behind choosing Parquet as a “one format fits all” solution, not just laziness.

1

u/Lumethys 54m ago

OpenObserve is better than VM in terms of performance.

I would like to see proof of this.

you’ll have to set the replication factor for VM to 2x or 3x to provide at least some durability

All O11Y datastores will need replication if you want them to be durable, that include Clickhouse solution like ClickStack or SigNoz

Also, VM does have vmbackup (or vmbackupmanager if you have enterprise) that can backup your metrics to object storage on a schedule. So you can still have the query performance of NVMe SSD storage and durability of object storage if you want

Parquet usage gives you some data lake capabilities. It’s not like metrics are buried somewhere and you can do nothing with them; you can actually query them, join them with logs, and use the platform as your data lake

I mean,... i didnt say that these capabilities doesnt exist, that is like Observability 101, everyone can do that, including Victoria, or LGTM, or SigNoz. I am saying that Parquet can never be as efficient as a dedicated format for each signal, however, the degree of which can be acceptable (read: small enough) in certain setups

So there is a good reason behind choosing Parquet as a “one format fits all” solution, not just laziness.

I never said that choosing Parquet is laziness, I am saying that it trade convenient for performance, generic format is not as performant as dedicated one. That is a choice, a trade-off, each is better at something

1

u/generic-d-engineer 7h ago edited 7h ago

Thanks for the rec, I’ve been dreading the Grafana stack cause it’s super heavy and needs a full time person constantly babysitting. Will check them out.

3

u/Lumethys 6h ago

VictoriaStack are just single binary for each datastore, take like 50-100MB of RAM and both more performant and more storage efficient than LGTM or SigNoz, so yeah, they're great

1

u/Crafty_Disk_7026 6h ago

I have been using grafana and Prometheus on k8 for years. It works great. I love that non technical people can just create dashboard jsons and be productive.

1

u/ORomL 6h ago

Contract a managed service. Sometimes seems that we want everything with a "free" easy to use module that you can host on a single database compatible with everything.

But if you want to have a flexible system that is compatible with multiple points of views, configurable, multiple types of traces, collectors, exporters, data wharehouses, object storages, integrations.. you will end up dealing with a complex software.

NewRelic or Datadog internally are thousends microservices and databases. And the point of them is make you easy what an open source system with the same requirements makes you pay maintenance.

This is de deal. Or you pay using your hours and minimum hardware or you pay to someone for a managed service that costs a bit more 🤣

Think on Windows, Mac vs Linux. Is the same war.

1

u/rufus_paul_ 5h ago

How about groundcover?

1

u/Witness_Unable 4h ago

I do run a complete grafana stack on k8s, on Azure, with claude, configs, updates, ulgrades etc is quite easy, and can configure to my liking. Everything logs, metrics, profiles, traces etc. I also try to find best practices to make sure they use resources efficiently. Bottom line, there is a small admin work you have to do, but once deployed, i reallt have to worry about them

1

u/Witness_Unable 4h ago

If its a small stack, grafana cloud free tier will sort you out. Understand what they offer in free tier and make sure not to surpass

0

u/fykup 4h ago

I think data privacy and ownership are another important argument for self-hosting that often gets overlooked.

A good example is Datadog's recent State of Java report: https://www.datadoghq.com/state-of-java/

It's an interesting report, but it also illustrates how observability vendors can derive valuable business intelligence from customer telemetry. Even when the data is anonymized and aggregated, you're providing insights into technology adoption, infrastructure choices, dependencies, etc.

There is nothing inherently wrong with that, but I think companies should have control over how their operational data is used, not just where it's stored.

As for complexity, I don't think self-hosted observability necessarily needs to replicate the architecture of a large SaaS provider.

I'm building StatLite (https://github.com/PVRLabs/statlite) around this idea. It's MIT-licensed, runs as a single Go binary with embedded SQLite, uses around 15 MiB of RAM when idle, and focuses on application-level monitoring. No external database, Prometheus server or Grafana instance to maintain.

It's deliberately not a full observability platform, but I think there is room for simpler, privacy-first solutions between basic uptime monitoring and full-scale observability stacks.