observability

package
v0.74.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64Gauge

func Float64Gauge(pkg, name, description, unit string) metric.Float64Gauge

Float64Gauge creates a float64 gauge metric.

func Float64Histogram

func Float64Histogram(pkg, name, description, unit string) metric.Float64Histogram

Float64Histogram creates a float64 histogram metric.

func Int64Counter

func Int64Counter(pkg, name, description, unit string) metric.Int64Counter

Int64Counter creates an int64 counter metric.

func Int64Gauge

func Int64Gauge(pkg, name, description, unit string) metric.Int64Gauge

Int64Gauge creates an int64 gauge metric.

func Int64Histogram

func Int64Histogram(pkg, name, description, unit string) metric.Int64Histogram

Int64Histogram creates an int64 histogram metric.

func Setup

Setup initializes OpenTelemetry's metrics.

func SetupWithMeterProvider

func SetupWithMeterProvider(provider metric.MeterProvider)

SetupWithMeterProvider initializes OpenTelemetry's metrics with a custom meter provider.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳