Documentation ¶
Index ¶
Constants ¶
View Source
const ( CloudWatch = "cloudwatch" CloudMonitoring = "stackdriver" AzureMonitor = "grafana-azure-monitor-datasource" Elasticsearch = "elasticsearch" Graphite = "graphite" InfluxDB = "influxdb" Loki = "loki" OpenTSDB = "opentsdb" Prometheus = "prometheus" Tempo = "tempo" TestData = "testdata" PostgreSQL = "postgres" MySQL = "mysql" MSSQL = "mssql" Grafana = "grafana" Pyroscope = "grafana-pyroscope-datasource" Parca = "parca" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts backend.ServeOpts) backendplugin.PluginFactoryFunc
New returns a new backendplugin.PluginFactoryFunc for creating a core (built-in) backendplugin.Plugin.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry(store map[string]backendplugin.PluginFactoryFunc) *Registry
func ProvideCoreRegistry ¶
func ProvideCoreRegistry(am *azuremonitor.Service, cw *cloudwatch.CloudWatchService, cm *cloudmonitoring.Service, es *elasticsearch.Service, grap *graphite.Service, idb *influxdb.Service, lk *loki.Service, otsdb *opentsdb.Service, pr *prometheus.Service, t *tempo.Service, td *testdatasource.Service, pg *postgres.Service, my *mysql.Service, ms *mssql.Service, graf *grafanads.Service, pyroscope *pyroscope.Service, parca *parca.Service) *Registry
func (*Registry) BackendFactoryProvider ¶
func (cr *Registry) BackendFactoryProvider() func(_ context.Context, p *plugins.Plugin) backendplugin.PluginFactoryFunc
func (*Registry) Get ¶
func (cr *Registry) Get(pluginID string) backendplugin.PluginFactoryFunc
Click to show internal directories.
Click to hide internal directories.