Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertMutingRule ¶
type AlertMutingRule struct { // The time the alerting muting rule was created, in Unix time UTC-relative. **This property is read-only; it's always set by the system.** Created int64 `json:"created,omitempty"` // SignalFx user ID of the alert muting rule creator, in the form of a JSON string. **This property is read-only; it's always set by the system.** Creator string `json:"creator,omitempty"` // Description of the rule. **read/write** Description string `json:"description,omitempty"` // List of alert muting filters for this rule, in the form of a JSON array of alert muting filter objects. Each object is a set of conditions for an alert muting rule. Each object property (name-value pair) specifies a dimension or custom property to match to alert events. **read/write** Filters []*AlertMutingRuleFilter `json:"filters,omitempty"` // SignalFx-assigned ID of an alert muting rule, in the form of a JSON string. **This property is read-only; it's always set by the system.** Id string `json:"id,omitempty"` // The last time the alert muting rule was last updated, in Unix time UTC-relative. **This property is read-only; it's always set by the system.** LastUpdated int64 `json:"lastUpdated,omitempty"` // The SignalFx-assigned user ID of the last user who updated the alert muting rule, in the form of a JSON string. If the system made the last update, the value is \"AAAAAAAAAA\". **This property is read-only; it's always set by the system.** LastUpdatedBy string `json:"lastUpdatedBy,omitempty"` // Starting time of an alert muting rule, in Unix time format UTC. If not specified, defaults to the current time. **read/write**. StartTime int64 `json:"startTime,omitempty"` // Stop time of an alert muting rule, in Unix time format UTC. If set to 0, detectors that match this rule are muted indefinitely. The default value is 0. **read/write** StopTime int64 `json:"stopTime,omitempty"` }
Properties of an alert muting rule, in the form of a JSON object. **NOTE:** You can't create or update properties marked read-only. You receive read-only properties in response bodies for the following: * **GET** `/alertmuting` * **POST** `/alertmuting` * **GET** `/alertmuting/{id}` * **PUT** `/alertmuting/{id}`
type AlertMutingRuleFilter ¶
type AlertMutingRuleFilter struct { NOT bool `json:"NOT,omitempty"` Property string `json:"property,omitempty"` PropertyValue string `json:"propertyValue,omitempty"` }
Properties of an alert muting rule, in the form of a JSON object. **NOTE:** You can't create or update properties marked read-only. You receive read-only properties in response bodies for the following: * **GET** `/alertmuting` * **POST** `/alertmuting` * **GET** `/alertmuting/{id}` * **PUT** `/alertmuting/{id}`
type CreateUpdateAlertMutingRuleRequest ¶
type CreateUpdateAlertMutingRuleRequest struct { // Description of the rule. **read/write** Description string `json:"description,omitempty"` // List of alert muting filters for this rule, in the form of a JSON array of alert muting filter objects. Each object is a set of conditions for an alert muting rule. Each object property (name-value pair) specifies a dimension or custom property to match to alert events. **read/write** Filters []*AlertMutingRuleFilter `json:"filters,omitempty"` // Starting time of an alert muting rule, in Unix time format UTC. If not specified, defaults to the current time. **read/write**. StartTime int64 `json:"startTime,omitempty"` // Stop time of an alert muting rule, in Unix time format UTC. If set to 0, detectors that match this rule are muted indefinitely. The default value is 0. **read/write** StopTime int64 `json:"stopTime,omitempty"` }
Properties of an alert muting rule, in the form of a JSON object. **NOTE:** You can't create or update properties marked read-only. You receive read-only properties in response bodies for the following: * **GET** `/alertmuting` * **POST** `/alertmuting` * **GET** `/alertmuting/{id}` * **PUT** `/alertmuting/{id}`
type SearchResult ¶
type SearchResult struct { Count int32 `json:"count,omitempty"` Results []AlertMutingRule `json:"results,omitempty"` }
SearchResult is an object containing the query results