globalconfig

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package globalconfig stores configuration which applies globally to both the tracer and integrations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyticsRate

func AnalyticsRate() float64

AnalyticsRate returns the sampling rate at which events should be marked. It uses synchronizing mechanisms, meaning that for optimal performance it's best to read it once and store it.

func SetAnalyticsRate

func SetAnalyticsRate(rate float64)

SetAnalyticsRate sets the given event sampling rate globally.

Types

This section is empty.

Jump to

Keyboard shortcuts

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