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
615c1598
Commit
615c1598
authored
May 29, 2015
by
Björn Rabenstein
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #101 from prometheus/beorn7/doc-improve
Improve wording in the naming section even more.
parents
ffac51f0
6bc71824
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
naming.md
content/docs/practices/naming.md
+6
-3
No files found.
content/docs/practices/naming.md
View file @
615c1598
...
...
@@ -26,10 +26,13 @@ A metric name...
*
<code><b>
http
</b>
\_
request
\_
duration
\_
microseconds
</code>
(for all HTTP requests)
*
...must have a single unit (i.e. do not mix seconds with milliseconds).
*
...should have a suffix describing the unit.
*
<code>
api
\_
http
\_
request
\_
latency
\_
<b>
milli
seconds
</b></code>
*
...should have a suffix describing the unit
, in plural form. Note that an accumulating count has
`total`
as a suffix, in addition to the unit if applicable
.
*
<code>
http
\_
request
\_
duration
\_
<b>
micro
seconds
</b></code>
*
<code>
node
\_
memory
\_
usage
\_
<b>
bytes
</b></code>
*
<code>
api
\_
http
\_
requests
\_
<b>
total
</b></code>
(for an accumulating count)
*
<code>
http
\_
requests
\_
<b>
total
</b></code>
(for a unit-less accumulating count)
*
<code>
process
\_
cpu
\_
<b>
seconds
\_
total
</b></code>
(for an accumulating count with unit)
*
...should represent the same logical thing-being-measured across all label
dimensions.
*
request duration
...
...
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