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

[grafana] imagerenderer.enable doesn't set capture option in grafana.ini #1556

Open
tim-felix-lange opened this issue Jul 1, 2022 · 2 comments

Comments

@tim-felix-lange
Copy link

tim-felix-lange commented Jul 1, 2022

When you enable the grafana image renderer via imageRenderer.enabled: true, it does create the deployment and service for the renderer as expected, but I would expect it to also enable images in alerts, since this seems to be the main feature for what the image renderer is needed. However, including images in alerts requires setting the capture option in grafana.ini

[unified_alerting.screenshots]
capture = true

I'm not sure whether this is considerd a bug caused by the advent of unified alerting in Grafana 8 or it is some (weird) intended behaviour that is missing documentation. In the latter case a note that capture needs to be enabled separately would be helpful and would have saved me some days :-)

@bbedward
Copy link

Is this still an issue? I was trying to figure out how to enable capture screenshots in the helm chart as well.

@tim-felix-lange
Copy link
Author

As far as I can tell yes. But if you're struggling with screenshot capture, also mind #795 though it's flagged as merged, but I'm not sure whether it made it into the release already.
I was able to get the screenshots in the my alerts with

imageRenderer:
  enabled: true
  networkPolicy:
    limitIngress: false
grafana.ini:
  unified_alerting.screenshots:
    capture: true

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

No branches or pull requests

2 participants