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.
QueryResultMetaNotice interface
QueryResultMetaNotice is a structure that provides user notices for query result data
Signature
export interface QueryResultMetaNotice
Import
import { QueryResultMetaNotice } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
inspect | ‘meta’ | ’error’ | ‘data’ | ‘stats’ | Optionally suggest an appropriate tab for the panel inspector |
link | string | An optional link that may be displayed in the UI. This value may be an absolute URL or relative to grafana root |
severity | ‘info’ | ‘warning’ | ’error’ | Specify the notice severity |
text | string | Notice descriptive text |
inspect property
Optionally suggest an appropriate tab for the panel inspector
Signature
inspect?: 'meta' | 'error' | 'data' | 'stats';
link property
An optional link that may be displayed in the UI. This value may be an absolute URL or relative to grafana root
Signature
link?: string;
severity property
Specify the notice severity
Signature
severity: 'info' | 'warning' | 'error';
text property
Notice descriptive text
Signature
text: string;