Skip to content

DataTransformerConfig🔗

Transformations allow to manipulate data returned by a query before the system applies a visualization.

Using transformations you can: rename fields, join time series data, perform mathematical operations across queries,

use the output of one transformation as the input to another transformation, etc.

Definition🔗

export interface DataTransformerConfig {
    // Unique identifier of transformer
    id: string;
    // Disabled transformations are skipped
    disabled?: boolean;
    // Optional frame matcher. When missing it will be applied to all results
    filter?: dashboard.MatcherConfig;
    // Where to pull DataFrames from as input to transformation
    topic?: "series" | "annotations" | "alertStates";
    // Options to be passed to the transformer
    // Valid options depend on the transformer id
    options: any;
}

Methods🔗

No methods.