flightsql

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatasource

NewDatasource creates a new datasource instance.

Types

type FlightSQLDatasource

type FlightSQLDatasource struct {
	// contains filtered or unexported fields
}

FlightSQLDatasource is a Grafana datasource plugin for Flight SQL.

func (*FlightSQLDatasource) CallResource

CallResource forwards requests to an internal HTTP mux that handles custom resources for the datasource.

func (*FlightSQLDatasource) CheckHealth

CheckHealth handles health checks sent from Grafana to the plugin. The main use case for these health checks is the test button on the datasource configuration page which allows users to verify that a datasource is working as expected.

func (*FlightSQLDatasource) Dispose

func (d *FlightSQLDatasource) Dispose()

Dispose cleans up before we are reaped.

func (*FlightSQLDatasource) QueryData

QueryData executes batches of ad-hoc queries and returns a batch of results.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL