Page MenuHomeDevCentral

Deploy Grafana
Closed, ResolvedPublic

Description

On http://pcp.io/features.html#collect they show a convenient data visualization with Grafana.

Port range assigned: 27xxx (27080 for nginx proxy_pass)

Event Timeline

pcp-webapi and pcp-webjs

We need PCP to send through web sockets information, so after T652#5992 :

$ yum install pcp-webapi pcp-webjs
[...]
===============================================================================================================================================================
 Package                                     Arch                           Version                                         Repository                    Size
===============================================================================================================================================================
Installing:
 pcp-webapi                                  x86_64                         3.10.6-2.el7                                    base                         100 k
 pcp-webjs                                   noarch                         3.10.6-2.el7                                    base                         726 k
Installing for dependencies:
 cairo                                       x86_64                         1.14.2-1.el7                                    base                         711 k
 libXdamage                                  x86_64                         1.1.4-4.1.el7                                   base                          20 k
 libXext                                     x86_64                         1.3.3-3.el7                                     base                          39 k
 libXfixes                                   x86_64                         5.0.1-2.1.el7                                   base                          18 k
 libXrender                                  x86_64                         0.9.8-2.1.el7                                   base                          25 k
 libXxf86vm                                  x86_64                         1.1.3-2.1.el7                                   base                          17 k
 libmicrohttpd                               x86_64                         0.9.33-2.el7                                    base                          58 k
 libxshmfence                                x86_64                         1.2-1.el7                                       base                         7.2 k
 mesa-libEGL                                 x86_64                         10.6.5-3.20150824.el7                           base                          74 k
 mesa-libGL                                  x86_64                         10.6.5-3.20150824.el7                           base                         184 k
 mesa-libgbm                                 x86_64                         10.6.5-3.20150824.el7                           base                          40 k
 mesa-libglapi                               x86_64                         10.6.5-3.20150824.el7                           base                          39 k
 pcp-webapp-grafana                          noarch                         3.10.6-2.el7                                    base                         631 k
 pcp-webapp-graphite                         noarch                         3.10.6-2.el7                                    base                         1.6 M
 pcp-webapp-vector                           noarch                         3.10.6-2.el7                                    base                         776 k
 pixman                                      x86_64                         0.32.6-3.el7                                    base                         254 k

Transaction Summary
===============================================================================================================================================================
[...]
dereckson removed dereckson as the assignee of this task.Mar 8 2018, 21:07

[ Those tasks have been identified as suitable for the next operations sprint. ]

This task has been created in 2016 to publish metrics from PCP (Performance Co-Pilot) on RHEL-like servers, especially our Docker engines.

Grafana is now seen as a more versatile part of our observability solution and is ready to receive metrics from Prometheus per T1623.
PCP need to be reinstalled if needed as part of T650, but we're moving forward with Grafana first.

Plan is to test deployment on a bare-metal devserver, WindRiver. We're less interested by using Docker for the monitoring tools.

dereckson raised the priority of this task from Low to Normal.Jul 25 2024, 18:12

Deployment can be using sqlite3 as long as it's still performant
as we want our monitoring tools to be resiliant.

File to backup: /var/db/grafana/grafana.db

DNS: grafana. CNAME www-dev.nasqueron.org

Documentation added in https://agora.nasqueron.org/Operations_grimoire/Grafana and links to other dashboards added to relevant places.

It's correctly deployed and ready for use.

Further plans could include:

  • dashboards as code provisioning if we need to create dashboards automatically from a configuration
  • SSO
  • Move to dedicated observability server