Add zabbix monitoring for the stg autosign service #13646
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
#13583 Integrate siguldry metrics into zabbix
infra/tickets
Reference
infra/tickets#13646
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of request
The staging autosign service is now deployed and functional (for RPMs, at least). This new service exposes a Prometheus HTTP metrics endpoint at localhost:9000.
I'd like to start ingesting the metrics into staging Zabbix so we can have monitoring before rolling out to production. It exposes the following metrics:
AMQP message metrics
There may be some overlap here from the general AMQP queue metrics
amqp_reconnects(counter): Count of times the AMQP connection has needed to be re-establishedmessages_received(counter): Count of AMQP messages received; this includes re-deliveries from requeued messagesmessages_active(gauge): The number of AMQP messages currently being processed. Ranges from 0 to the value configured for AMQP prefetch count.messages_succeeded(counter): Count of AMQP messages successfully processedmessages_failed(counter): Count of AMQP messages that were not processed successfully and requeuedmessages_dropped(counter): Count of AMQP messages that were dropped because they were invalidRPM metrics
rpms_active(gauge): The number of RPMs currently being signedrpms_signed(count): The total number of RPMs that have been signed since the service startedrpms_failed(count): The total number of RPM signing failures that occurred for any reasonrpms_artifact_size(gauge): The size, in bytes, of the RPMs being actively signedrpms_sign_duration(histogram): The time it took, in seconds, to run rpmsignRPM metrics for mass re-signs
rpms_resign_active(gauge): The number of RPMs currently being signed that are part of a mass re-sign of a Koji tagrpms_resign_queried(gauge, dynamic on Koji tag being queried): The number of RPMs in the tag that have been queried in Koji for a signaturerpms_resign_missing_signature(gauge, dynamic on Koji tag being queried): The number of RPMs in the tag that have been found to need a new signatureOSTree metrics
ostree_sign_duration(histogram): The time, in seconds, it took to run ostree gpg-signostree_signed(counter, dynamic on the ostree ref): The count of OSTree commits signedostree_failed(counter): The total number of OSTree sign requests that failed and will be retriedostree_skipped(counter): The total number of OSTree sign requests that were skipped because they were invalid or not configuredCoreOS metrics
coreos_artifacts_signed(counter): The total number of CoreOS artifacts that have been signedcoreos_succeeded(counter): The total number of CoreOS sign requests that succeededcoreos_failed(counter): The total number of CoreOS sign requests that failed and will be retriedcoreos_skipped(counter): The total number of CoreOS sign requests that were skipped because they were invalidcoreos_sign_duration(histogram): The time, in seconds, it took to sign a CoreOS artifactAffected Service or System
stg autosign01
Deadline
No response
Additional Context or Error Logs
No response
@jcline OK, so this link should take you to the current form of the data.
I've implemented what I see in the output from
curl -s http://localhost:9000but much of what you ask for above is not in that output, e.g. OSTree failed/skipped is there, but not the other two. Is that to come later, or in some way dynamic?As I see it:
Have a look at what's there so far and confirm, and let me the plan for the missing ones.
Additionally, I presume we'll want some host-level checks on running processes or similar? just to make sure the application is running at all. Is a "num_procs > 0" sufficient, or is there a better way to look at it?