metrics

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExposeMetricsPort

func ExposeMetricsPort() *v1.Service

ExposeMetricsPort generate a Kubernetes Service to expose metrics port

func GenerateServiceMonitor

func GenerateServiceMonitor(s *v1.Service) *monitoringv1.ServiceMonitor

GenereateServiceMonitor generates a prometheus-operator ServiceMonitor object based on the passed Service object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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