telemetry

package
v5.0.0-...-0681bf2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package telemetry groups all observability tools for application monitoring: logging, tracing, metrics and profiling

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	OTelService otel.Service       `json:"otelService" yaml:"otel_service"`
	Loggers     []log.LoggerConfig `json:"loggers" yaml:"loggers"`
	Tracing     tracing.Config     `json:"tracing" yaml:"tracing"`
	Metrics     metrics.Config     `json:"metrics" yaml:"metrics"`
	Profiling   profile.Config     `json:"profiling" yaml:"profiling"`
}

Config is a serializable struct for configuring telemetry

func (Config) Reload

func (c Config) Reload(ctx context.Context) error

Reload reads config and call underlying loaders for each aspect (logging, metrics, profiling, tracing)

Directories

Path Synopsis
log
Package log define and configure the Pydio loggers based on zap.
Package log define and configure the Pydio loggers based on zap.
Package metrics abstract various providers around OpenTelemetry metric.Reader
Package metrics abstract various providers around OpenTelemetry metric.Reader
otlp
Package otlp provides an OpenTelemetry protocol exporter for metrics
Package otlp provides an OpenTelemetry protocol exporter for metrics
prometheus
Package prometheus provides a Prometheus collector and the required cells HTTP services to expose metrics.
Package prometheus provides a Prometheus collector and the required cells HTTP services to expose metrics.
Package otel groups together some common types for telemetry
Package otel groups together some common types for telemetry
Package profile provides an abstraction of pprof profiles generations.
Package profile provides an abstraction of pprof profiles generations.
http_pull
Package http_pull provides a profiling implementation that exposes PProf profiles on an HTTP endpoint
Package http_pull provides a profiling implementation that exposes PProf profiles on an HTTP endpoint
pyroscope
Package pyroscope provides a Push-implementation of profiling traces to Grafana Pyroscope server
Package pyroscope provides a Push-implementation of profiling traces to Grafana Pyroscope server
Package tracing provides an abstraction of OpenTelemetry SpanExporter
Package tracing provides an abstraction of OpenTelemetry SpanExporter

Jump to

Keyboard shortcuts

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