stream: getReplacedValue()

in src/datasource.ts [136:151]


          stream: getReplacedValue(target.selectedStream, options.scopedVars),
          queryType: 'CUSTOM',
          view: target.requestType == null ? DATAFRAME_KEY : target.requestType,
          symbols,
          hide: target.hide,
          types: [],
          functions: getFunctions(target.selects, options.scopedVars),
          interval,
          filters: getFilters(target.filters, options.scopedVars),
          groupBy:
            target.selectedGroups == null
              ? []
              : target.selectedGroups.map((group: string) => {
                  const [type, field] = separateTypeAndField(group);
                  return { type, name: field };
                }),