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.
GrafanaPlugin class
Signature
export declare class GrafanaPlugin<T extends PluginMeta = PluginMeta>
Import
import { GrafanaPlugin } from '@grafana/data';
Constructors
Properties
Methods
constructor()
Constructs a new instance of the GrafanaPlugin
class
Signature
constructor();
angularConfigCtrl property
Signature
angularConfigCtrl?: any;
channelSupport property
Live streaming support
Note: plugin.json
must also define live: true
Signature
channelSupport?: LiveChannelSupport;
configPages property
Signature
configPages?: Array<PluginConfigPage<T>>;
loadError property
Signature
loadError?: boolean;
meta property
Signature
meta: T;
addConfigPage method
Signature
addConfigPage(tab: PluginConfigPage<T>): this;
Parameters
Returns:
this
setChannelSupport method
Specify how the plugin should support paths within the live streaming environment
Signature
setChannelSupport(support: LiveChannelSupport): this;
Parameters
Returns:
this