Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Measures = struct { Attribute Measure Occurrence Measure }{ "ATTRIBUTE", "OCCURRENCE", }
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Dimensions []string `json:"dimensions,omitempty"` // To enable splitting on your metric, add desired dimensions.\n\nYou can select a dimension name from the list or set it to any value. To extract fields from logs, you can use [log processing](builtin:logmonitoring.log-dpp-rules). Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) Key string `json:"key"` // Metric key Measure Measure `json:"measure"` // Possible Values: `OCCURRENCE`, `ATTRIBUTE` MeasureAttribute *string `json:"measureAttribute,omitempty"` // Attribute Query string `json:"query"` // Matcher }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.