Enabling some monitoring for Fedora-CI #13285
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#13285
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
We would like to ask some help in setting up the monitoring for Fedora-CI. Currently the other monitoring infrastructures that we have available is packit's and testing-farm's which are not publicly visible, and that is primarily why I think getting something worked together with Fedora-infra would be better.
The main things that the monitoring should have are:
ntests are failing or are taking more time than normalThe current infrastructure in Fedora-CI:
reportplugin, but is only run at the end of a job (should probably avoid this if possible)CC: @gwmngilfen
Really not sure how easy this is to integrate into zabbix ... Doesn't seem like the normal things we monitor, so 5 might not be enough.
Totally, ideas of how break down this would be good. Maybe we can start with the dashboard and hooking the jenkins jobs into it?
Sorry for the lag, I lost track of this after @lecris asked me in chat.
I think this is generally achievable. What I know is:
@lecris we should sync up on this and toss some ideas around of a more concrete plan. I'll ping you in chat.
Ok, so there are 2 parts of this, the metrics from Jenkins and the metrics from packit. The latter probably needs more fine-tuning of the metrics, will continue the discussion in https://github.com/packit/packit-service/issues/3117.
For the jenkins part, the metrics are available under the
/prometheus/path (probably best not to make the actual url easy to scrape 😉). The things that should be monitored in there right now are:default_jenkins_builds_duration_milliseconds_summary_countdefault_jenkins_builds_duration_milliseconds_summary_sumThose are separated by parameters
jenkins_job,status,DIST_GIT_BRANCHbeing the main ones. We can start withstatus="UNSTABLE"andstatus="FAILURE"for thejenkins_job="fedora-ci/rmdepcheck-pipeline/main".@lecris so the Jenkins part is ready to hook up then? I can maybe look at that next week, if so.
Yes it should be ready for first iteration. Let me know if you need me during that.
I've started testing this out. We have a template (Fedora/CI/Jenkins by HTTP) that is pulling the Prometheus data and parsing it for the rmdepcheck/UNSTABLE combo on each branch. It has thrown up some questions:
Right now we've set up these test items (no triggers) and are letting it run for a few days to gather data to look at. Thanks to @lecris for the help!