utils

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListMetricsLabel   = "list_metrics"
	GetMetricDataLabel = "get_metric_data"
)

Variables

View Source
var QueriesTotalCounter = promauto.NewCounterVec(
	prometheus.CounterOpts{
		Namespace: "grafana_plugin",
		Name:      "aws_cloudwatch_queries_total",
		Help:      "Counter for AWS Queries",
	},
	[]string{"query_type"},
)

Functions

func Depointerizer

func Depointerizer[T any](v *T) T

func Pointer

func Pointer[T any](arg T) *T

func Stack

func Stack(skip int) string

Stack is copied from grafana/pkg/infra/log TODO: maybe this should live in grafana-plugin-sdk-go?

Types

This section is empty.

Jump to

Keyboard shortcuts

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