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
d4a64bd4
Commit
d4a64bd4
authored
Jun 04, 2018
by
Richard Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update instrumenting.md
Signed-off-by:
Richard Hartmann
<
richih@debian.org
>
parent
d319e351
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
instrumentation.md
content/docs/practices/instrumentation.md
+2
-2
No files found.
content/docs/practices/instrumentation.md
View file @
d4a64bd4
...
@@ -10,7 +10,7 @@ This page provides an opinionated set of guidelines for instrumenting your code.
...
@@ -10,7 +10,7 @@ This page provides an opinionated set of guidelines for instrumenting your code.
## How to instrument
## How to instrument
The short answer is to instrument everything. Every library, subsystem and
The short answer is to instrument everything. Every library, subsystem and
service should
expos
e at least a few metrics to give you a rough idea of how it is
service should
hav
e at least a few metrics to give you a rough idea of how it is
performing.
performing.
Instrumentation should be an integral part of your code. Instantiate the metric
Instrumentation should be an integral part of your code. Instantiate the metric
...
@@ -36,7 +36,7 @@ For counting failed queries, see section [Failures](#failures) below.
...
@@ -36,7 +36,7 @@ For counting failed queries, see section [Failures](#failures) below.
Online-serving systems should be monitored on both the client and server side.
Online-serving systems should be monitored on both the client and server side.
If the two sides see different behaviors, that is very useful information for debugging.
If the two sides see different behaviors, that is very useful information for debugging.
If a service has many clients, it is
also
not practical for the service to track them
If a service has many clients, it is not practical for the service to track them
individually, so they have to rely on their own stats.
individually, so they have to rely on their own stats.
Be consistent in whether you count queries when they start or when they end.
Be consistent in whether you count queries when they start or when they end.
...
...
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