Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
7af6da4b
Verified
Commit
7af6da4b
authored
10 months ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
review all nagios metrics (
#40755
)
parent
77c9f74a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#167408
passed with warnings
10 months ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
howto/prometheus.md
+0
-12
0 additions, 12 deletions
howto/prometheus.md
policy/tpa-rfc-33-monitoring.md
+183
-39
183 additions, 39 deletions
policy/tpa-rfc-33-monitoring.md
with
183 additions
and
51 deletions
howto/prometheus.md
+
0
−
12
View file @
7af6da4b
...
...
@@ -394,18 +394,6 @@ Basically, Prometheus is similar to Munin in many ways:
without sending duplicate alerts -
`munin-limits`
can only run on a
single server
## Migrating from Icinga / Nagios
Key metric equivalence:
*
uptime:
`time()-node_boot_time_seconds`
(
[
source
](
https://github.com/m-lab/prometheus-support/issues/91#issuecomment-687785774
)
) also: count
reboots per day:
`changes(process_start_time_seconds[1d])`
, see
also
[
alerting on crash loops
](
https://www.robustperception.io/alerting-on-crash-loops-with-prometheus/
)
*
availability:
`avg_over_time(up{job="node"}[7d])`
(
[
source
](
https://gitlab.torproject.org/tpo/tpa/team/-/issues/29864#note_2540787
)
)
More ideas in
[
this issue
](
https://gitlab.torproject.org/tpo/tpa/team/-/issues/29864
)
, followup on the migration in
[
this
issue
](
https://gitlab.torproject.org/tpo/tpa/team/-/issues/40755
)
. See also
[
TPA-RFC-33: Monitoring
](
policy/tpa-rfc-33-monitoring
)
.
## Push metrics to the Pushgateway
The
[
Pushgateway
][]
is setup on the secondary Prometheus server
...
...
This diff is collapsed.
Click to expand it.
policy/tpa-rfc-33-monitoring.md
+
183
−
39
View file @
7af6da4b
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment