diff --git a/public/app/plugins/datasource/graphite/query_ctrl.ts b/public/app/plugins/datasource/graphite/query_ctrl.ts index bd7e4312bc6..30f17554d2b 100644 --- a/public/app/plugins/datasource/graphite/query_ctrl.ts +++ b/public/app/plugins/datasource/graphite/query_ctrl.ts @@ -176,7 +176,7 @@ export class GraphiteQueryCtrl extends QueryCtrl { }); // add wildcard option - altSegments.unshift(this.uiSegmentSr.newSegment('*')); + altSegments.unshift(this.uiSegmentSrv.newSegment('*')); return altSegments; }).catch(err => { appEvents.emit('alert-error', ['Error', err]);