Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

DataTransformerInfo interface

Function that transform data frames (AKA transformer)

Signature

typescript
export interface DataTransformerInfo<TOptions = any> extends RegistryItemWithOptions 

Import

typescript
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

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