Documentation ¶
Index ¶
- Variables
- type KeptnDataDogProvider
- func (d *KeptnDataDogProvider) EvaluateQuery(ctx context.Context, metric metricsapi.KeptnMetric, ...) (string, []byte, error)
- func (d *KeptnDataDogProvider) EvaluateQueryForStep(ctx context.Context, metric metricsapi.KeptnMetric, ...) ([]string, []byte, error)
- func (d *KeptnDataDogProvider) FetchAnalysisValue(ctx context.Context, query string, analysis metricsapi.Analysis, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSecretKeyRefNotDefined = errors.New("the SecretKeyRef property with the DataDog API Key is missing")
Functions ¶
This section is empty.
Types ¶
type KeptnDataDogProvider ¶
func (*KeptnDataDogProvider) EvaluateQuery ¶
func (d *KeptnDataDogProvider) EvaluateQuery(ctx context.Context, metric metricsapi.KeptnMetric, provider metricsapi.KeptnMetricsProvider) (string, []byte, error)
EvaluateQuery fetches the SLI values from datadog provider
func (*KeptnDataDogProvider) EvaluateQueryForStep ¶
func (d *KeptnDataDogProvider) EvaluateQueryForStep(ctx context.Context, metric metricsapi.KeptnMetric, provider metricsapi.KeptnMetricsProvider) ([]string, []byte, error)
func (*KeptnDataDogProvider) FetchAnalysisValue ¶
func (d *KeptnDataDogProvider) FetchAnalysisValue(ctx context.Context, query string, analysis metricsapi.Analysis, provider *metricsapi.KeptnMetricsProvider) (string, error)
Click to show internal directories.
Click to hide internal directories.