prometheus

package
v0.0.0-...-eab87ad Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MetricsAddr string
}

func DefaultConfig

func DefaultConfig() Config

type Prometheus

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

func NewReceiver

func NewReceiver(config Config) *Prometheus

func (*Prometheus) Receive

func (r *Prometheus) Receive(ctx context.Context, pd pprofile.Profiles) error

func (*Prometheus) Start

func (r *Prometheus) Start(_ context.Context) error

func (*Prometheus) Stop

func (r *Prometheus) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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