grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
55 stars 27 forks source link

Docs: Add page about fetching data from frontend code using the data proxy #889

Closed academo closed 2 months ago

academo commented 3 months ago

What this PR does / why we need it:

Adds documentation about how to use the data proxy.

This documentation teaches and follow similar concepts to https://grafana.com/developers/plugin-tools/create-a-plugin/extend-a-plugin/add-authentication-for-data-source-plugins#authenticate-using-the-data-source-proxy but it focuses in general usage for data fetching and not only on authentication. The add authentication page is linked in the sections where authentication is mentioned

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

github-actions[bot] commented 3 months ago

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged. It will not be considered when calculating future versions of the npm packages and will not appear in the changelogs.

josmperez commented 2 months ago

I have edited the PR for style, consistency, structure, and clarity. See commit at 48015df0e936b20236d499c64525b8d57538ccc6. Please take a look and let me know if you have any questions about any of my suggestions.

academo commented 2 months ago

I have edited the PR for style, consistency, structure, and clarity. See commit at 48015df. Please take a look and let me know if you have any questions about any of my suggestions.

Thank you for all the changes and style fixes they look good

sympatheticmoose commented 2 months ago

Thanks for working on this @academo - afraid I won't be able to review this week. Happy for it to be merged assuming Joe and Marcus we're ok with the content 👍

marefr commented 2 months ago

I might have a few more suggestions :)