The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/data/grafanaplugin.md

2.0 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "GrafanaPlugin" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++

GrafanaPlugin class

Signature

export declare class GrafanaPlugin<T extends PluginMeta = PluginMeta> 

Import

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

Constructors

Constructor Modifiers Description
constructor() Constructs a new instance of the GrafanaPlugin class

Properties

Property Modifiers Type Description
angularConfigCtrl any
configPages Array<PluginConfigPage<T>>
loadError boolean
meta T

Methods

Method Modifiers Description
addConfigPage(tab)

constructor()

Constructs a new instance of the GrafanaPlugin class

Signature

constructor();

angularConfigCtrl property

Signature

angularConfigCtrl?: any;

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

Parameter Type Description
tab PluginConfigPage<T>

Returns:

this