metric

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package metric retrieves metric values on a schedule.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	ctx context.Context,
	cfg *server.Config,
	store store.Store,
	conn database.Connection,
	registry *prometheus.Registry,
) server.Server

New creates a new server to collect the metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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