forked from docs/doc-exports
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
27 lines
5.2 KiB
HTML
27 lines
5.2 KiB
HTML
<a name="cce_10_0960"></a><a name="cce_10_0960"></a>
|
|
|
|
<h1 class="topictitle1">Migrating Custom Views of Grafana</h1>
|
|
<div id="body0000002157562922"><p id="cce_10_0960__p8060118">In Grafana v1.3.1 and later versions, open-source Grafana versions v10 and v7 are available. However, if you upgrade the open-source Grafana version from v7.<em id="cce_10_0960__i14896144813329">x</em> to v10.<em id="cce_10_0960__i2462205318325">x</em>, custom views may be incompatible. In this case, you need to uninstall Grafana and reinstall it using open-source version v10. If there are custom views, perform the following operations to migrate them.</p>
|
|
<div class="section" id="cce_10_0960__section1769007191514"><a name="cce_10_0960__section1769007191514"></a><a name="section1769007191514"></a><h4 class="sectiontitle">Step 1: Export Custom Views from Grafana of a Version Earlier Than 1.3.1</h4><ol id="cce_10_0960__ol13939153162714"><li id="cce_10_0960__li49395319272"><span>Log in to the Grafana console. In the navigation pane, choose <strong id="cce_10_0960__b5778417153211">Dashboards</strong> > <strong id="cce_10_0960__b9640132518328">Manage</strong>. Then, click the view name to go to the details page.</span><p><p id="cce_10_0960__p1630551161"><span><img id="cce_10_0960__image25341155163" src="en-us_image_0000002483959474.png"></span></p>
|
|
</p></li><li id="cce_10_0960__li1293911316279"><span>In the upper left corner, click <span class="uicontrol" id="cce_10_0960__uicontrol206542581614"><b>Share dashboard or panel</b></span>.</span><p><p id="cce_10_0960__p201711021151616"><span><img id="cce_10_0960__image859064610162" src="en-us_image_0000002516079421.png"></span></p>
|
|
</p></li><li id="cce_10_0960__li6939123122713"><span>Click the <strong id="cce_10_0960__b5801217154013">Export</strong> tab and click <span class="uicontrol" id="cce_10_0960__uicontrol157721931177"><b>Save to file</b></span>.</span><p><p id="cce_10_0960__p2361496171"><span><img id="cce_10_0960__image2215123271714" src="en-us_image_0000002484119448.png"></span></p>
|
|
</p></li><li id="cce_10_0960__li5939153202713"><span>Repeat the preceding steps to export all custom views.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="cce_10_0960__section10565122012188"><h4 class="sectiontitle">Step 2: Uninstall and Reinstall Grafana</h4><ol id="cce_10_0960__ol856519207184"><li id="cce_10_0960__li330462393220"><span>Log in to the <span id="cce_10_0960__cce_10_0004_ph18314322182">CCE console</span> and click the cluster name to access the cluster console.</span></li><li id="cce_10_0960__li13183153352515"><span>In the navigation pane, choose <strong id="cce_10_0960__b16211174132118"><span id="cce_10_0960__text1521084162117">Add-ons</span></strong>. On the displayed page, locate the installed <strong id="cce_10_0960__b1721114116215">Grafana</strong> add-on and click <span class="uicontrol" id="cce_10_0960__uicontrol17211114115214"><b>Uninstall</b></span>.</span></li><li id="cce_10_0960__li105651420131816"><span>Reinstall the add-on. Select <span class="uicontrol" id="cce_10_0960__uicontrol19531845191917"><b>v10</b></span> for <span class="uicontrol" id="cce_10_0960__uicontrol15244194121911"><b>Open-Source Community Version</b></span>. For more parameters, see <a href="cce_10_0828.html">Grafana</a>.</span><p><p id="cce_10_0960__p1269494095217"></p>
|
|
<p id="cce_10_0960__p93627426533"></p>
|
|
</p></li><li id="cce_10_0960__li7761052194819"><span>Click <span class="uicontrol" id="cce_10_0960__uicontrol1424910961012"><b>Install</b></span>.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="cce_10_0960__section133912309497"><h4 class="sectiontitle">Step 3: Import Custom Views</h4><ol id="cce_10_0960__ol10339730174912"><li id="cce_10_0960__li13339113019492"><span>Log in to Grafana of the new version and go to the <strong id="cce_10_0960__b66431439161016">Dashboards</strong> page.</span><p><p id="cce_10_0960__p126556416501"><span><img id="cce_10_0960__image16839342195018" src="en-us_image_0000002516199429.png"></span></p>
|
|
</p></li><li id="cce_10_0960__li14339133012495"><span>Click <span class="uicontrol" id="cce_10_0960__uicontrol11036711504"><b>Import</b></span> on the right.</span><p><p id="cce_10_0960__p11640117515"><span><img id="cce_10_0960__image281810155112" src="en-us_image_0000002483959478.png"></span></p>
|
|
</p></li><li id="cce_10_0960__li7339430174915"><span>Upload a custom view exported in <a href="#cce_10_0960__section1769007191514">Step 1: Export Custom Views from Grafana of a Version Earlier Than 1.3.1</a>.</span><p><p id="cce_10_0960__p1352791510518"><span><img id="cce_10_0960__image119691615165110" src="en-us_image_0000002516079429.png"></span></p>
|
|
</p></li><li id="cce_10_0960__li02653534514"><span>Click <span class="uicontrol" id="cce_10_0960__uicontrol7158192441117"><b>Import</b></span>.</span><p><p id="cce_10_0960__p164941618521"><span><img id="cce_10_0960__image525281365218" src="en-us_image_0000002516199425.png"></span></p>
|
|
</p></li><li id="cce_10_0960__li203391630184918"><span>Check whether the view is normal and repeat the preceding steps to import all custom views.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_10_0811.html">O&M Best Practices</a></div>
|
|
</div>
|
|
</div>
|
|
|