prometheusio

package
v0.0.0-...-165bc0d Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prometheusio

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

func New

func New(ctx context.Context, cfg *configs.Configs) (*Prometheusio, error)

func (*Prometheusio) Count

func (metrics *Prometheusio) Count(ctx context.Context, name string, opts ...options.WithOpt)

func (*Prometheusio) Record

func (metrics *Prometheusio) Record(ctx context.Context, name string, value float64, opts ...options.WithOpt)

type Service

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

func NewService

func NewService(ctx context.Context, cfg *configs.Configs) (*Service, error)

func (*Service) Run

func (service *Service) Run() error

func (*Service) Start

func (service *Service) Start() error

func (*Service) Stop

func (service *Service) Stop() error

Jump to

Keyboard shortcuts

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