-
Notifications
You must be signed in to change notification settings - Fork 20
Generate CherryPy thread statistics report
The IBM Storage Scale bridge for Grafana uses the built-in CherryPy HTTP/S server for server-to-client communication. The CherryPy engine supports the operation of multiple HTTP servers.
The IBM Storage Scale Bridge for Grafana provides an option to enable the collection and reporting of performance statistics for the CherryPy engine itself, registered servers and their child threads.
To enable statistics collection, set the cherrypy_internal_stats parameter to True in the ./source/analytics file and restart the bridge.
global cherrypy_internal_stats
cherrypy_internal_stats = True
To generate the HTML report, enter the fully qualified address of the endpoint /cherrypy_internal_stats in your browser's search bar or invoke it with a CURL command on the command line.
# curl http://<grafana_bridge_ip>:4242/cherrypy_internal_stats/ -u scale_admin:<basic_auth_pw> > /tmp/internal_report.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16188 100 16188 0 0 3161k 0 --:--:-- --:--:-- --:--:-- 3952k
Visit the IBM Storage Scale Knowledge Center for getting more info about the latest product updates
-
- Setup classic Grafana
- Make usage of Grafana Provisioning feature
-
- Installing RedHat community-powered Grafana operator from OperatorHub
- Creating Grafana instance using the RedHat community-powered Grafana-operator
- Creating Grafana Datasorce instance from Custom Resource managed by the RedHat community powered Grafana operator
- Importing the predefined dashboard from the example dashboards collection
- Exploring Grafana WEB interface for CNSA project in a k8s OCP environment
- How to setup Grafana instance to monitor multiple IBM Storage Scale clusters running in a cloud or mixed environment
- API key authentication
- Configurable bridge settings
- CherryPy builtin HTTP server settings
- How to setup HTTPS(SSL) connection
- Start and stop grafana-bridge with systemd