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

Add documentation about embedding Markdown content into Grafana #15

Open
amotl opened this issue May 25, 2023 · 0 comments
Open

Add documentation about embedding Markdown content into Grafana #15

amotl opened this issue May 25, 2023 · 0 comments

Comments

@amotl
Copy link
Member

amotl commented May 25, 2023

About

Based on Grafana's Text Panel, we added a snippet to load Markdown from Apicast's HTTP API into Grafana.

References

Backlog

Other than linking to those resources, two details need to be added to the documentation. First, a CORS header needs to be added to the HTTP endpoint which serves Apicast's API. This configuration directive for Nginx would be suitable.

add_header Access-Control-Allow-Origin *;

In order to be able to run JavaScript within the HTML mode of Grafana's Text Panel, it needs to be configured with disable_sanitize_html in /etc/grafana/grafana.ini.

[panels]
disable_sanitize_html = 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

1 participant