GithubHelp home page GithubHelp logo

Comments (14)

etsauer avatar etsauer commented on May 20, 2024

Here's one blog post that suggests a solution, but there may be more.

https://blog.openshift.com/thanos-long-term-storage-for-your-prometheus-metrics-on-openshift/

Also, looking at the Prometheus Storage docs, there's nothing that explicitly says that it should only be used for short-term storage, but it does point out that promehteus itself doesn't do much in the way of operationalizing its storage, and references some thrid-party storage integrations.

https://prometheus.io/docs/prometheus/latest/storage/

from pelorus.

ramius345 avatar ramius345 commented on May 20, 2024

I will start taking a look at this tomorrow. Thanks.

from pelorus.

garethahealy avatar garethahealy commented on May 20, 2024

Theres already been some thanos work in the CoP:

CC @robbbbh @AndreaFerraresi

from pelorus.

ramius345 avatar ramius345 commented on May 20, 2024

I'll have a look, thanks!

from pelorus.

ramius345 avatar ramius345 commented on May 20, 2024

I have a working solution on this using nooba for Openshift 4. However, when I try this on the CI CASL cluster, nooba is having issues installing with PV provisioning. Using version 2.0.9 of noobaa, I am able to create a backing store, but I am not able to get noobaa to finish its installation, it gets stuck waiting for something. Looking at the logs, its looking for AWS and Ceph provisioners.

We should be able to use the rest of the solution with any s3 compatible bucket provider. It might be time to start looking at Ceph or to just suggest straight up AWS s3.

from pelorus.

bbeaudoin avatar bbeaudoin commented on May 20, 2024

Nooba aggregates S3 API providers, Ceph API and S3 are the default backing types, this cannot be block so if CI CASL doesn't support S3 API compatible storage you'll need something other than Nooba. Thanos is a good fit but the storage needs to be worked out.

from pelorus.

etsauer avatar etsauer commented on May 20, 2024

@bbeaudoin ok, I misunderstood what Noobaa was then. @ramius345 I think the default option for this project should be to use MinIO instead.

from pelorus.

sbailleu avatar sbailleu commented on May 20, 2024

Functional code ready (iteration 1), code needs to be merged. Documentation to be completed.

from pelorus.

etsauer avatar etsauer commented on May 20, 2024

@tolarewaju3 now that @ramius345 work has been merged, here's what I think it left TODO:

  • Come up with an opinionated installation method for MinIO that we can document, that at a minimum includes a TLS config
  • Refactor the helm chart to allow the user to configure any Object Store provider for thanos
  • Update documentation

from pelorus.

etsauer avatar etsauer commented on May 20, 2024

Oh, and one more:

  • Repoint grafana to the thanos instance instead of directly to prometheus

from pelorus.

tolarewaju3 avatar tolarewaju3 commented on May 20, 2024

Going to write documentation recommending minio helm chart. The current operator install doesn't work out of the box because of these two issues:

  1. minio/operator#91
  2. minio/operator#94

We can update the guide in the future when those are in master

from pelorus.

tolarewaju3 avatar tolarewaju3 commented on May 20, 2024

Test PR is up. Still needs work on documentation & this task:

  • Refactor the helm chart to allow the user to configure any Object Store provider for thanos

from pelorus.

themoosman avatar themoosman commented on May 20, 2024

Here are my testing steps:

  1. Deployed the stack per the directions into a single namespace pelorus.
  2. Deployed the exporters and loaded some data into Prometheus.
  3. Verified the data appeared in the dashboard and via PromQL query
  4. Delete the 2 Prometheus and checked for data. Neither the dashboard or a PromQL query returned any results.
  5. Created a route for the MinIO instance to verify data was being written to MinIO. Minio shows no data in the buckets.

It appears that no data is being written to MinIO.

from pelorus.

tolarewaju3 avatar tolarewaju3 commented on May 20, 2024

@themoosman Hmm. Ok. I will re-test this when I get some time. When I ran it, it took a bit to populate in minio. But it sounds like you already saw data in pelorus

from pelorus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.