Documentation ¶
Index ¶
- type DataDogCounters
- func (c *DataDogCounters) Close(correlationId string) error
- func (c *DataDogCounters) Configure(config *cconf.ConfigParams)
- func (c *DataDogCounters) IsOpen() bool
- func (c *DataDogCounters) Open(correlationId string) error
- func (c *DataDogCounters) Save(counters []*ccount.Counter) error
- func (c *DataDogCounters) SetReferences(references cref.IReferences)
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.
Click to show internal directories.
Click to hide internal directories.