Documentation ¶
Overview ¶
Package live provides access to the GrafanaLive server [ALPHA]
Index ¶
Constants ¶
View Source
const ( // ScopeGrafana contains builtin features of Grafana Core. ScopeGrafana = "grafana" // ScopePlugin passes control to a plugin. ScopePlugin = "plugin" // ScopeDatasource passes control to a datasource plugin. ScopeDatasource = "ds" // ScopeStream is a managed data frame stream. ScopeStream = "stream" // ScopePush allows sending data into managed streams. It does not support subscriptions. ScopePush = "push" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶ added in v0.92.0
type Channel struct { // Scope is one of available channel scopes: // like ScopeGrafana, ScopePlugin, ScopeDatasource, ScopeStream. Scope string `json:"scope,omitempty"` // Namespace meaning depends on the scope. // * when ScopeGrafana, namespace is a "feature" // * when ScopePlugin, namespace is the plugin name // * when ScopeDatasource, namespace is the datasource uid // * when ScopeStream, namespace is the stream ID. Namespace string `json:"namespace,omitempty"` // Within each namespace, the handler can process the path as needed. Path string `json:"path,omitempty"` }
Channel is the channel ID split by parts.
func ParseChannel ¶ added in v0.92.0
ParseChannel parses the parts from a channel ID:
${scope} / ${namespace} / ${path}.
Click to show internal directories.
Click to hide internal directories.