metrics

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const EnvoyClusterLabelName = "envoy_cluster_name"
View Source
const EnvoyHttpConnManagerPrefixLabelName = "envoy_http_conn_manager_prefix"
View Source
const MeshTrafficLabelName = "kuma_io_mesh_traffic"

Variables

This section is empty.

Functions

func AddPrometheusFormat added in v1.8.1

func AddPrometheusFormat(queryParameters url.Values) string

func MergeClusters

func MergeClusters(in io.Reader, out io.Writer) error

func RemoveQueryParameters added in v1.8.1

func RemoveQueryParameters(_ url.Values) string

Types

type ApplicationToScrape added in v1.8.1

type ApplicationToScrape struct {
	Name          string
	Address       string
	Path          string
	Port          uint32
	IsIPv6        bool
	QueryModifier QueryParametersModifier
	Mutator       MetricsMutator
}

type Hijacker

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

func New

func New(dataplane kumadp.Dataplane, applicationsToScrape []ApplicationToScrape, isUsingTransparentProxy bool) *Hijacker

func (*Hijacker) NeedLeaderElection

func (s *Hijacker) NeedLeaderElection() bool

func (*Hijacker) ServeHTTP

func (s *Hijacker) ServeHTTP(writer http.ResponseWriter, req *http.Request)

func (*Hijacker) Start

func (s *Hijacker) Start(stop <-chan struct{}) error

type MetricsMutator added in v1.8.1

type MetricsMutator func(in io.Reader, out io.Writer) error

type QueryParametersModifier added in v1.8.1

type QueryParametersModifier func(queryParameters url.Values) string

Jump to

Keyboard shortcuts

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