Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
f0bd055c
Commit
f0bd055c
authored
Aug 31, 2015
by
Kevin Azzam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update section on interpolation (and update link to relevant issue)
parent
981f6515
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
13 deletions
+10
-13
basics.md
content/docs/querying/basics.md
+10
-13
No files found.
content/docs/querying/basics.md
View file @
f0bd055c
...
...
@@ -170,23 +170,20 @@ in detail in the [expression language functions](/docs/querying/functions/) page
### Interpolation and staleness
When queries are run, timestamps at which to sample data are selected
independent of the actual present time series data. This is mainly to support
independent
ly
of the actual present time series data. This is mainly to support
cases like aggregation (
`sum`
,
`avg`
, and so on), where multiple aggregated
time series do not exactly align in time. At every one of these predetermined
sampling times, Prometheus searches for the closest surrounding samples and
linearly interpolates a timestamp-value pair between the actual stored samples.
That means that the generated sample has timestamp and sample values which are
somewhere in between the timestamp and sample values of the surrounding samples
(depending on how close the query timestamp is to either surrounding point).
If no stored sample is found either (by default) 5 minutes before or after a
sampling timestamp, no interpolated sample is generated for this time series at
this point in time. This effectively means that time series "disappear" from
graphs at times where their latest collected sample is 5 older than 5 minutes.
time series do not exactly align in time. Because of their independence,
Prometheus needs to assign a value at those timestamps for each relevant time
series. It does so by simply taking the newest sample before this timestamp.
If no stored sample is found (by default) 5 minutes before a sampling timestamp,
no value is assigned for this time series at this point in time. This
effectively means that time series "disappear" from graphs at times where their
latest collected sample is older than 5 minutes.
NOTE:
<b>
NOTE:
</b>
Staleness and interpolation handling might change. See
https://github.com/prometheus/prometheus/issues/398 and
https://github.com/prometheus/prometheus/issues/
386
.
https://github.com/prometheus/prometheus/issues/
581
.
### Avoiding slow queries and overloads
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment