telemetry

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(
	ctx context.Context,
	logger tmlog.Logger,
	serviceName string,
	instanceID string,
	opts []otlpmetrichttp.Option,
) (*prometheus.Registry, func() error, error)

Types

type Config

type Config struct {
	Endpoint string
	TLS      bool
}

Config defines the configuration options for blobstreamx-monitor telemetry.

type Meters

type Meters struct {
	ProcessedNonces metric.Int64Counter
}

func InitMeters

func InitMeters() (*Meters, error)

Jump to

Keyboard shortcuts

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