p9x

package
v0.0.0-...-d51f163 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Instance    = "instance"
	ContentKey  = "content_key"
	ContainerId = "container_id"
)

Variables

This section is empty.

Functions

func NewPrometheusP9xCache

func NewPrometheusP9xCache(address string, p9xValue float32, outputName string, duration string) *prometheusP9xCache

Types

type P9XServer

type P9XServer struct {
	model.UnimplementedP9XServiceServer
	// contains filtered or unexported fields
}

func NewP9XServer

func NewP9XServer(cfg *config.PrometheusConfig) *P9XServer

func (*P9XServer) QueryP9X

func (server *P9XServer) QueryP9X(ctx context.Context, request *model.P9XRequest) (*model.P9XResponse, error)

func (*P9XServer) Start

func (server *P9XServer) Start()

Jump to

Keyboard shortcuts

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