View file | ||
---|---|---|
|
Step 1: Download the 8.3.3 Grafana zip file from the below URL.
Download Grafana package from
https://dl.grafana.com/enterprisegrafana/releasedownload/grafana-enterprise-8.3.3.windows-amd64.zip?edition=oss&platform=windows
Step 2: Unzip the package andcopy the custom settings from configuration files default.ini, ldap.toml and custom.ini present in conf folder from older version Grafana 7.5.10 to new version Grafana 8.3.3 folder. Particularly server, database, auth.proxy, allow_loading_unsigned_plugins section of default.ini need to be change if required in migration.
...
allow_loading_unsigned_plugins = neo4j-datasource,Inference,cde-inference-plugin,cde-fusion-panel
Please check for below properties in default.ini file.
[database]
# You can configure the database connection by specifying type, host, name, user and password
# as separate properties or as on string using the url property.
# Either "mysql", "postgres" or "sqlite3", it's your choice
type =
host =
name =
user =
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password =
[live]
# max_connections to Grafana Live WebSocket endpoint per Grafana server instance. See Grafana Live docs
# if you are planning to make it higher than default 100 since this can require some OS and infrastructure
# tuning. 0 disables Live, -1 means unlimited connections.
max_connections = 0
[plugins]
enable_alpha = false
app_tls_skip_verify_insecure = false
# Enter a comma-separated list of plugin identifiers to identify plugins to load even if they are unsigned. Plugins with modified signatures are never loaded.
allow_loading_unsigned_plugins = neo4j-datasource,Inference
Step 3: Postgres Backup Steps
...
C:\InSights\Insights_Deployment\Server2\nssm-2.24\win64\nssm install Grafana8.3.3 "C:\InSights\Insights_Deployment\Server2\grafana-v8.3.3\bin\grafana-server.exe"
Migration in Linux
...
Step 1: Download the 8.3.3 Grafana zip file from the below URL.
Download Grafana package for Linux Installation OS specific from
For RHEL or CentOS and Ubuntu
https://dl.grafana.com/enterprisegrafana/releasedownload/grafana-enterprise-8.3.3.linux-amd64.tar.gz?edition=oss&platform=linux
Step 2: UnTar/Unzip the package in/opt folder by giving permissions 777andreplace conf folders default.ini, ldap.toml and custome.ini settings from older version Grafana 7.5.10 to new version Grafana 8.3.3 folder. Particularly server, database, auth.proxy, allow_loading_unsigned_plugins section of default.ini need to be change if required in migration.
...
Go to user preference and switch themes and check if it is working properly
Grafana Dashboard Migration from v7.5.10 to v 8.3.3
Convert Insights Charts to built-in panels
Insights Charts panels won’t work in Grafana 8.3.3 so convert all Insights Charts panel to either Bar chart or Time Series.
Conversion of Insights Charts to Bar chart or Time Series must be done by updating JSON model because editing existing Insights Charts panel will give an error in Grafana v8.3.3 as shown below.
...
a. In JSON model search for chart type “insightscharts”
...
b. Save the queryText of insightscharts
c. Delete the JSON object of type insightscharts from JSON model
d. Save the dashboard. After saving the dashboard you will not see the Insights Panel on the dashboard.
e. Add new panel like bar chart using the query saved in step b
2. Convert Stats panel with alphanumeric value to table.
Example SprintID can be alphanumeric value so if you want to show it on dashboard use chart type as Table instead of Stats
...
3.Use Horizontal bar chart instead of Vertical Bar chart if x axis values are overlapping.
...
...
4. In case of Multi Bar chart widget use one query instead of multiple queries
Ex.
match (n:DEPLOYMENT) where n.JobStatus='Success' AND n.SprintID in $SprintID
with sum( case when n.JobStatus='Success' then 1 else 0 end) as SuccessCnt, sum( case when n.JobStatus='Failed' then 1 else 0 end) as FailCnt, n.inSightsTimeX as Time ,n
return distinct split(Time,"T")[0] as inSightsTimeX, count(SuccessCnt), (count(n) - count(SuccessCnt) ) as Failed order by inSightsTimeX
Here in same query, we are finding the count for both Successful jobs and Failed jobs.
For InsightsCharts panel we were using different queries to find the count of successful and failed jobs.
5. Set threshold for Gauge panels.
...
6. Properties of returned fields can be overridden by the Override options.
...