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
9b2dca67
Commit
9b2dca67
authored
Dec 22, 2014
by
Julius Volz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add timeseries documentation.
parent
bd7df581
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
timeseries.md
content/docs/concepts/timeseries.md
+25
-1
No files found.
content/docs/concepts/timeseries.md
View file @
9b2dca67
...
...
@@ -5,4 +5,28 @@ sort_rank: 1
# Timeseries
TODO: explain how timeseries are identified and stored.
Prometheus fundamentally stores all data as
[
timeseries
](
http://en.wikipedia.org/wiki/Time_series
)
.
## Identification
Timeseries are uniquely identified by a _metric name_ and a set of _key-value
pairs_, also known as labels. Changing any label value, including adding or
removing a label, will result in a new timeseries.
Metric names must match the regular expression
`[a-zA-Z_:][a-zA-Z0-9_:]`
.
## Samples
Samples form the actual data that timeseries consist of. A sample consists of:
*
a value with float64-precision
*
a timestamp with millisecond-precision
## Notation
Given a metric name and a set of labels, we frequently identify timeseries using this notation:
<metric name>{<label name>=<label value>, ...}
For example, a timeseries with the metric name
`api_http_requests_total`
and
the labels
`method="POST"`
and
`handler="/messages"`
could be written like
this:
api_http_requests_total{method="POST", handler="/messages"}
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