Documentation

Overview

Package promgen generates service graphs from a prometheus backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPromHandler

func NewPromHandler(addr string, static *servicegraph.Static, writer servicegraph.SerializeFn) http.Handler

NewPromHandler returns a new http.Handler that will serve servicegraph data based on queries against a prometheus backend.

Types

This section is empty.

Source Files