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

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

Import

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

Parameters

ParameterTypeDescription
configMatcherConfig

Returns:

FieldMatcher