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
005490b8
Commit
005490b8
authored
Mar 17, 2016
by
Tobias Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong exposition format example
And also use seconds instead of milliseconds.
parent
d0fcc9a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
exposition_formats.md
content/docs/instrumenting/exposition_formats.md
+5
-5
No files found.
content/docs/instrumenting/exposition_formats.md
View file @
005490b8
...
...
@@ -113,13 +113,13 @@ format. The following conventions apply:
See also the example below.
```
# HELP
api_http_request_count
The total number of HTTP requests.
# TYPE
api_http_request_count
counter
http_request
_count
{method="post",code="200"} 1027 1395066363000
http_request
_count
{method="post",code="400"} 3 1395066363000
# HELP
http_requests_total
The total number of HTTP requests.
# TYPE
http_requests_total
counter
http_request
s_total
{method="post",code="200"} 1027 1395066363000
http_request
s_total
{method="post",code="400"} 3 1395066363000
# Escaping in label values:
msdos_file_access_time_
ms{path="C:\\DIR\\FILE.TXT",error="Cannot find file:\n\"FILE.TXT\""} 1.234e3
msdos_file_access_time_
seconds{path="C:\\DIR\\FILE.TXT",error="Cannot find file:\n\"FILE.TXT\""} 1.458255915e9
# Minimalistic line:
metric_without_timestamp_and_labels 12.47
...
...
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