minagent

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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 ConfigOptions struct {
	ConfigFile  string            `json:"config_file"`
	Environment map[string]string `json:"environment"`
}

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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