Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPointInput ¶
type DatasourceInput ¶
type IngestResponse ¶ added in v1.0.0
type IngestResponse struct { StatusCode int `json:"statusCode"` Success bool `json:"success"` Message string `json:"message"` Error error `json:"error"` MultiStatus []struct { Code float64 `json:"code"` Error string `json:"error"` } `json:"multiStatus"` RequestID uuid.UUID `json:"requestId"` RetryAfter int `json:"retryAfter"` }
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 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 TracesPayload ¶ added in v1.0.0
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.