Attempted to create a custom Prometheus data source plugin that is pre-configured for application. Obtained the source code for the original Prometheus data source plugin from the repo: grafana/public/app/plugins/datasource/prometheus at main · grafana/grafana · GitHub
Then followed the procedure for adding the folder to the plugins folder listed in config file. The custom data source appears on the plugin list in console, but is unsigned with no description loading. The custom data source is available to use, but after selecting to add it, the following error appears:
Fetch error: 404 Instantiating https:// **** /public/plugins/prometheus3/module.js Loading plugins/prometheus3/module
Looking at the files from repo, they are all .ts format for React. Also tried this link but got a generic plugin folder that appears unrelated to Prometheus: https://grafana.com/api/plugins/prometheus/versions/5.0.0/download
Is it possible to obtain the source code of the Prometheus data source in .js format for Angular which is expected by console?