Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[query] Prom converter supporting value decrease tolerance #3914

Merged
merged 2 commits into from
Nov 10, 2021

Conversation

linasm
Copy link
Collaborator

@linasm linasm commented Nov 10, 2021

What this PR does / why we need it:
Allows setting relative decrease tolerance up to which value decreases are eliminated while decoding time series data.

Special notes for your reviewer:
See #3872.
This is intended to replace #3876 which can only operate within a single time series block.

Does this PR introduce a user-facing and/or backwards incompatible change?:
NONE

Does this PR require updating code package or user-facing documentation?:
NONE

@codecov
Copy link

codecov bot commented Nov 10, 2021

Codecov Report

Merging #3914 (82b6784) into master (1b94908) will decrease coverage by 0.0%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #3914     +/-   ##
========================================
- Coverage    56.8%   56.7%   -0.1%     
========================================
  Files         554     554             
  Lines       63330   63330             
========================================
- Hits        36011   35967     -44     
- Misses      24128   24163     +35     
- Partials     3191    3200      +9     
Flag Coverage Δ
aggregator 62.2% <ø> (-0.2%) ⬇️
cluster ∅ <ø> (∅)
collector 58.4% <ø> (ø)
dbnode 60.6% <ø> (-0.1%) ⬇️
m3em 46.4% <ø> (ø)
metrics 19.7% <ø> (ø)
msg 74.2% <ø> (-0.2%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b94908...82b6784. Read the comment docs.

@robskillington
Copy link
Collaborator

LGTM but I do think it would be good to consolidate the public configuration options into the existing query Prometheus config struct as per this suggested change to the PR:
#3915

Copy link
Collaborator

@robskillington robskillington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@linasm linasm merged commit e37f346 into master Nov 10, 2021
@linasm linasm deleted the linasm/prom-converter-with-decrease-tolerance branch November 10, 2021 15:52
soundvibe added a commit that referenced this pull request Nov 11, 2021
* master:
  [m3msg] Remove unnecessary ConsumeHandler interface (#3918)
  [query] Prom converter supporting value decrease tolerance (#3914)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants