Skip to content

Commit

Permalink
detector: extend detector model with detectorOrigin and parentDetecto…
Browse files Browse the repository at this point in the history
…rId fields
  • Loading branch information
dwalasek committed Jul 2, 2024
1 parent 43123c7 commit d62a9f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions detector/model_detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,8 @@ type Detector struct {
Teams []string `json:"teams"`
// Options that control the appearance of a detector in the SignalFx web UI.
VisualizationOptions *Visualization `json:"visualizationOptions,omitempty"`
// ID of the parent detector from which this detector is customized and created. This property is required for detectors with detectorOrigin of type AutoDetectCustomization.
ParentDetectorId string `json:"parentDetectorId,omitempty"`
// Indicates how a detector was created. The possible values are: Standard, AutoDetect, AutoDetectCustomization.You can only use Standard or AutoDetectCustomization to create custom detectors.
DetectorOrigin string `json:"detectorOrigin,omitempty"`
}

0 comments on commit d62a9f3

Please sign in to comment.