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

DataTransformerConfig interface

Signature

typescript
export interface DataTransformerConfig<TOptions = any> 

Import

typescript
import { DataTransformerConfig } from '@grafana/data';

Properties

PropertyTypeDescription
disabledbooleanDisabled transformations are skipped
idstringUnique identifier of transformer
optionsTOptionsOptions to be passed to the transformer
replace(target?: string, scopedVars?: ScopedVars, format?: string | Function) => stringFunction to apply template variable substitution to the DataTransformerConfig

disabled property

Disabled transformations are skipped

Signature

typescript
disabled?: boolean;

id property

Unique identifier of transformer

Signature

typescript
id: string;

options property

Options to be passed to the transformer

Signature

typescript
options: TOptions;

replace property

Function to apply template variable substitution to the DataTransformerConfig

Signature

typescript
replace?: (target?: string, scopedVars?: ScopedVars, format?: string | Function) => string;