route

package
Version: v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package route stores common HTTP route handling code

Index

Constants

View Source
const (
	// NameReplace is the parameter that gets replaced.
	NameReplace = "name"

	// LabelValuesURL returns the url for the label values endpoint.
	LabelValuesURL = Prefix + "/label/{" + NameReplace + "}/values"

	// LabelNamesURL returns the url for the label names endpoint.
	LabelNamesURL = Prefix + "/labels"

	// QueryRangeURL return the url for the query range endpoint.
	QueryRangeURL = Prefix + "/query_range"

	// QueryURL return the url for the query endpoint.
	QueryURL = Prefix + "/query"

	// SeriesMatchURL is the url for remote prom series matcher handler.
	SeriesMatchURL = Prefix + "/series"
)
View Source
const (
	// Prefix is the v1 prefix for all coordinator routes.
	Prefix = "/api/v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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