...
...
...
...
...
Deprecated plugins in Grafana 7
Pipeline-Panel
Vonage_Status_Panel
Grafana-Singlestat-TotalCount
Grafana-Singlestat-UniqueCount
Grafana-Piechart-Panel
ToolsInsight-(Traceability) use new Tracebility dashboard built inside Insights App
SinglestatNeo - Replaced with Stat; Stat is a Grafana native plugin which has more features than SinglestatNeo
SinglestatTotal
SinglestatUnique
MultivaluesPanel
InsightsCharts2.0
Inference_Panel
Table plugin is replaced with Newtable plugin
Please Note Newtable plugin does not have pagination
But we have to use the old Stat panel and Table panel which is backward compatible using export and import previous Grafana Dashboard json.
Step1: Database Backup
...
Note |
---|
Recommended to migrate in Test instance initially |
Expand | ||
---|---|---|
| ||
|
...
|
...
|
Expand | ||
---|---|---|
| ||
|
DB Restore
...
Drop all schema
Login to postgres DB and execute below commands
psql -U grafana
\c grafana
DROP SCHEMA public cascade;
CREATE SCHEMA public;
Restore the default grants
To restore defaults grant execute the below commands
GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO public;
Restore DB
To restore Db execute the below command
psql --username=username --password grafana < grafana_backup
...
Download Garfana 7 and Run it as Service
Dashboard Migration
...
Step2: Manual Backup of Dashboards
...
Using the “share dashboard” option from the dashboard menu, export all dashboards from each and very Org as a JSON file and save it to a physical location
Step3: Grafana default settings
...
Use the Grafana default settings bundled in Grafana 7.1.0 by Insights team, or make all necessary configuration changes in conf/defaults.ini as per preference.
Step4 : Start Grafana
...
Expand | ||
---|---|---|
| ||
Run grafana-server.exe file from the bin folder of Grafana or run Grafana7-Tomcat-SetUp.bat and Grafana-Tomcat-StartUp.bat create it as a windows service as per convenience. |
Expand | ||
---|---|---|
| ||
Run ./Grafana7.sh start to start Grafana(Usage - Grafana7.sh {start|stop|restart|status}). |
Step5: Grafana DataSource Renaming
...
Delete the existing old Grafana Neo4j DataSources in all Org and create a new DataSources using latest DataSource plugin Neo4j3.0
To delete existing old Grafana Neo4j DataSources add Neo4j2.0 DataSource Plugin
Post migration delete old Neo4j2.0 DataSource Plugin
Info |
---|
Make a note of old default Neo4j DataSource and mark the same as default Neo4j DataSource created by Neo4j3.0 DataSource plugin |
Expand | ||||
---|---|---|---|---|
| ||||
Insights now has two Neo4j DataSource plugin
|
Expand | ||
---|---|---|
| ||
The old Inference DataSource has been deprecated, for Grafana 7.0.3 and above use Inference_DS3.0 and inference-plugin Enter the Http url : http://localhost:8080/PlatformService/datasource/inference/data/v7 |
Step6: Compatiable changes for Grafana 7.1.0(Migrating from 6.1.0)
...
Convert the dashboard json that has been exported from Step2 into a compatible format for Grafana 7 using the below steps
Expand | ||||
---|---|---|---|---|
| ||||
Grafana dashboards are backward compatible which can be exported from previous version of Grafana and imported into Grafana 7.1.0 by doing the following changes in the exported json file
|
...
| ||||
Code Block | ||||
---|---|---|---|---|
|
...
If the panel is a graph panel then mark table as false and mark graph as true
|
If InsightsCharts Panel which has data type date does not load properly, follow the below steps
Set the data type manually to date
Click LoadChart button and SaveChart button and save dashboard
Refresh the page
...