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
1b7d9053
Commit
1b7d9053
authored
Dec 23, 2014
by
Julius Volz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation around time series concepts.
parent
39634193
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
time_series.md
content/docs/concepts/time_series.md
+11
-9
No files found.
content/docs/concepts/time_series.md
View file @
1b7d9053
...
...
@@ -11,18 +11,20 @@ values belonging to the same metric and the same set of labeled dimensions.
Besides stored timeseries, Prometheus may generate temporary derived timeseries
as the result of queries.
##
Identification
##
Metric names and labels
Every time series is uniquely identified by its _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 time series.
_key-value pairs_
, also known as _labels_.
Labels enable Prometheus's highly-dimensional data model: any given combination
of labels for the same metric name identifies a particular dimensional
instantiation of that metric (for example: all HTTP requests that used the
m
ethod
`POST`
and which resulted in a
`404`
response)
.
The _metric name_ specifies the general feature of a system that is measured
(e.g.
`http_requests_total`
- the total number of HTTP requests received). It
may contain ASCII letters and digits, as well as underscores and colons. It
m
ust match the regex
`[a-zA-Z_:][a-zA-Z0-9_:]`
.
Metric names may contain ASCII letters, numbers, as well as underscores and
colons. They must match the regex
`[a-zA-Z_:][a-zA-Z0-9_:]`
.
Labels enable Prometheus's dimensional data model: any given combination of
labels for the same metric name identifies a particular dimensional
instantiation of that metric (for example: all HTTP requests that used the
method
`POST`
and which resulted in a
`404`
response). Changing any label
value, including adding or removing a label, will create a new time series.
Label names may contain ASCII letters, numbers, as well as underscores. They
must match the regex
`[a-zA-Z_][a-zA-Z0-9_]`
.
...
...
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