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

[release-v2.2] Docs: Fix invalid query #2861

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Backport a6a934f from #2857


What this PR does:
Query { error = true } | by(resource.service.name) | count() > 1, reported in the online documentation, seems to be invalid:
Screenshot 2023-08-28 at 15 50 02

This PR proposes to replace it with { status = error } | by(resource.service.name) | count() > 1, which instead seems correct:
Screenshot 2023-08-28 at 15 49 51

In addition, this PR also fixes a small typo (missing whitespace before a }).

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

* Fix invalid query

* Chore

(cherry picked from commit a6a934f)
@knylander-grafana knylander-grafana merged commit 79be681 into release-v2.2 Aug 29, 2023
@knylander-grafana knylander-grafana deleted the backport-2857-to-release-v2.2 branch August 29, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport type/docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants