API Reference@grafana/dataDataTransformerInfo

DataTransformerInfo interface

Function that transform data frames (AKA transformer)

Signature

export interface DataTransformerInfo<TOptions = any> extends RegistryItemWithOptions 

Import

import { DataTransformerInfo } from '@grafana/data';

Properties

PropertyTypeDescription
operator(options: TOptions, replace?: (target?: string, scopedVars?: ScopedVars, format?: string | Function) => string) => MonoTypeOperatorFunction<DataFrame[]>Function that configures transformation and returns a transformer

operator property

Function that configures transformation and returns a transformer

Signature

operator: (options: TOptions, replace?: (target?: string, scopedVars?: ScopedVars, format?: string | Function) => string) => MonoTypeOperatorFunction<DataFrame[]>;