victoriametrics

package
v0.0.0-...-53f234e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1_test provides examples making requests to Prometheus using the Golang client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VectorConvertSlice

func VectorConvertSlice(v model.Vector)

func VmQuery

func VmQuery(VictoriaUrl string, PromQL string) (v model.Vector, err error)

func VmQueryRange

func VmQueryRange(VictoriaUrl string, PromQL string) (v model.Value, err error)

Types

type QueryResult

type QueryResult struct {
	Name  string
	Value [][]string
}

Jump to

Keyboard shortcuts

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