Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorage ¶
NewStorage fuction for initialize InfluxDB Client
Types ¶
type Config ¶
type Config interface{}
Config is common interface of Monitoring Metric Storage Configuration
type Storage ¶
type Storage interface { Initialize() error WriteMetric(database string, metrics map[string]interface{}) error ReadMetric(info types.DBMetricRequestInfo) (interface{}, error) DeleteMetric(database string, metric string, duration string) error }
Storage is common interface of Monitoring Metric Storage
Click to show internal directories.
Click to hide internal directories.