options

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Dataset         string  `short:"d" long:"dataset" description:"Name of the dataset" default:"aws-$SERVICE-access"`
	SampleRate      int     `long:"samplerate" description:"Only send 1 / N log lines" default:"1"`
	WriteKey        string  `short:"k" long:"writekey" description:"Honeycomb team write key"`
	StateDir        string  `long:"statedir" description:"Directory where ingest state is stored" default:"."`
	HighAvail       bool    `long:"highavail" description:"Enable high availability ingestion using DynamoDB"`
	BackfillHr      int     `` /* 133-byte string literal not displayed */
	EdgeMode        bool    `long:"edge_mode" description:"Ignore any parent trace id, if present, from a load balancer"`
	SamplerType     string  `long:"sampler_type" default:"simple" description:"Type of dynamic sampler to use. Options are 'simple' and 'ema'"`
	SamplerInterval int     `long:"sampler_interval" default:"300" description:"Interval between sample rate calculation, in seconds."`
	SamplerDecay    float64 `` /* 272-byte string literal not displayed */

	Version bool   `short:"V" long:"version" description:"Show version"`
	APIHost string `hidden:"true" long:"api_host" description:"Host for the Honeycomb API" default:"https://api.honeycomb.io/"`
	Debug   bool   `long:"debug" description:"Print debugging output"`
}

Jump to

Keyboard shortcuts

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