Hello everyone!
Is it possible to make changes to a visualization in Grafana? My Grafana runs on the server as a service (without a package.json file). I made changes to the metricValue file located at:
\public\app\features\canvas\element\metricValue.tsx.
After saving the file and restarting Grafana, the changes were not applied.
Is there a way to fix this?
Hi @maxymzakharkiv
You won’t be able to modify Grafana by modifying the source code like that, in fact, distributed Grafana doesn’t distribute with its source code so it is unlikely the source code you are modifying is related to the Grafana you are running unless you are running Grafana from the source code.
If you want to modify Grafana you’ll have to clone the source code, build it and run Grafana, you’ll have to build Grafana every time you modify the source code too. You can find how to do that in the developer guide
I must warn you, you should not run Grafana from source code in your production server, there are many things that happens in the Grafana build process that optimize and make sure Grafana runs well in the distributed versions.