prometheus

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewPrometheusAPIHandler

func NewPrometheusAPIHandler(config *config.Config) *Handler

func (*Handler) Query

func (h *Handler) Query(c *gin.Context)

Query delicate prometheus query api.

func (*Handler) RangeQuery

func (h *Handler) RangeQuery(c *gin.Context)

RangeQuery delicate prometheus range query api.

Jump to

Keyboard shortcuts

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