API Reference@grafana/datagetFieldMatcher

getFieldMatcher() function

getFieldMatcher() function

Resolves a field matcher from the registry for given config. Will throw an error if matcher can not be resolved.

Signature

export declare function getFieldMatcher(config: MatcherConfig): FieldMatcher;

Import

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

Parameters

Parameter Type Description
config MatcherConfig

Returns:

FieldMatcher