Skip to content
Discussion options

You must be logged in to vote

For log_to_metric → prometheus_exporter, there is no sliding observation window in Vector 0.60.0. An active series keeps accumulating observations.

With distributions_as_summaries: true, the path is:

  1. log_to_metric emits one distribution sample for each valid input value, with a count of 1.
  2. The exporter converts those observations into a DDSketch, which stores approximate quantiles, and merges updates for the same metric name and labels.
  3. Scrapes read the accumulated sketch. They do not reset it.
  4. flush_period_secs expires inactive series as a whole. It does not remove old observations from a series that keeps receiving updates.

The from_samples function you found calculates statistics fro…

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jszwedko
Comment options

Comment options

You must be logged in to vote
7 replies
@jszwedko
Comment options

@AlexSTAL1980
Comment options

@AlexSTAL1980
Comment options

@jszwedko
Comment options

@AlexSTAL1980
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
transform:log_to_metric Anything `log_to_metric` transform related domain:metrics Anything related to Vector's metrics events sink:prometheus_exporter Anything `prometheus_exporter` sink related
4 participants