You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grafana version: 8.1.2 PagerDuty plugin version: 0.2.2 Browser: Chrome: 94.0.4606.61 (Official Build) Affected chart type: Time series
Underlying error:
angular.js:15697 TypeError: e.toLowerCase is not a function
at O (tags.ts:70)
at M (tags.ts:8)
at Object.link (tags.ts:17)
at angular.js:1391
at angular.js:11370
at Pt (angular.js:11376)
at at (angular.js:10695)
at angular.js:9942
at angular.js:9807
at angular.js:10221 ''
Exploring the DOM I have noticed (within datasource.js) the incident object has a tags property which contains a list of items, however the item: d.incident_number is of type integer causing failure upon hover over of the annotation as the toLowerCase function is expecting a string.
Suggested fix:
Change to line:98 of datasource.js as follows:
Original line tags: [d.type, d.incident_key, d.incident_number, d.status, d.service.id],
to be replaced with tags: [d.type, d.incident_key, d.incident_number.toString(), d.status, d.service.id],
The text was updated successfully, but these errors were encountered:
Grafana version: 8.1.2
PagerDuty plugin version: 0.2.2
Browser: Chrome: 94.0.4606.61 (Official Build)
Affected chart type: Time series
Underlying error:
angular.js:15697 TypeError: e.toLowerCase is not a function
at O (tags.ts:70)
at M (tags.ts:8)
at Object.link (tags.ts:17)
at angular.js:1391
at angular.js:11370
at Pt (angular.js:11376)
at at (angular.js:10695)
at angular.js:9942
at angular.js:9807
at angular.js:10221 ''
Exploring the DOM I have noticed (within datasource.js) the incident object has a tags property which contains a list of items, however the item: d.incident_number is of type integer causing failure upon hover over of the annotation as the toLowerCase function is expecting a string.
Suggested fix:
Change to line:98 of datasource.js as follows:
Original line
tags: [d.type, d.incident_key, d.incident_number, d.status, d.service.id],
to be replaced with
tags: [d.type, d.incident_key, d.incident_number.toString(), d.status, d.service.id],
The text was updated successfully, but these errors were encountered: