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

Annotations: Google Cloud Metrics annotation title and text not displayed #70612

Closed
ajcutshall opened this issue Jun 23, 2023 · 4 comments
Closed

Comments

@ajcutshall
Copy link

What went wrong?

What happened:

  • When adding a dashboard annotation using the Google Cloud Metrics datasource, the "Title" and "Text" fields are not rendered (see screenshot). This behavior is present in versions 9.5.3, 10.0.0, and 10.0.1.

Screenshot 2023-06-23 at 11 25 47

What did you expect to happen:

  • Title and text should be rendered for the annotation

How do we reproduce it?

Step 1:

  • Add a GCM-backed annotation to a dashboard

Step 2:

  • Attempt to add a title or text to the annotation using the provided fields.

Step 3:

  • The annotations do not include the values from the title or text field.

What Grafana version are you using?

v9.5.3, v10.0.0, v10.0.1

Optional Questions:

Is the bug inside a Dashboard Panel?

Copy the panel's "get-help" data here

Grafana Platform?

Docker

User's OS?

macOS Ventura 13.4

User's Browser?

Google Chrome 114.0.5735.133

Is this a Regression?

Yes

Are Datasources involved?

No response

Anything else to add?

No response

@usmangt
Copy link
Contributor

usmangt commented Jun 26, 2023

Hi @ajcutshall,

Thanks for opening this issue.

Could you please provide us with the backend logs (the default location in Linux is /var/log/grafana/grafana.log) so that we can have more information about the error message?

@usmangt usmangt added datasource/GoogleCloudMonitoring needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc area/annotations labels Jun 26, 2023
@ajcutshall
Copy link
Author

Hi @usmangt,

Apologies for not having been more clear about my environment in my original post. This instance is running as a Docker container on Google Cloud Run , so I do not have direct access to the /var/log/grafana/grafana.log file.

After setting the console log level to debug and navigating to the annotation settings page for the dashboard in question and testing the query, I do not see any relevant logs. Is there a particular pattern I could search my logs for that would help here?

Thanks!

@usmangt usmangt added triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced and removed needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc labels Jul 13, 2023
@aangelisc aangelisc self-assigned this Jul 18, 2023
@aangelisc aangelisc added effort/small and removed triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced labels Jul 18, 2023
@aangelisc
Copy link
Contributor

I've replicated this and created a PR that should fix it 😊

@asimpson
Copy link
Contributor

Fixed in #71888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants