Discover Packages
gopkg.in/alc-siteimprove/dd-trace-go.v1
internal
globalconfig
package
Version:
v1.20.1
Opens a new window with list of versions in this module.
Published: Jan 15, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package globalconfig stores configuration which applies globally to both the tracer
and integrations.
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(rate float64 )
SetAnalyticsRate sets the given event sampling rate globally.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.