datadogclientimpl

package
v0.0.0-...-f4cfdf3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package datadogclientimpl implements the datadogclient component interface

Package datadogclientimpl provides the noop datadogclientimpl component

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNone

func NewNone() datadogclient.Component

NewNone creates a new noop datadogclient component

Types

type ImplNone

type ImplNone struct{}

ImplNone is a noop datadogclient implementation

func (*ImplNone) GetRateLimitStats

func (d *ImplNone) GetRateLimitStats() map[string]datadog.RateLimit

GetRateLimitStats does nothing for the noop datadogclient implementation

func (*ImplNone) QueryMetrics

func (d *ImplNone) QueryMetrics(_, _ int64, _ string) ([]datadog.Series, error)

QueryMetrics does nothing for the noop datadogclient implementation

type Provides

type Provides struct {
	Comp           datadogclient.Component
	StatusProvider status.InformationProvider
}

Provides defines the output of the datadogclient component

func NewComponent

func NewComponent(reqs Requires) (Provides, error)

NewComponent creates a new datadogclient component

type Requires

type Requires struct {
	Config configComponent.Component
	Log    logComp.Component
}

Requires defines the dependencies for the datadogclient component

Jump to

Keyboard shortcuts

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