Documentation

Overview

Package prometheus publishes metric values collected by Mixer for ingestion by prometheus.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInfo

func GetInfo() adapter.Info

GetInfo returns the Info associated with this adapter.

Types

type Server

type Server interface {
	io.Closer

	Start(adapter.Env, http.Handler) error
	Port() int
}

Server presents prometheus server endpoint

func GetInfoWithAddr

func GetInfoWithAddr(addr string) (adapter.Info, Server)

GetInfoWithAddr returns the Info associated with this adapter.

Directories

Path Synopsis
config Package config is a generated protocol buffer package.