Documentation
¶
Index ¶
- func Difference(l1, l2 []string) []string
- func Intersect(l1, l2 []string) []string
- type AwsAPIGatewayConfig
- type AwsAutoScalingGroupConfig
- type AwsClbConfig
- type AwsDynamoDBConfig
- type AwsElastiCacheConfig
- type AwsElbConfig
- type AwsFilter
- type AwsFirehoseConfig
- type AwsKinesisConfig
- type AwsOpenSeardhServiceConfig
- type AwsRdsConfig
- type AwsSnsConfig
- type AwsSqsConfig
- type AwsStepFunctionConfig
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Difference ¶
Difference returns the difference set of arguments.
Types ¶
type AwsAPIGatewayConfig ¶ added in v0.2.0
type AwsAPIGatewayConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsAPIGatewayConfig holds metadata for AwsFilter for AWS API Gateway.
type AwsAutoScalingGroupConfig ¶
type AwsAutoScalingGroupConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsAutoScalingGroupConfig holds metadata for AwsFilter for AWS AutoScalingGroup.
type AwsClbConfig ¶
type AwsClbConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsClbConfig holds metadata for AwsFilter for AWS CLB.
type AwsDynamoDBConfig ¶
type AwsDynamoDBConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsDynamoDBConfig holds metadata for AwsFilter for AWS DynamoDB.
type AwsElastiCacheConfig ¶
type AwsElastiCacheConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsElastiCacheConfig holds metadata for AwsFilter for AWS ElastiCache.
type AwsElbConfig ¶
type AwsElbConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsElbConfig holds metadata for AwsFilter for AWS ALB.
type AwsFilter ¶
AwsFilter implements Filter interface. it holds the metadata to filter AWS resources which should be monitored.
type AwsFirehoseConfig ¶ added in v0.2.0
type AwsFirehoseConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsFirehoseConfig holds metadata for AwsFilter for AWS Firehose.
type AwsKinesisConfig ¶
type AwsKinesisConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsKinesisConfig holds metadata for AwsFilter for AWS Kinesis.
type AwsOpenSeardhServiceConfig ¶
type AwsOpenSeardhServiceConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsOpenSeardhServiceConfig holds metadata for AwsFilter for AWS OpenSearch Service.
type AwsRdsConfig ¶
type AwsRdsConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsRdsConfig holds metadata for AwsFilter for AWS RDS.
type AwsSnsConfig ¶ added in v0.2.0
type AwsSnsConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsSnsConfig holds metadata for AwsFilter for AWS SNS.
type AwsSqsConfig ¶
type AwsSqsConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsSqsConfig holds metadata for AwsFilter for AWS SQS.
type AwsStepFunctionConfig ¶
type AwsStepFunctionConfig struct {
AwsTagKey string `envconfig:"aws_tag_key" default:""`
DdTagKey string `envconfig:"datadog_tag_key" default:""`
}
AwsStepFunctionConfig holds metadata for AwsFilter for AWS StepFunction.
type Filter ¶
type Filter interface {
CheckScopeWithTags(scope datadog.Scope, tags mapper.Tags) (included bool, excluded bool)
CheckTagsWithTags(ddTags datadog.Tags, resourceTags mapper.Tags) bool
}
Filter is an interface to filter AWS resources which should be monitored.
func BuildFilter ¶
func BuildFilter(it datadog.IntegrationTarget) (Filter, error)
BuildFilter build the proper Filter implementation.