Coder Social home page Coder Social logo

Comments (4)

Yalafeg avatar Yalafeg commented on June 1, 2024

What I did is that I installed kube-prometheus-stack with a remote_write to victoriametrics using the appropriate URL. What I am afraid of is that the metrics collected with Prometheus will be deduplicated several times at the storage level which will decrease the available capacity. Can you clarify the idea of metrics' collection using Prometheus and saving it to the storage?

And a question about data retention on the storage level, can we do the retention based on the number of GBs occupied and not based on time retention?

Thanks a lot

from helm-charts.

tenmozes avatar tenmozes commented on June 1, 2024

hello @Yalafeg
by default data is not replicated and each pod contains own unique dataset

  • replicationFactor > 1 defines how many times you want to duplicate data across nodes. E.g. for replicationFactor=3 vminsert writes data to 3 storage nodes
  • dedup.minScrapeInterval, sometime you need to write duplicated data from outside to cluster (e.g. vmagent HA setup) for that you can remove duplication by using dedup.minScrapeInterval. Please take into account - if you set replicationFactor > 1 you need to specify dedup.minScrapeInterval =1ms (https://victoriametrics.github.io/Cluster-VictoriaMetrics.html#replication-and-data-safety)

from helm-charts.

tenmozes avatar tenmozes commented on June 1, 2024

@Yalafeg retention is in Months https://victoriametrics.github.io/#retention

if Prometheus scrapes unique subset of targets the data will NOT be duplicated

from helm-charts.

Yalafeg avatar Yalafeg commented on June 1, 2024

Thank you a lot for the details

from helm-charts.

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.