Skip to content

Commit d98896b

Browse files
committed
Fixed summary calculation
1 parent 382ec73 commit d98896b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
{"name": "Annotations Editor", "path": "img/annotations.png"}
4141
],
4242
"version": "5.2.0",
43-
"updated": "2025-02-19"
43+
"updated": "2025-03-21"
4444
},
4545
"dependencies": {
4646
"grafanaDependency": ">=10.1.0",

pkg/plugin/timeseries_query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ func (q *PIWebAPIQuery) getSummaryURIComponent() string {
460460
for _, t := range *q.Summary.Types {
461461
uri += "&summaryType=" + t.Value.Value
462462
}
463-
uri += "&summaryBasis=" + *q.Summary.Basis
463+
uri += "&calculationBasis=" + *q.Summary.Basis
464464
if q.Summary.Duration != nil && *q.Summary.Duration != "" {
465465
uri += "&summaryDuration=" + q.getSummaryDuration()
466466
}

0 commit comments

Comments
 (0)