Documentation
¶
Index ¶
- func AWSProcessorType() string
- func AlertmanagerProcessorType() string
- func CloudflareProcessorType() string
- func CustomJsonProcessorType() string
- func DataDogProcessorType() string
- func GitlabProcessorType() string
- func GoogleProcessorType() string
- func K8sProcessorType() string
- func RancherProcessorType() string
- func Site24x7ProcessorType() string
- type AWSProcessor
- type AWSRequest
- type AWSResponse
- type AlertmanagerProcessor
- type AlertmanagerResponse
- type CloudflareProcessor
- type CloudflareRequest
- type CloudflareResponse
- type CustomJsonProcessor
- type CustomJsonResponse
- type DataDogAlert
- type DataDogEvent
- type DataDogIncident
- type DataDogMetric
- type DataDogOrg
- type DataDogProcessor
- type DataDogRequest
- type DataDogResponse
- type DataDogSecurity
- type GitlabProcessor
- type GitlabResponse
- type GoogleCondition
- type GoogleConditionThreshold
- type GoogleIncident
- type GoogleMetadata
- type GoogleMetric
- type GoogleProcessor
- type GoogleRequest
- type GoogleResource
- type GoogleResponse
- type K8sData
- type K8sProcessor
- type K8sUser
- type RancherProcessor
- type Site24x7Processor
- type Site24x7Request
- type Site24x7Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AWSProcessorType ¶ added in v0.3.4
func AWSProcessorType() string
func AlertmanagerProcessorType ¶ added in v0.2.0
func AlertmanagerProcessorType() string
func CloudflareProcessorType ¶ added in v0.2.3
func CloudflareProcessorType() string
func CustomJsonProcessorType ¶ added in v0.2.0
func CustomJsonProcessorType() string
func DataDogProcessorType ¶ added in v0.2.2
func DataDogProcessorType() string
func GitlabProcessorType ¶ added in v0.2.0
func GitlabProcessorType() string
func GoogleProcessorType ¶ added in v0.2.4
func GoogleProcessorType() string
func K8sProcessorType ¶ added in v0.2.0
func K8sProcessorType() string
func RancherProcessorType ¶ added in v0.2.0
func RancherProcessorType() string
func Site24x7ProcessorType ¶ added in v0.2.3
func Site24x7ProcessorType() string
Types ¶
type AWSProcessor ¶ added in v0.3.4
type AWSProcessor struct {
// contains filtered or unexported fields
}
func NewAWSProcessor ¶ added in v0.3.4
func NewAWSProcessor(outputs *common.Outputs, observability *common.Observability) *AWSProcessor
func (*AWSProcessor) EventType ¶ added in v0.3.4
func (p *AWSProcessor) EventType() string
func (*AWSProcessor) HandleEvent ¶ added in v0.3.4
func (p *AWSProcessor) HandleEvent(e *common.Event)
func (*AWSProcessor) HandleHttpRequest ¶ added in v0.3.4
func (p *AWSProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type AWSRequest ¶ added in v0.3.4
type AWSResponse ¶ added in v0.3.4
type AWSResponse struct {
Message string
}
type AlertmanagerProcessor ¶
type AlertmanagerProcessor struct {
// contains filtered or unexported fields
}
func NewAlertmanagerProcessor ¶
func NewAlertmanagerProcessor(outputs *common.Outputs, observability *common.Observability) *AlertmanagerProcessor
func (*AlertmanagerProcessor) EventType ¶ added in v0.2.0
func (p *AlertmanagerProcessor) EventType() string
func (*AlertmanagerProcessor) HandleEvent ¶ added in v0.2.0
func (p *AlertmanagerProcessor) HandleEvent(e *common.Event)
func (*AlertmanagerProcessor) HandleHttpRequest ¶
func (p *AlertmanagerProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type AlertmanagerResponse ¶
type AlertmanagerResponse struct {
Message string
}
type CloudflareProcessor ¶ added in v0.2.3
type CloudflareProcessor struct {
// contains filtered or unexported fields
}
func NewCloudflareProcessor ¶ added in v0.2.3
func NewCloudflareProcessor(outputs *common.Outputs, observability *common.Observability) *CloudflareProcessor
func (*CloudflareProcessor) EventType ¶ added in v0.2.3
func (p *CloudflareProcessor) EventType() string
func (*CloudflareProcessor) HandleEvent ¶ added in v0.2.3
func (p *CloudflareProcessor) HandleEvent(e *common.Event)
func (*CloudflareProcessor) HandleHttpRequest ¶ added in v0.2.3
func (p *CloudflareProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type CloudflareRequest ¶ added in v0.2.3
type CloudflareRequest struct {
Text string `json:"text"`
}
type CloudflareResponse ¶ added in v0.2.3
type CloudflareResponse struct {
Message string
}
type CustomJsonProcessor ¶ added in v0.1.0
type CustomJsonProcessor struct {
// contains filtered or unexported fields
}
func NewCustomJsonProcessor ¶ added in v0.1.0
func NewCustomJsonProcessor(outputs *common.Outputs, observability *common.Observability) *CustomJsonProcessor
func (*CustomJsonProcessor) EventType ¶ added in v0.2.0
func (p *CustomJsonProcessor) EventType() string
func (*CustomJsonProcessor) HandleEvent ¶ added in v0.2.0
func (p *CustomJsonProcessor) HandleEvent(e *common.Event)
func (*CustomJsonProcessor) HandleHttpRequest ¶ added in v0.1.0
func (p *CustomJsonProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type CustomJsonResponse ¶ added in v0.1.0
type CustomJsonResponse struct {
Message string
}
type DataDogAlert ¶ added in v0.2.3
type DataDogAlert struct {
ID string `json:"id"`
Metric string `json:"metric"`
Priority string `json:"priority"`
Query string `json:"query"`
Scope string `json:"scope,omitempty"`
Status string `json:"status"`
Title string `json:"title"`
Transition string `json:"transition"`
Type string `json:"type"`
}
type DataDogEvent ¶ added in v0.2.3
type DataDogIncident ¶ added in v0.2.3
type DataDogIncident struct {
Title string `json:"title"`
}
type DataDogMetric ¶ added in v0.2.3
type DataDogMetric struct {
Namespace string `json:"namespace"`
}
type DataDogOrg ¶ added in v0.2.3
type DataDogProcessor ¶ added in v0.2.2
type DataDogProcessor struct {
// contains filtered or unexported fields
}
func NewDataDogProcessor ¶ added in v0.2.2
func NewDataDogProcessor(outputs *common.Outputs, observability *common.Observability) *DataDogProcessor
func (*DataDogProcessor) EventType ¶ added in v0.2.2
func (p *DataDogProcessor) EventType() string
func (*DataDogProcessor) HandleEvent ¶ added in v0.2.2
func (p *DataDogProcessor) HandleEvent(e *common.Event)
func (*DataDogProcessor) HandleHttpRequest ¶ added in v0.2.2
func (p *DataDogProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type DataDogRequest ¶ added in v0.2.3
type DataDogRequest struct {
ID string `json:"id"`
Date int64 `json:"date"`
LastUpdated int64 `json:"last_updated"`
Link string `json:"link"`
Priority string `json:"priority"`
Snapshot string `json:"snapshot"`
Event *DataDogEvent `json:"event"`
Alert *DataDogAlert `json:"alert,omitempty"`
Incident *DataDogIncident `json:"incident,omitempty"`
Metric *DataDogMetric `json:"metric,omitempty"`
Security *DataDogSecurity `json:"security,omitempty"`
Org *DataDogOrg `json:"org,omitempty"`
Tags string `json:"tags,omitempty"`
TextOnlyMsg string `json:"text_only_msg,omitempty"`
User string `json:"user,omitempty"`
UserName string `json:"username,omitempty"`
}
type DataDogResponse ¶ added in v0.2.2
type DataDogResponse struct {
Message string
}
type DataDogSecurity ¶ added in v0.2.3
type DataDogSecurity struct {
RuleName string `json:"rule_name"`
}
type GitlabProcessor ¶ added in v0.1.0
type GitlabProcessor struct {
// contains filtered or unexported fields
}
func NewGitlabProcessor ¶ added in v0.1.0
func NewGitlabProcessor(outputs *common.Outputs, observability *common.Observability) *GitlabProcessor
func (*GitlabProcessor) EventType ¶ added in v0.2.0
func (p *GitlabProcessor) EventType() string
func (*GitlabProcessor) HandleEvent ¶ added in v0.2.0
func (p *GitlabProcessor) HandleEvent(e *common.Event)
func (*GitlabProcessor) HandleHttpRequest ¶ added in v0.1.0
func (p *GitlabProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type GitlabResponse ¶ added in v0.1.0
type GitlabResponse struct {
Message string
}
type GoogleCondition ¶ added in v0.2.4
type GoogleCondition struct {
Name string `json:"name"`
DisplayName string `json:"displayName"`
ConditionThreshold *GoogleConditionThreshold `json:"conditionThreshold"`
}
type GoogleConditionThreshold ¶ added in v0.2.4
type GoogleIncident ¶ added in v0.2.4
type GoogleIncident struct {
IncidentID string `json:"incident_id"`
ScopingProjectID string `json:"scoping_project_id"`
ScopingProjectNumber string `json:"scoping_project_number"`
URL string `json:"url"`
StartedAt int64 `json:"started_at"`
EndedAt int64 `json:"ended_at,omitempty"`
State string `json:"state"`
Summary string `json:"summary"`
ApigeeURL string `json:"apigee_url"`
ObservedValue string `json:"observed_value"`
Resource *GoogleResource `json:"resource"`
ResourceTypeDisplayName string `json:"resource_type_display_name"`
ResourceID string `json:"resource_id"`
ResourceDisplayName string `json:"resource_display_name"`
ResourceName string `json:"resource_name"`
Metric *GoogleMetric `json:"metric"`
Metadata *GoogleMetadata `json:"metadata"`
PolicyName string `json:"policy_name"`
PolicyUserLabels map[string]string `json:"policy_user_labels"`
Documentation string `json:"documentation"`
Condition *GoogleCondition `json:"condition"`
ConditionName string `json:"condition_name"`
ThresholdValue string `json:"threshold_value"`
}
type GoogleMetadata ¶ added in v0.2.4
type GoogleMetric ¶ added in v0.2.4
type GoogleProcessor ¶ added in v0.2.4
type GoogleProcessor struct {
// contains filtered or unexported fields
}
func NewGoogleProcessor ¶ added in v0.2.4
func NewGoogleProcessor(outputs *common.Outputs, observability *common.Observability) *GoogleProcessor
func (*GoogleProcessor) EventType ¶ added in v0.2.4
func (p *GoogleProcessor) EventType() string
func (*GoogleProcessor) HandleEvent ¶ added in v0.2.4
func (p *GoogleProcessor) HandleEvent(e *common.Event)
func (*GoogleProcessor) HandleHttpRequest ¶ added in v0.2.4
func (p *GoogleProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type GoogleRequest ¶ added in v0.2.4
type GoogleRequest struct {
Version string `json:"version"`
Incident *GoogleIncident `json:"incident"`
}
type GoogleResource ¶ added in v0.2.4
type GoogleResponse ¶ added in v0.2.4
type GoogleResponse struct {
Message string
}
type K8sProcessor ¶
type K8sProcessor struct {
// contains filtered or unexported fields
}
func NewK8sProcessor ¶
func NewK8sProcessor(outputs *common.Outputs, observability *common.Observability) *K8sProcessor
func (*K8sProcessor) EventType ¶ added in v0.2.0
func (p *K8sProcessor) EventType() string
func (*K8sProcessor) HandleEvent ¶ added in v0.2.0
func (p *K8sProcessor) HandleEvent(e *common.Event)
func (*K8sProcessor) HandleHttpRequest ¶
func (p *K8sProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type RancherProcessor ¶
type RancherProcessor struct {
// contains filtered or unexported fields
}
func NewRancherProcessor ¶
func NewRancherProcessor(outputs *common.Outputs, observability *common.Observability) *RancherProcessor
func (*RancherProcessor) EventType ¶ added in v0.2.0
func (p *RancherProcessor) EventType() string
func (*RancherProcessor) HandleEvent ¶ added in v0.2.0
func (p *RancherProcessor) HandleEvent(e *common.Event)
func (*RancherProcessor) HandleHttpRequest ¶
func (p *RancherProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type Site24x7Processor ¶ added in v0.2.3
type Site24x7Processor struct {
// contains filtered or unexported fields
}
func NewSite24x7Processor ¶ added in v0.2.3
func NewSite24x7Processor(outputs *common.Outputs, observability *common.Observability) *Site24x7Processor
func (*Site24x7Processor) EventType ¶ added in v0.2.3
func (p *Site24x7Processor) EventType() string
func (*Site24x7Processor) HandleEvent ¶ added in v0.2.3
func (p *Site24x7Processor) HandleEvent(e *common.Event)
func (*Site24x7Processor) HandleHttpRequest ¶ added in v0.2.3
func (p *Site24x7Processor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)
type Site24x7Request ¶ added in v0.2.3
type Site24x7Request struct {
MonitorID int64 `json:"MONITOR_ID"`
MonitorDashboardLink string `json:"MONITOR_DASHBOARD_LINK"`
MonitorType string `json:"MONITORTYPE"`
MonitorName string `json:"MONITORNAME"`
MonitorURL string `json:"MONITORURL"`
MonitorGroupName string `json:"MONITOR_GROUPNAME"`
IncidentReason string `json:"INCIDENT_REASON"`
IncidentTime string `json:"INCIDENT_TIME"`
IncidentTimeISO string `json:"INCIDENT_TIME_ISO"`
PollFrequency int `json:"POLLFREQUENCY"`
Status string `json:"STATUS"`
FailedLocations string `json:"FAILED_LOCATIONS"`
GroupTags []string `json:"GROUP_TAGS,omitempty"`
Tags []string `json:"TAGS,omitempty"`
}
type Site24x7Response ¶ added in v0.2.3
type Site24x7Response struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.