Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5581

PMM Server Grafana plugins can now be updated on the command line with the grafana-cli command-line utility.

Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Done
    • 2.4.0
    • 2.5.0
    • Grafana
    • 2
    • Yes
    • Yes
    • No

    Description

      It's not possible to update plugins by grafana-toolkit

      [root@c3a5b7579c4e opt]# grafana-cli plugins update yesoreyeram-boomtable-panel
      
      Error: ✗ Could not find dist/plugin.json or plugin.json on  yesoreyeram-boomtable-panel in /var/lib/grafana/plugins
      
      NAME:
         Grafana cli plugins update - update <plugin id>
      
      USAGE:
         Grafana cli plugins update [arguments...]
      [root@c3a5b7579c4e opt]# 
      
      

      But it can be done manually by using .zip files of plugins.
      If it's not possible to fix grafana-toolkit updating method then it's required to prepare a bolgpost with step-by-step instruction to process by .zip files method.
      Here is the instruction of updating clickhouse plugin by .zip files method:

      - yum -y install wget
      - cd /var/lib/grafana/plugins/
      - wget https://github.com/Vertamedia/clickhouse-grafana/archive/1.9.5.zip
      - unzip 1.9.5.zip
      - rm -rf Vertamedia-clickhouse-grafana-995b21b
      - supervisorctl restart grafana
      

      DOC: Based on the result it might be useful to add section into FAQ section about this

      Attachments

        Activity

          People

            Unassigned Unassigned
            vadim.yalovets Vadim Yalovets
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2 days, 7 hours, 5 minutes
                2d 7h 5m

                Smart Checklist