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(operator): add information about evaluation target in status #1341

Merged
merged 6 commits into from
May 2, 2023

Conversation

bacherfl
Copy link
Member

@bacherfl bacherfl commented May 2, 2023

Closes #1339

This PR adds the reason for a failing evaluation in the status.message field of the evaluation CR.
As a result, the reason will also be properly displayed in the trace event - see screenshot below

Screenshot 2023-05-02 at 14 22 27

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@netlify
Copy link

netlify bot commented May 2, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit f108e7c
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/6451011480b9950008db1b93
😎 Deploy Preview https://deploy-preview-1341--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 settings.

@codecov
Copy link

codecov bot commented May 2, 2023

Codecov Report

Merging #1341 (eae994c) into main (27439ff) will decrease coverage by 0.05%.
The diff coverage is 88.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1341      +/-   ##
==========================================
- Coverage   61.26%   61.22%   -0.05%     
==========================================
  Files         138      138              
  Lines       10454    10459       +5     
==========================================
- Hits         6405     6403       -2     
- Misses       3799     3804       +5     
- Partials      250      252       +2     
Impacted Files Coverage Δ
...ontrollers/lifecycle/keptnevaluation/controller.go 79.75% <88.23%> (+<0.01%) ⬆️

... and 4 files with indirect coverage changes

Flag Coverage Δ
certificate-operator 64.28% <ø> (ø)
component-tests 60.14% <70.58%> (-0.53%) ⬇️
lifecycle-operator 82.48% <76.47%> (+1.60%) ⬆️
metrics-operator 77.80% <ø> (ø)
scheduler 21.75% <ø> (ø)

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

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
…jective

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@bacherfl bacherfl marked this pull request as ready for review May 2, 2023 12:53
@bacherfl bacherfl requested a review from a team as a code owner May 2, 2023 12:53
@sonarcloud
Copy link

sonarcloud bot commented May 2, 2023

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

@bacherfl bacherfl merged commit cc03a85 into keptn:main May 2, 2023
34 checks passed
@bacherfl bacherfl deleted the fix/evaluation-event branch May 2, 2023 13:57
@keptn-bot keptn-bot mentioned this pull request May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include reason for failed evaluations in OTel events
3 participants