Documentation ¶
Index ¶
- func NewReader(meta *reader.Meta, conf conf.MapConf) (reader.Reader, error)
- func SelectMetrics(c *Reader) ([]*cloudwatch.Metric, error)
- type CredentialConfig
- type Dimension
- type Metric
- type MetricCache
- type Reader
- func (r *Reader) Close() error
- func (r *Reader) Gather() error
- func (r *Reader) Name() string
- func (r *Reader) ReadData() (Data, int64, error)
- func (r *Reader) ReadLine() (string, error)
- func (r *Reader) SetMode(mode string, v interface{}) error
- func (r *Reader) Source() string
- func (r *Reader) Start() error
- func (*Reader) SyncMeta()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectMetrics ¶
func SelectMetrics(c *Reader) ([]*cloudwatch.Metric, error)
Types ¶
type CredentialConfig ¶
type CredentialConfig struct { Region string AccessKey string SecretKey string RoleARN string Profile string Filename string Token string }
func (*CredentialConfig) Credentials ¶
func (c *CredentialConfig) Credentials() (client.ConfigProvider, error)
type MetricCache ¶
Click to show internal directories.
Click to hide internal directories.