Documentation ¶
Overview ¶
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const DefaultConfig = "/fake-config.yml"
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(cfgOpt ConfigOptions) *exec.Cmd
Types ¶
type ConfigOptions ¶
type FakeSample ¶
type FakeSample map[string]interface{}
func (FakeSample) Entity ¶
func (f FakeSample) Entity(key entity.Key)
func (FakeSample) Timestamp ¶
func (f FakeSample) Timestamp(timestamp int64)
func (FakeSample) Type ¶
func (f FakeSample) Type(eventType string)
type FakeSampler ¶
type FakeSampler struct {
// contains filtered or unexported fields
}
func (*FakeSampler) Disabled ¶
func (*FakeSampler) Disabled() bool
func (*FakeSampler) Interval ¶
func (*FakeSampler) Interval() time.Duration
func (*FakeSampler) Name ¶
func (*FakeSampler) Name() string
func (*FakeSampler) OnStartup ¶
func (*FakeSampler) OnStartup()
func (*FakeSampler) Sample ¶
func (f *FakeSampler) Sample() (sample.EventBatch, error)
Click to show internal directories.
Click to hide internal directories.