common

package
v0.0.0-...-ffeca68 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GrafanaVersion = "0.0.0"

GrafanaVersion https://github.com/grafana/grafana/issues/34356

View Source
var PluginVersion = "0.0.0"

PluginVersion https://www.digitalocean.com/community/tutorials/using-ldflags-to-set-version-information-for-go-applications

Functions

This section is empty.

Types

type ApiOpts

type ApiOpts struct {
	SecretId  string `json:"secretId"`
	SecretKey string `json:"secretKey"`
	Token     string
	Intranet  bool
}

type LogServiceParams

type LogServiceParams struct {
	Region  string `json:"region"`
	TopicId string `json:"topicId"`
	Query   string `json:"Query"`
}

type QueryModel

type QueryModel struct {
	LogServiceParams LogServiceParams `json:"logServiceParams"`
	//  业务类型
	ServiceType ServiceType `json:"serviceType"`
}

type ServiceType

type ServiceType string
const (
	ServiceTypeMonitor    ServiceType = "monitor"
	ServiceTypeLogService ServiceType = "logService"
	ServiceTypeRUMService ServiceType = "RUMService"
)

Jump to

Keyboard shortcuts

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