Skip to content

Need Information Regarding the scrape interval & collector schedule #679

Answered by cgrinds
jmg011 asked this question in Q&A
Discussion options

You must be logged in to vote

The Zapi collectors don't do aggregation and Harvest's Prometheus exporter will cache the data it was given by the collector for 3m. This value can be changed with the key-value cache_max_keep in the exporter section of your harvest.yml

In your scenario, if Prometheus polls every minute and the collector polls every 3m. You'll have two out of every three Prometheus polls that return cached data.

Zapi Documentation for 7-mode

Can you say more about what you're looking for 7-mode wise? The way Harvest constructs, sends, and parses ZAPIs is the same between cDOT and 7-mode, but I don't think that's what your asking.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@jmg011
Comment options

@cgrinds
Comment options

@jmg011
Comment options

@cgrinds
Comment options

@jmg011
Comment options

Answer selected by ruanruijuan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #677 on November 18, 2021 12:53.