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

chore(lifecycle-operator): improve logging #2253

Merged

Conversation

geoffrey1330
Copy link
Member

@geoffrey1330 geoffrey1330 commented Oct 9, 2023

fixes #1880

Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
@netlify
Copy link

netlify bot commented Oct 9, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit cdd42a7
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/65265d7dac656200089002f1
😎 Deploy Preview https://deploy-preview-2253--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.

@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

Merging #2253 (4009e7e) into main (c1166ff) will increase coverage by 0.05%.
Report is 5 commits behind head on main.
The diff coverage is 89.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2253      +/-   ##
==========================================
+ Coverage   85.57%   85.62%   +0.05%     
==========================================
  Files         159      159              
  Lines       10226    10236      +10     
==========================================
+ Hits         8751     8765      +14     
+ Misses       1200     1197       -3     
+ Partials      275      274       -1     
Files Coverage Δ
...cle-operator/controllers/common/helperfunctions.go 98.63% <100.00%> (+0.10%) ⬆️
...rator/controllers/lifecycle/keptnapp/controller.go 63.47% <100.00%> (+0.32%) ⬆️
...ontrollers/lifecycle/keptnappversion/controller.go 82.30% <100.00%> (ø)
...ollers/lifecycle/keptntaskdefinition/controller.go 89.36% <100.00%> (+8.92%) ⬆️
.../controllers/lifecycle/keptnworkload/controller.go 65.88% <100.00%> (+0.40%) ⬆️
...lers/lifecycle/keptnworkloadinstance/controller.go 79.63% <100.00%> (+0.09%) ⬆️
...ontrollers/lifecycle/keptnevaluation/controller.go 76.12% <80.00%> (ø)
...ator/controllers/lifecycle/keptntask/controller.go 56.33% <60.00%> (+0.62%) ⬆️
Flag Coverage Δ
certificate-operator 67.19% <ø> (ø)
component-tests 59.06% <87.50%> (+0.62%) ⬆️
lifecycle-operator 86.51% <66.66%> (+<0.01%) ⬆️
metrics-operator 87.55% <ø> (ø)
scheduler 32.12% <ø> (ø)

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

Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
@RealAnna
Copy link
Contributor

@geoffrey1330 let's try to rebase main and rerun the tests

@geoffrey1330
Copy link
Member Author

@geoffrey1330 let's try to rebase main and rerun the tests

Alright

geoffrey1330 and others added 2 commits October 11, 2023 14:44
…oller.go

Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
@geoffrey1330
Copy link
Member Author

Hi @bacherfl All checks have passed successfully.
could you please review.

…oller.go

Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
geoffrey1330 and others added 4 commits October 12, 2023 09:03
Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
geoffrey1330 and others added 4 commits October 12, 2023 11:32
Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com>
Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com>
Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented Oct 12, 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 changed the title feat: improve logging controller lifecycle chore(lifecycle-operator): improve logging Oct 12, 2023
@bacherfl bacherfl merged commit 8dd3394 into keptn:main Oct 12, 2023
45 checks passed
StackScribe pushed a commit to StackScribe/lifecycle-toolkit that referenced this pull request Oct 13, 2023
Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com>
Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve logging in Controllers by adding relevant context
4 participants