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.
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