Code Monkey home page Code Monkey logo

Comments (9)

MichaHoffmann avatar MichaHoffmann commented on September 25, 2024

Oh damn, did it work on 0.32.5? I think we unified cache configs but frontend parses stricter then bucket caches.

from thanos.

hagaibarel avatar hagaibarel commented on September 25, 2024

I haven't tried in with 0.32.5, AFAIK this was added in #6773 which was part of 0.33.0

from thanos.

ahurtaud avatar ahurtaud commented on September 25, 2024

Hello @hagaibarel ,

The query-frontend does not have a ttl config for its cache, but an expiration :/
https://thanos.io/tip/components/query-frontend.md/#redis

from thanos.

hagaibarel avatar hagaibarel commented on September 25, 2024

Thanks @ahurtaud for clearing that up, are you aware of any plans to unify the configuration?

from thanos.

ahurtaud avatar ahurtaud commented on September 25, 2024

Thanks @ahurtaud for clearing that up, are you aware of any plans to unify the configuration?

no, not aware. it should be done I think to avoid confusion

from thanos.

MichaHoffmann avatar MichaHoffmann commented on September 25, 2024

I agree! Do you mind opening a pull request for it?

from thanos.

ahurtaud avatar ahurtaud commented on September 25, 2024

I dont feel I have the time currently to do it sorry.
Also, that would mean a breaking change now that 0.33 is released? I am not sure we want to do it right now. Maybe a refactor of the cache configs so they use the same code (query-frontend and store).

from thanos.

MichaHoffmann avatar MichaHoffmann commented on September 25, 2024

I dont feel I have the time currently to do it sorry. Also, that would mean a breaking change now that 0.33 is released? I am not sure we want to do it right now. Maybe a refactor of the cache configs so they use the same code (query-frontend and store).

I would accept both and then error if both were provided i think. Ill see if i can muster some time on the weekend!

from thanos.

yeya24 avatar yeya24 commented on September 25, 2024

We should definitely unify configurations at some point. The current QFE cache config is from Cortex code so not the same cache client code.

from thanos.

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.