Documentation ¶
Index ¶
- type DataPoint
- type DataPointInput
- type DatasourceInput
- type Instance
- type InstanceInput
- type LogInput
- type LogPayload
- type LogsIngestAPIResponse
- type MetricPayload
- type MetricsIngestAPIResponse
- type MetricsInput
- type ResourceInput
- type TraceIngestAPIResponse
- type TracesPayload
- type UpdatePropertiesPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPointInput ¶
type DatasourceInput ¶
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 LogsIngestAPIResponse ¶ added in v1.2.0
type LogsIngestAPIResponse 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 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"` IsCreate bool `json:"-"` }
type MetricsIngestAPIResponse ¶ added in v1.2.0
type MetricsInput ¶
type MetricsInput struct { Resource ResourceInput Datasource DatasourceInput Instance InstanceInput DataPoint DataPointInput }
type ResourceInput ¶
type TraceIngestAPIResponse ¶ added in v1.2.0
type TracesPayload ¶ added in v1.0.0
type UpdatePropertiesPayload ¶ added in v1.2.0
type UpdatePropertiesPayload 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.