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
d6cfc090
Commit
d6cfc090
authored
Feb 09, 2015
by
juliusv
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #37 from brian-brazil/kleene
Fix regex, mention reserved labels.
parents
de7334c9
1a7e5b53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
data_model.md
content/docs/concepts/data_model.md
+3
-2
No files found.
content/docs/concepts/data_model.md
View file @
d6cfc090
...
@@ -18,7 +18,7 @@ _key-value pairs_, also known as _labels_.
...
@@ -18,7 +18,7 @@ _key-value pairs_, also known as _labels_.
The _metric name_ specifies the general feature of a system that is measured
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
(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
may contain ASCII letters and digits, as well as underscores and colons. It
must match the regex
`[a-zA-Z_:][a-zA-Z0-9_:]`
.
must match the regex
`[a-zA-Z_:][a-zA-Z0-9_:]
*
`
.
Labels enable Prometheus's dimensional data model: any given combination of
Labels enable Prometheus's dimensional data model: any given combination of
labels for the same metric name identifies a particular dimensional
labels for the same metric name identifies a particular dimensional
...
@@ -28,7 +28,8 @@ allows filtering and aggregation based on these dimensions. Changing any label
...
@@ -28,7 +28,8 @@ allows filtering and aggregation based on these dimensions. Changing any label
value, including adding or removing a label, will create a new time series.
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
Label names may contain ASCII letters, numbers, as well as underscores. They
must match the regex
`[a-zA-Z_][a-zA-Z0-9_]`
.
must match the regex
`[a-zA-Z_][a-zA-Z0-9_]*`
. Label names beginning with
`__`
are reserved for internal use.
Label values may contain any Unicode characters.
Label values may contain any Unicode characters.
...
...
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