Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthProvider ¶ added in v0.3.0
type DataPayload ¶ added in v0.6.0
type DataPayload struct { MetricBodyList []MetricPayload MetricResourceCreateList []MetricPayload LogBodyList []LogPayload UpdatePropertiesBody UpdateProperties }
type DataPointInput ¶
type DatasourceInput ¶
type DefaultAuthenticator ¶ added in v0.3.0
type DefaultAuthenticator struct { }
DefaultAuthenticator implements AuthProvider interface
func (DefaultAuthenticator) GetCredentials ¶ added in v0.3.0
func (da DefaultAuthenticator) GetCredentials(method, uri string, body []byte) string
type Instance ¶
type Instance struct { InstanceName string `json:"instanceName"` InstanceID int `json:"instanceId"` InstanceDisplayName string `json:"instanceDisplayName,omitempty"` InstanceGroup string `json:"instanceGroup,omitempty"` InstanceProperties map[string]string `json:"instanceProperties,omitempty"` DataPoints []DataPoint `json:"dataPoints"` }
type InstanceInput ¶
type LMIngest ¶ added in v0.6.0
type LMIngest interface { BatchInterval() time.Duration URI() string CreateRequestBody() DataPayload ExportData(body DataPayload, uri, method string) error }
type LogPayload ¶
type LogPayload map[string]interface{}
type MetricPayload ¶
type MetricPayload struct { ResourceName string `json:"resourceName"` ResourceDescription string `json:"resourceDescription,omitempty"` ResourceID map[string]string `json:"resourceIds"` ResourceProperties map[string]string `json:"resourceProperties,omitempty"` DataSourceName string `json:"dataSource"` DataSourceDisplayName string `json:"dataSourceDisplayName,omitempty"` DataSourceGroup string `json:"dataSourceGroup,omitempty"` DataSourceID int `json:"dataSourceId"` Instances []Instance `json:"instances"` }
type MetricsInput ¶
type MetricsInput struct { Resource ResourceInput Datasource DatasourceInput Instance InstanceInput DataPoint DataPointInput }
type ResourceInput ¶
type UpdateProperties ¶
type UpdateProperties struct { ResourceName string `json:"resourceName"` ResourceID map[string]string `json:"resourceIds"` ResourceProperties map[string]string `json:"resourceProperties"` DataSourceName string `json:"dataSource"` DataSourceDisplayName string `json:"dataSourceDisplayName,omitempty"` InstanceName string `json:"instanceName"` InstanceProperties map[string]string `json:"instanceProperties"` }
Click to show internal directories.
Click to hide internal directories.