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

ErrorView: Better detection of no-data responses #65477

Merged
merged 3 commits into from
Mar 28, 2023

Conversation

leeoniya
Copy link
Contributor

@leeoniya leeoniya commented Mar 28, 2023

Fixes https://github.com/grafana/support-escalations/issues/5218

@torkelo was there a specific reason for only checking when data.series.length === 1?

@leeoniya leeoniya added type/bug add to changelog area/panel/timeseries The main time series Graph panel backport v9.4.x Mark PR for automatic backport to v9.4.x labels Mar 28, 2023
@leeoniya leeoniya requested review from ryantxu, bohandley and a team March 28, 2023 18:12
@leeoniya leeoniya requested a review from a team as a code owner March 28, 2023 18:12
@leeoniya leeoniya requested review from joshhunt and ashharrison90 and removed request for a team March 28, 2023 18:12
@leeoniya leeoniya requested a review from torkelo March 28, 2023 18:19
@github-advanced-security
Copy link

You have successfully added a new CodeQL configuration .github/workflows/pr-codeql-analysis-javascript.yml:analyze. As part of the setup process, we have scanned this repository and found 27 existing alerts. Please check the repository Security tab to see all alerts.

@nmarrs nmarrs modified the milestones: 9.5.0, 9.4.x Mar 28, 2023
Copy link
Contributor

@nmarrs nmarrs left a comment

Choose a reason for hiding this comment

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

I think updated check makes sense

@@ -67,7 +67,7 @@ function getMessageFor(
}

// In some cases there is a data frame but with no fields
Copy link
Contributor

Choose a reason for hiding this comment

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

We may also want to update / remove this comment as new logic doesn't match 🤔

Copy link
Member

@torkelo torkelo left a comment

Choose a reason for hiding this comment

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

No reason that I can remember :)

Copy link
Contributor

@bohandley bohandley left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @leeoniya!

@leeoniya leeoniya removed the backport v9.4.x Mark PR for automatic backport to v9.4.x label Mar 28, 2023
@leeoniya leeoniya modified the milestones: 9.4.x, 9.5.0 Mar 28, 2023
@leeoniya leeoniya added the no-backport Skip backport of PR label Mar 28, 2023
@leeoniya leeoniya merged commit 8fb64cb into main Mar 28, 2023
@leeoniya leeoniya deleted the leeoniya/better-no-data-detection branch March 28, 2023 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants