Skip to content

🌱 Metrics Follow-Ups #2105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dtfranz
Copy link
Contributor

@dtfranz dtfranz commented Jul 16, 2025

Follow-ups per feedback.

Adding comment for traceability to prometheus alert rules. Move prometheus installation to new script to clean up makefile.

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@dtfranz dtfranz requested a review from a team as a code owner July 16, 2025 09:27
Copy link

netlify bot commented Jul 16, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit f83f5e7
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/6878493617185900080a2702
😎 Deploy Preview https://deploy-preview-2105--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@openshift-ci openshift-ci bot requested review from gavinmbell and OchiengEd July 16, 2025 09:28
@dtfranz dtfranz changed the title Metrics Follow-Ups 🌱 Metrics Follow-Ups Jul 16, 2025
Copy link

codecov bot commented Jul 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.49%. Comparing base (ebc7986) to head (f83f5e7).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2105      +/-   ##
==========================================
+ Coverage   73.43%   73.49%   +0.05%     
==========================================
  Files          78       78              
  Lines        7240     7240              
==========================================
+ Hits         5317     5321       +4     
+ Misses       1570     1567       -3     
+ Partials      353      352       -1     
Flag Coverage Δ
e2e 43.89% <ø> (+0.09%) ⬆️
experimental-e2e 50.09% <ø> (+0.04%) ⬆️
unit 58.77% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dtfranz dtfranz force-pushed the metrics-follow-ups branch from 42acf74 to c8b4d72 Compare July 16, 2025 11:29
curl -s "https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/refs/tags/${PROMETHEUS_VERSION}/bundle.yaml" > "${TMPDIR}/bundle.yaml"

echo "Patching namespace to ${PROMETHEUS_NAMESPACE}..."
(cd "$TMPDIR" && $KUSTOMIZE edit set namespace "$PROMETHEUS_NAMESPACE")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: My preference is to use braces {} consistently throughout a script.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you execute this command in a subshell with curly braces instead of ()? Assuming that's what you're talking about.

@tmshort
Copy link
Contributor

tmshort commented Jul 16, 2025

There are times when I like to separate out make recipes into scripts, and this is just complicated enough that it makes sense. Thanks!

@tmshort
Copy link
Contributor

tmshort commented Jul 16, 2025

/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 16, 2025
Adding comment for traceability to prometheus alert rules. Move prometheus installation to new script to clean up makefile.

Signed-off-by: Daniel Franz <dfranz@redhat.com>
@dtfranz dtfranz force-pushed the metrics-follow-ups branch from c8b4d72 to f83f5e7 Compare July 17, 2025 00:52
Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am OK with this one. Great work 👍
/approved

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 17, 2025
Copy link

openshift-ci bot commented Jul 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86, tmshort

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [camilamacedo86,tmshort]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 850e4a1 into operator-framework:main Jul 17, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants