Skip to content
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

feat(lifecycle-operator): add Helm value for DORA metrics port #2571

Merged
merged 18 commits into from
Nov 28, 2023

Conversation

ahmedavid
Copy link
Contributor

@ahmedavid ahmedavid commented Nov 27, 2023

Allow user to specify metrics port via environment variable KEPTN_DORA_METRICS_PORT
which defaults to 2222 if not present.

To verify, I deployed to cluster and ran

curl http://<pod-ip>:<metric-port>/metrics
curl http://<service-ip>:<metric-port>/metrics

Both showed successful reply

Fixes #2541

Copy link

netlify bot commented Nov 27, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 40aac54
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/65645f06ed40a8000806f5bc
😎 Deploy Preview https://deploy-preview-2571--keptn-lifecycle-toolkit.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 site configuration.

@ahmedavid ahmedavid changed the title Feature/keptn dora metrics port feat/keptn dora metrics port Nov 27, 2023
@ahmedavid ahmedavid changed the title feat/keptn dora metrics port feat: keptn dora metrics port Nov 27, 2023
ahmedavid and others added 11 commits November 27, 2023 15:24
Signed-off-by: Griffin <[email protected]>
Signed-off-by: Griffin <[email protected]>
Signed-off-by: Griffin <[email protected]>
Signed-off-by: Griffin <[email protected]>
Signed-off-by: Griffin <[email protected]>
Signed-off-by: Griffin <[email protected]>
Signed-off-by: Griffin <[email protected]>
Signed-off-by: David Ahmadov <[email protected]>
Signed-off-by: Griffin <[email protected]>
Signed-off-by: David Ahmadov <[email protected]>
Signed-off-by: Griffin <[email protected]>
Signed-off-by: Griffin <[email protected]>
@prakrit55 prakrit55 force-pushed the feature/keptnDoraMetricsPort branch from 5bc62f9 to 280adb1 Compare November 27, 2023 09:55
@ahmedavid ahmedavid marked this pull request as ready for review November 28, 2023 06:06
@ahmedavid ahmedavid requested a review from a team as a code owner November 28, 2023 06:06
Signed-off-by: David Ahmadov <[email protected]>
Copy link

codecov bot commented Nov 28, 2023

Codecov Report

Merging #2571 (4bfdc85) into main (79700e6) will decrease coverage by 0.05%.
Report is 19 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2571      +/-   ##
==========================================
- Coverage   85.48%   85.44%   -0.05%     
==========================================
  Files         155      155              
  Lines       10177    10175       -2     
==========================================
- Hits         8700     8694       -6     
- Misses       1198     1201       +3     
- Partials      279      280       +1     

see 68 files with indirect coverage changes

Flag Coverage Δ
certificate-operator 67.43% <ø> (ø)
component-tests 56.08% <ø> (-0.25%) ⬇️
lifecycle-operator 84.44% <ø> (-0.01%) ⬇️
metrics-operator 87.43% <ø> (ø)
scheduler 36.53% <ø> (ø)

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

lifecycle-operator/main.go Outdated Show resolved Hide resolved
@mowies mowies changed the title feat: keptn dora metrics port feat: add Helm value for DORA metrics port Nov 28, 2023
ahmedavid and others added 3 commits November 28, 2023 08:45
Signed-off-by: David Ahmadov <[email protected]>
chage prom to prometheus

Co-authored-by: Moritz Wiesinger <[email protected]>
Signed-off-by: David Ahmadov <[email protected]>
Co-authored-by: Moritz Wiesinger <[email protected]>
Signed-off-by: David Ahmadov <[email protected]>
@ahmedavid ahmedavid requested a review from mowies November 28, 2023 09:50
@mowies mowies changed the title feat: add Helm value for DORA metrics port feat(lifecycle-operator): add Helm value for DORA metrics port Nov 28, 2023
Signed-off-by: Moritz Wiesinger <[email protected]>
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 28, 2023
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mowies mowies merged commit bf472a3 into keptn:main Nov 28, 2023
47 checks passed
@mowies
Copy link
Member

mowies commented Nov 28, 2023

Thanks for the contribution @ahmedavid @prakrit55 !! 🎉

ahmedavid added a commit to ahmedavid/lifecycle-toolkit that referenced this pull request Dec 6, 2023
…#2571)

Co-authored-by: Griffin <[email protected]>
Co-authored-by: David Ahmadov <[email protected]>
Co-authored-by: Moritz Wiesinger <[email protected]>
Signed-off-by: David Ahmadov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation lifecycle-operator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable customization of Prometheus metrics server port through Helm
5 participants