[gpfsug-discuss] Grafana graph panels give "Cannot read property 'index' of undefined" using Grafana bridge

Norbert Schuld NSCHULD at de.ibm.com
Fri Jan 10 09:00:53 GMT 2020


Hello Keith,

please check for more recent versions of the bridge here:
https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana
Also updating Grafana to some newer version could help, found some older
reports while searching for the error message.

HTH
Norbert



From:	Keith Ball <bipcuds at gmail.com>
To:	gpfsug-discuss at spectrumscale.org
Date:	07.01.2020 21:10
Subject:	[EXTERNAL] [gpfsug-discuss] Grafana graph panels give "Cannot
            read property 'index' of undefined" using Grafana bridge
Sent by:	gpfsug-discuss-bounces at spectrumscale.org



Hi All,

I am using the following combination of components on my GUI/pmcollector
node:

- RHEL 7.3
- Spectrum Scale 4.2.3.5 (actually part of a Lenovo DSS release)
- gpfs.gss.pmcollector-4.2.3.5.el7.x86_64
- Python 3.6.8
- CherryPy 18.5.0
- Grafana bridge: no version actually appears in the python script, but a
"buildDate.txt" file distributed with the bridge indicates "Thu Aug 16
10:48:21 CET 2016" (seems super-old for something downloaded in the last 2
months?).No other version info to be found in the script.

It appears that I can add the bridge as a OpenTSDB-like data source to
Gafana successfully (the "save & Test" says that it was successful and
working).
When I create a graph panel, I am getting completion for perfmon
metrics/timeseries and tag/filter values (but not tag keys for some
reason).

However, whether I try to create my own simple graph, or use the canned
dashboards (on the Scale wiki), every panel gives the same error
(exclamation point in the red triangle in the upper-left corner of the
graph):

    Cannot read property 'index' of undefined

An example query would be for gpfs_fs_bytes_read, Aggregator=avg,
Disasble Downsampling,
Filters:
  cluster = literal_or(my.cluster.name) , groupBy = false
  filesystem = literal_or(homedirs) , groupBy = false

Anyone know what exactly the "Cannot read property 'index' of undefined"
really means (i.e. what is causing it), or has had to debug this on their
own perfmon and Grafana setup?
Am I using incompatible versions of components?

I do not see anything that looks like error messages in the Grafana bridge
log file, nor in the Grafana log file. Does anyone have anything to
suggest?

Many Thanks,
 Keith
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=i4V0h7L9ElftZNfcuPIXmAHN2jl5TLcuyFLqtinu4j8&m=cqPhew27KzZmjx-Ai5Xk9NPLgCzZg6M2501wjjZ8ItY&s=jdSYaqQcp-DBBW6D0aax4E_qysldCTvWue3iMUemeuw&e=



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20200110/e1c8b6a9/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20200110/e1c8b6a9/attachment-0002.gif>


More information about the gpfsug-discuss mailing list