How to add third party plugin (AWS Athena Data Source) in Grafana 7
Sometimes as grafana admin I need to add new functionalities onto my Grafana stack. Frequently is enough using grafana-cli, but when we have to use a non-signed plugin…
For this post, I will try Athena as Data Source, but in Grafana Official Site there is no Data Source, so we found mtanda repo.
First, It’s a good idea to verify the latest available version of the code, so, just go to tags and copy the right link.
After that, in a Linux Command Line:
sudo grafana-cli — pluginUrl https://github.com/mtanda/grafana-aws-athena-datasource/releases/download/2.2.7/grafana-aws-athena-datasource-2.2.7.zip plugins install grafana-aws-athena-datasource
Once installed, you have to modify your Grafana config file in order to accept this new plugin. In my default installation, this file is placed in /etc/grafana/grafana.ini
Add the name of the plugin in allow_loading_unsigned_plugins. If you have more than one, just put them separated by commas.
Finally, restart the Grafana service and go to the Data Sources tab and start to get fun!