fix: makes servicemonitor more configurable #1422
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Question
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Help wanted
Status
In progress
Status
Need More Info
Status
Needs feedback
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
forgejo-helm/forgejo-helm!1422
Loading…
Reference in a new issue
No description provided.
Delete branch "only-a-user/forgejo-helm:fix/servicemonitor"
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?
I had issues using the service monitor with prometheus, as the labels were constantly overridden, making it impossible to pull the metrics from the
forgejo-httpservice. Additionally, I found the filter options to be a bit sparse, so i added some additional possibilities to configure the service monitor and added some best-practice fields.Signed-off-by: only-a-user only-a-user@use.startmail.com
Please run
pnpm prettier-fix, commit and pushHi @viceice,
I ran
pnpm prettier-fixand it changed nothing, so there is nothing to commit.@only-a-user wrote in #1422 (comment):
ah, sorry. please run
pnpm readme:parametersAll checks have passed, the PR should be ready to merge @viceice.
please add helm unit tests.
@ -13,0 +16,4 @@scrapeTimeout: {{ default "30s" .Values.gitea.metrics.serviceMonitor.scrapeTimeout }}path: /metricsport: httpscheme: httpisn't this the default value and also
path? we should not set default values if they're not configurable anyways@ -13,0 +17,4 @@path: /metricsport: httpscheme: httpjobLabel: forgejowhat was the default value before this change?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.