Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewCWClient = func(sess *session.Session) cloudwatchiface.CloudWatchAPI { return cloudwatch.New(sess) }
NewCWClient is a CloudWatch client factory.
Stubbable by tests.
View Source
var NewCWLogsClient = func(sess *session.Session) cloudwatchlogsiface.CloudWatchLogsAPI { return cloudwatchlogs.New(sess) }
NewCWLogsClient is a CloudWatch logs client factory.
Stubbable by tests.
View Source
var NewEC2Client = func(provider client.ConfigProvider) models.EC2APIProvider { return ec2.New(provider) }
NewEC2Client is a client factory.
Stubbable by tests.
View Source
var NewLogsAPI = func(sess *session.Session) models.CloudWatchLogsAPIProvider { return cloudwatchlogs.New(sess) }
NewLogsAPI is a CloudWatch logs api factory.
Stubbable by tests.
View Source
var NewMetricsAPI = func(sess *session.Session) models.CloudWatchMetricsAPIProvider { return cloudwatch.New(sess) }
NewMetricsAPI is a CloudWatch metrics api factory.
Stubbable by tests.
View Source
var NewOAMAPI = func(sess *session.Session) models.OAMAPIProvider { return oam.New(sess) }
NewOAMAPI is a CloudWatch OAM api factory.
Stubbable by tests.
Functions ¶
func NewInstanceSettings ¶
func NewInstanceSettings(httpClientProvider *httpclient.Provider) datasource.InstanceFactoryFunc
Types ¶
type CloudWatchService ¶
type CloudWatchService struct {
Executor *cloudWatchExecutor
}
func ProvideService ¶
func ProvideService(httpClientProvider *httpclient.Provider) *CloudWatchService
type DataQueryJson ¶
type DataQueryJson struct { dataquery.CloudWatchAnnotationQuery Type string `json:"type,omitempty"` }
type DataSource ¶
type SessionCache ¶
type SessionCache interface {
GetSession(c awsds.SessionConfig) (*session.Session, error)
}
Source Files ¶
- annotation_query.go
- client_factory.go
- cloudwatch.go
- get_dimension_values_for_wildcards.go
- get_metric_data_executor.go
- get_metric_query_batches.go
- log_actions.go
- log_query.go
- log_sync_query.go
- metric_data_input_builder.go
- metric_data_query_builder.go
- metric_find_query.go
- resource_handler.go
- response_parser.go
- sort_frame.go
- test_utils.go
- time_series_query.go
Click to show internal directories.
Click to hide internal directories.