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: update Dynatrace provider to query metrics over a range #1658

Merged

Conversation

rakshitgondwal
Copy link
Member

@rakshitgondwal rakshitgondwal commented Jul 1, 2023

Fixes #1012

Changes made:

  • Update Dynatrace API to query metrics over a time range.
  • Update the test cases to support this new time range field.

Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
@netlify
Copy link

netlify bot commented Jul 1, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit eada6d5
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/64b672ab3b55450008241fff
😎 Deploy Preview https://deploy-preview-1658--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 Jul 1, 2023

Codecov Report

Merging #1658 (eada6d5) into main (ea73cd9) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1658      +/-   ##
==========================================
- Coverage   63.54%   63.48%   -0.06%     
==========================================
  Files         143      143              
  Lines       10909    10913       +4     
==========================================
- Hits         6932     6928       -4     
- Misses       3716     3722       +6     
- Partials      261      263       +2     
Impacted Files Coverage Δ
...ontrollers/common/providers/dynatrace/dynatrace.go 84.50% <100.00%> (+0.92%) ⬆️

... and 2 files with indirect coverage changes

Flag Coverage Δ
certificate-operator 68.55% <ø> (ø)
component-tests 58.46% <ø> (-1.08%) ⬇️
lifecycle-operator 84.52% <ø> (ø)
metrics-operator 82.32% <100.00%> (+0.06%) ⬆️
scheduler 32.12% <ø> (ø)

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

rakshitgondwal and others added 3 commits July 5, 2023 15:51
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
@rakshitgondwal rakshitgondwal marked this pull request as ready for review July 5, 2023 11:38
@rakshitgondwal rakshitgondwal requested a review from a team as a code owner July 5, 2023 11:38
rakshitgondwal and others added 2 commits July 6, 2023 17:55
…ace.go

Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Rakshit Gondwal <98955085+rakshitgondwal@users.noreply.github.com>
rakshitgondwal and others added 3 commits July 8, 2023 16:48
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
@github-actions github-actions bot added the helm label Jul 8, 2023
@github-actions github-actions bot removed the helm label Jul 18, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jul 18, 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: update Dynatrace API to query metrics over a range feat: update Dynatrace provider to query metrics over a range Jul 18, 2023
@bacherfl bacherfl merged commit 0f0cddb into keptn:main Jul 18, 2023
39 checks passed
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.

Update all the SLI providers to make use of the timeframe value
3 participants