count

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataDogCounters

type DataDogCounters struct {
	*ccount.CachedCounters
	// contains filtered or unexported fields
}

func NewDataDogCounters

func NewDataDogCounters() *DataDogCounters

NewDataDogCounters - creates a new instance of the performance counters.

func (*DataDogCounters) Close

func (c *DataDogCounters) Close(correlationId string) error

Close - closes component and frees used resources.

  • correlationId (optional) transaction id to trace execution through call chain. Returns error or null no errors occured.

func (*DataDogCounters) Configure

func (c *DataDogCounters) Configure(config *cconf.ConfigParams)

Configure - configures component by passing configuration parameters.

  • config configuration parameters to be set.

func (*DataDogCounters) IsOpen

func (c *DataDogCounters) IsOpen() bool

IsOpen - checks if the component is opened. Returns true if the component has been opened and false otherwise.

func (*DataDogCounters) Open

func (c *DataDogCounters) Open(correlationId string) error

Open - opens the component.

  • correlationId (optional) transaction id to trace execution through call chain. Returns error or nil no errors occured.

func (*DataDogCounters) Save

func (c *DataDogCounters) Save(counters []*ccount.Counter) error

Saves the current counters measurements. - counters current counters measurements to be saves.

func (*DataDogCounters) SetReferences

func (c *DataDogCounters) SetReferences(references cref.IReferences)

SetReferences - sets references to dependent components. - references references to locate the component dependencies.

Jump to

Keyboard shortcuts

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