awesome job by the cortex team! there's a lot of good questions, and some confusion in this thread. here is my view. note: i'm definitely biased; am the co-founder/ceo at grafana labs. - at grafana labs we are huge fans of prometheus. it has become the most popular metrics backend for grafana. we view cortex and prometheus as complementary. we are also very active contributors to the prometheus project itself. in fac…
I'm worried about this statement: > Local storage is explicitly not production ready at this time. https://cortexmetrics.io/docs/getting-started/getting-starte... But I want a scale-out, multitenant implementation of Prometheus with local storage that's ready for prod. What are my options then? VictoriaMetrics?
CNCF's Cortex v1.0: scalable, fast Prometheus implementation
31–40 of 47 posts
Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#32Earlier quoted context omitted.
I'm worried about this statement: > Local storage is explicitly not production ready at this time. https://cortexmetrics.io/docs/getting-started/getting-starte... But I want a scale-out, multitenant implementation of Prometheus with local storage that's ready for prod. What are my options then? VictoriaMetrics?
Thanos is probably one of the other popular choices. It's being heavily used in production by a number of companies, but I don't think they've branded it at "Prod ready" in a 1.0 release though.
Interestingly, it looks like Cortex's support for local storage and object stores comes from using Thanos's storage engine. So once it's production ready in Thanos it will probably be production-ready in Cortex shortly thereafter.
https://cortexmetrics.io/docs/operations/blocks-storage/
I think for Cortex your safest storage options now are Bigtable, DynamoDB, or Cassandra.
Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#33Isn't prometheus an implementation and not an interface? I have "prometheus" running in my cluster, if it's not cortex, what implementation am I using?
You are using Prometheus. However, Prometheus can use different storage backends. The TSDB that it comes with is horrible. I mean, it's workable. And can store an impressive amount of data points. If you don't care about historical data or scale, it may be all you need. However, if your scale is really large, or if you care about the data, it may not be the right solution, and you'll need something like Cortex. For i…
The docs say Prometheus is not intended for long term storage because without a remote_write configuration, all data is persisted locally, and thus you will eventually hit limits on the amount that can be stored and queried locally. However, that is a limitation on how Prometheus is designed, not how the TSDB is designed, and which can be overcome by using a remote_write adapter.
Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#34Earlier quoted context omitted.
I'm worried about this statement: > Local storage is explicitly not production ready at this time. https://cortexmetrics.io/docs/getting-started/getting-starte... But I want a scale-out, multitenant implementation of Prometheus with local storage that's ready for prod. What are my options then? VictoriaMetrics?
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.
Disclosure: I work on the TSDB underlying M3 (M3DB) at Uber. Still worth checking out though!
Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#35awesome job by the cortex team! there's a lot of good questions, and some confusion in this thread. here is my view. note: i'm definitely biased; am the co-founder/ceo at grafana labs. - at grafana labs we are huge fans of prometheus. it has become the most popular metrics backend for grafana. we view cortex and prometheus as complementary. we are also very active contributors to the prometheus project itself. in fac…
I'm worried about this statement: > Local storage is explicitly not production ready at this time. https://cortexmetrics.io/docs/getting-started/getting-starte... But I want a scale-out, multitenant implementation of Prometheus with local storage that's ready for prod. What are my options then? VictoriaMetrics?
Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#36Earlier quoted context omitted.
I'm worried about this statement: > Local storage is explicitly not production ready at this time. https://cortexmetrics.io/docs/getting-started/getting-starte... But I want a scale-out, multitenant implementation of Prometheus with local storage that's ready for prod. What are my options then? VictoriaMetrics?
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.
The vmstorage component in VictoriaMetrics Server - is it RAID0-like (stripping) or RAID1-like (mirroring)?
https://github.com/VictoriaMetrics/VictoriaMetrics/tree/clus...
Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#37Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#38Earlier quoted context omitted.
Thanos is probably one of the other popular choices. It's being heavily used in production by a number of companies, but I don't think they've branded it at "Prod ready" in a 1.0 release though.
Thanos doesn't have production support for local storage either. The only stable storage providers for it are google, amazon, and azure's object stores. https://thanos.io/storage.md/ Interestingly, it looks like Cortex's support for local storage and object stores comes from using Thanos's storage engine. So once it's production ready in Thanos it will probably be production-ready in Cortex shortly thereafter. https:…
What you said is correct and makes sense. Though, I would suspect either choice works with any S3 compatible API that can run on local storage, but I know that isn't necessarily what's meant by "local storage".
Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#39Isn't prometheus an implementation and not an interface? I have "prometheus" running in my cluster, if it's not cortex, what implementation am I using?
You are using Prometheus. However, Prometheus can use different storage backends. The TSDB that it comes with is horrible. I mean, it's workable. And can store an impressive amount of data points. If you don't care about historical data or scale, it may be all you need. However, if your scale is really large, or if you care about the data, it may not be the right solution, and you'll need something like Cortex. For i…
The TSDB in Prometheus since 2.0 is excellent for its use case.
Re: CNCF's Cortex v1.0: scalable, fast Prometheus implementation
#40If you're looking at scaling your Prometheus setup - check out also Victoria Metrics.
Operational simplicity and scalability/robustness are what drive me to it.
I used to to send metrics from multiple Kubernetes clusters with Prometheus - each cluster having Prom with remote_write directive to send metrics to central VictoriaMetrics service.
That way my "edge" prometheus installations are practically "stateless", easily set up using prometheus-operator. You don't even need to add persistent storage to them.