http

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package http implements an http server to export metrics in Prometheus format.

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version of the visus binary, set using: `-ldflags="-X github.com/cockroachlabs/visus/internal/http.Version=..."`

Functions

func New

func New(
	ctx context.Context,
	cfg *server.Config,
	st store.Store,
	registry *prometheus.Registry,
	scheduler *gocron.Scheduler,
) (server.Server, error)

New constructs a http server to server 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