Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

fix: error messages are no longer attached to indicator from event if dashboard processing fails #687

Merged
merged 7 commits into from
Jan 21, 2022

Conversation

j-poecher
Copy link
Contributor

this closes #538

Signed-off-by: Joerg Poecher <[email protected]>
in case of querying a dashboard would fail

Signed-off-by: Joerg Poecher <[email protected]>
Signed-off-by: Joerg Poecher <[email protected]>
Signed-off-by: Joerg Poecher <[email protected]>
@j-poecher j-poecher changed the title fix: error messages are not attached to indicator from event if dashboard processing fails fix: error messages are no longer attached to indicator from event if dashboard processing fails Jan 20, 2022
@@ -25,6 +25,7 @@ import (
)

const ProblemOpenSLI = "problem_open"
const NoMetricIndicator = "no metric"
Copy link
Contributor

Choose a reason for hiding this comment

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

[golint] reported by reviewdog 🐶
exported const NoMetricIndicator should have comment or be unexported

return e.err
}

type UploadFileError struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

[golint] reported by reviewdog 🐶
exported type UploadFileError should have comment or be unexported

@sonarcloud
Copy link

sonarcloud bot commented Jan 21, 2022

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

@github-actions
Copy link
Contributor

The following Docker Images have been built:
keptncontrib/dynatrace-service:0.20.0-dev-PR-687,keptncontrib/dynatrace-service:0.20.0-dev-PR-687.202201211010

Copy link
Collaborator

@arthurpitman arthurpitman left a comment

Choose a reason for hiding this comment

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

LGTM

@j-poecher j-poecher merged commit 51e1e9a into master Jan 21, 2022
@j-poecher j-poecher deleted the fix/538/error-messages-attached-to-indicator branch January 21, 2022 10:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error messages are attached to indicators if dashboard processing failed
2 participants