Documentation ¶
Index ¶
- type APIError
- type Configv1PageParams
- type Configv1PageResult
- type GenericError
- type MetricUsageOrderBy
- type MetricUsageQueryExecutionCountsByType
- func (m *MetricUsageQueryExecutionCountsByType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MetricUsageQueryExecutionCountsByType) MarshalBinary() ([]byte, error)
- func (m *MetricUsageQueryExecutionCountsByType) UnmarshalBinary(b []byte) error
- func (m *MetricUsageQueryExecutionCountsByType) Validate(formats strfmt.Registry) error
- type MetricUsageReferenceCountsByType
- func (m *MetricUsageReferenceCountsByType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MetricUsageReferenceCountsByType) MarshalBinary() ([]byte, error)
- func (m *MetricUsageReferenceCountsByType) UnmarshalBinary(b []byte) error
- func (m *MetricUsageReferenceCountsByType) Validate(formats strfmt.Registry) error
- type ProtobufAny
- type RuleEvaluationRuleType
- type Statev1ListMetricUsagesByLabelNameResponse
- func (m *Statev1ListMetricUsagesByLabelNameResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Statev1ListMetricUsagesByLabelNameResponse) MarshalBinary() ([]byte, error)
- func (m *Statev1ListMetricUsagesByLabelNameResponse) UnmarshalBinary(b []byte) error
- func (m *Statev1ListMetricUsagesByLabelNameResponse) Validate(formats strfmt.Registry) error
- type Statev1ListMetricUsagesByMetricNameResponse
- func (m *Statev1ListMetricUsagesByMetricNameResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Statev1ListMetricUsagesByMetricNameResponse) MarshalBinary() ([]byte, error)
- func (m *Statev1ListMetricUsagesByMetricNameResponse) UnmarshalBinary(b []byte) error
- func (m *Statev1ListMetricUsagesByMetricNameResponse) Validate(formats strfmt.Registry) error
- type Statev1ListRuleEvaluationsResponse
- func (m *Statev1ListRuleEvaluationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Statev1ListRuleEvaluationsResponse) MarshalBinary() ([]byte, error)
- func (m *Statev1ListRuleEvaluationsResponse) UnmarshalBinary(b []byte) error
- func (m *Statev1ListRuleEvaluationsResponse) Validate(formats strfmt.Registry) error
- type Statev1MetricUsage
- type Statev1MetricUsageByLabelName
- func (m *Statev1MetricUsageByLabelName) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Statev1MetricUsageByLabelName) MarshalBinary() ([]byte, error)
- func (m *Statev1MetricUsageByLabelName) UnmarshalBinary(b []byte) error
- func (m *Statev1MetricUsageByLabelName) Validate(formats strfmt.Registry) error
- type Statev1MetricUsageByMetricName
- func (m *Statev1MetricUsageByMetricName) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Statev1MetricUsageByMetricName) MarshalBinary() ([]byte, error)
- func (m *Statev1MetricUsageByMetricName) UnmarshalBinary(b []byte) error
- func (m *Statev1MetricUsageByMetricName) Validate(formats strfmt.Registry) error
- type Statev1MetricUsageOrder
- func (m *Statev1MetricUsageOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Statev1MetricUsageOrder) MarshalBinary() ([]byte, error)
- func (m *Statev1MetricUsageOrder) UnmarshalBinary(b []byte) error
- func (m *Statev1MetricUsageOrder) Validate(formats strfmt.Registry) error
- type Statev1RuleEvaluation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct { // An optional private error code whose values are undefined. Code int32 `json:"code,omitempty"` // An error message describing what went wrong. Message string `json:"message,omitempty"` }
APIError api error
swagger:model apiError
func (*APIError) ContextValidate ¶
ContextValidate validates this api error based on context it is used
func (*APIError) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Configv1PageParams ¶
type Configv1PageParams struct { // Page size preference (i.e. how many items are returned in the next // page). If zero, the server will use a default. Regardless of what size // is given, clients must never assume how many items will be returned. MaxSize int64 `json:"max_size,omitempty"` // Opaque page token identifying which page to request. An empty token // identifies the first page. Token string `json:"token,omitempty"` }
Configv1PageParams configv1 page params
swagger:model configv1PageParams
func (*Configv1PageParams) ContextValidate ¶
ContextValidate validates this configv1 page params based on context it is used
func (*Configv1PageParams) MarshalBinary ¶
func (m *Configv1PageParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configv1PageParams) UnmarshalBinary ¶
func (m *Configv1PageParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Configv1PageResult ¶
type Configv1PageResult struct { // Opaque page token which identifies the next page of items which the // client should request. An empty next_token indicates that there are no // more items to return. NextToken string `json:"next_token,omitempty"` }
Configv1PageResult configv1 page result
swagger:model configv1PageResult
func (*Configv1PageResult) ContextValidate ¶
ContextValidate validates this configv1 page result based on context it is used
func (*Configv1PageResult) MarshalBinary ¶
func (m *Configv1PageResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configv1PageResult) UnmarshalBinary ¶
func (m *Configv1PageResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenericError ¶
type GenericError interface{}
GenericError generic error
swagger:model genericError
type MetricUsageOrderBy ¶ added in v1.10.0
type MetricUsageOrderBy string
MetricUsageOrderBy metric usage order by
swagger:model MetricUsageOrderBy
const ( // MetricUsageOrderByVALUABLE captures enum value "VALUABLE" MetricUsageOrderByVALUABLE MetricUsageOrderBy = "VALUABLE" // MetricUsageOrderByDPPS captures enum value "DPPS" MetricUsageOrderByDPPS MetricUsageOrderBy = "DPPS" // MetricUsageOrderByUTILITY captures enum value "UTILITY" MetricUsageOrderByUTILITY MetricUsageOrderBy = "UTILITY" // MetricUsageOrderByREFERENCES captures enum value "REFERENCES" MetricUsageOrderByREFERENCES MetricUsageOrderBy = "REFERENCES" // MetricUsageOrderByEXECUTIONS captures enum value "EXECUTIONS" MetricUsageOrderByEXECUTIONS MetricUsageOrderBy = "EXECUTIONS" // MetricUsageOrderByUNIQUEVALUES captures enum value "UNIQUE_VALUES" MetricUsageOrderByUNIQUEVALUES MetricUsageOrderBy = "UNIQUE_VALUES" // MetricUsageOrderByUNIQUEUSERS captures enum value "UNIQUE_USERS" MetricUsageOrderByUNIQUEUSERS MetricUsageOrderBy = "UNIQUE_USERS" )
func NewMetricUsageOrderBy ¶ added in v1.10.0
func NewMetricUsageOrderBy(value MetricUsageOrderBy) *MetricUsageOrderBy
func (MetricUsageOrderBy) ContextValidate ¶ added in v1.10.0
ContextValidate validates this metric usage order by based on context it is used
func (MetricUsageOrderBy) Pointer ¶ added in v1.10.0
func (m MetricUsageOrderBy) Pointer() *MetricUsageOrderBy
Pointer returns a pointer to a freshly-allocated MetricUsageOrderBy.
type MetricUsageQueryExecutionCountsByType ¶ added in v1.10.0
type MetricUsageQueryExecutionCountsByType struct { // explorer Explorer int32 `json:"explorer,omitempty"` // dashboard Dashboard int32 `json:"dashboard,omitempty"` // external External int32 `json:"external,omitempty"` }
MetricUsageQueryExecutionCountsByType metric usage query execution counts by type
swagger:model MetricUsageQueryExecutionCountsByType
func (*MetricUsageQueryExecutionCountsByType) ContextValidate ¶ added in v1.10.0
func (m *MetricUsageQueryExecutionCountsByType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this metric usage query execution counts by type based on context it is used
func (*MetricUsageQueryExecutionCountsByType) MarshalBinary ¶ added in v1.10.0
func (m *MetricUsageQueryExecutionCountsByType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricUsageQueryExecutionCountsByType) UnmarshalBinary ¶ added in v1.10.0
func (m *MetricUsageQueryExecutionCountsByType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MetricUsageReferenceCountsByType ¶ added in v1.10.0
type MetricUsageReferenceCountsByType struct { // dashboards Dashboards int32 `json:"dashboards,omitempty"` // monitors Monitors int32 `json:"monitors,omitempty"` // recording rules RecordingRules int32 `json:"recording_rules,omitempty"` // drop rules DropRules int32 `json:"drop_rules,omitempty"` // aggregation rules AggregationRules int32 `json:"aggregation_rules,omitempty"` }
MetricUsageReferenceCountsByType metric usage reference counts by type
swagger:model MetricUsageReferenceCountsByType
func (*MetricUsageReferenceCountsByType) ContextValidate ¶ added in v1.10.0
func (m *MetricUsageReferenceCountsByType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this metric usage reference counts by type based on context it is used
func (*MetricUsageReferenceCountsByType) MarshalBinary ¶ added in v1.10.0
func (m *MetricUsageReferenceCountsByType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricUsageReferenceCountsByType) UnmarshalBinary ¶ added in v1.10.0
func (m *MetricUsageReferenceCountsByType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufAny ¶
type ProtobufAny struct { // at type AtType string `json:"@type,omitempty"` }
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RuleEvaluationRuleType ¶
type RuleEvaluationRuleType string
RuleEvaluationRuleType rule evaluation rule type
swagger:model RuleEvaluationRuleType
const ( // RuleEvaluationRuleTypeMONITOR captures enum value "MONITOR" RuleEvaluationRuleTypeMONITOR RuleEvaluationRuleType = "MONITOR" // RuleEvaluationRuleTypeRECORDING captures enum value "RECORDING" RuleEvaluationRuleTypeRECORDING RuleEvaluationRuleType = "RECORDING" )
func NewRuleEvaluationRuleType ¶
func NewRuleEvaluationRuleType(value RuleEvaluationRuleType) *RuleEvaluationRuleType
func (RuleEvaluationRuleType) ContextValidate ¶
ContextValidate validates this rule evaluation rule type based on context it is used
func (RuleEvaluationRuleType) Pointer ¶
func (m RuleEvaluationRuleType) Pointer() *RuleEvaluationRuleType
Pointer returns a pointer to a freshly-allocated RuleEvaluationRuleType.
type Statev1ListMetricUsagesByLabelNameResponse ¶ added in v1.10.0
type Statev1ListMetricUsagesByLabelNameResponse struct { // page Page *Configv1PageResult `json:"page,omitempty"` // usages Usages []*Statev1MetricUsageByLabelName `json:"usages"` }
Statev1ListMetricUsagesByLabelNameResponse statev1 list metric usages by label name response
swagger:model statev1ListMetricUsagesByLabelNameResponse
func (*Statev1ListMetricUsagesByLabelNameResponse) ContextValidate ¶ added in v1.10.0
func (m *Statev1ListMetricUsagesByLabelNameResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this statev1 list metric usages by label name response based on the context it is used
func (*Statev1ListMetricUsagesByLabelNameResponse) MarshalBinary ¶ added in v1.10.0
func (m *Statev1ListMetricUsagesByLabelNameResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1ListMetricUsagesByLabelNameResponse) UnmarshalBinary ¶ added in v1.10.0
func (m *Statev1ListMetricUsagesByLabelNameResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statev1ListMetricUsagesByMetricNameResponse ¶ added in v1.10.0
type Statev1ListMetricUsagesByMetricNameResponse struct { // page Page *Configv1PageResult `json:"page,omitempty"` // usages Usages []*Statev1MetricUsageByMetricName `json:"usages"` }
Statev1ListMetricUsagesByMetricNameResponse statev1 list metric usages by metric name response
swagger:model statev1ListMetricUsagesByMetricNameResponse
func (*Statev1ListMetricUsagesByMetricNameResponse) ContextValidate ¶ added in v1.10.0
func (m *Statev1ListMetricUsagesByMetricNameResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this statev1 list metric usages by metric name response based on the context it is used
func (*Statev1ListMetricUsagesByMetricNameResponse) MarshalBinary ¶ added in v1.10.0
func (m *Statev1ListMetricUsagesByMetricNameResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1ListMetricUsagesByMetricNameResponse) UnmarshalBinary ¶ added in v1.10.0
func (m *Statev1ListMetricUsagesByMetricNameResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statev1ListRuleEvaluationsResponse ¶
type Statev1ListRuleEvaluationsResponse struct { // page Page *Configv1PageResult `json:"page,omitempty"` // rule evaluations RuleEvaluations []*Statev1RuleEvaluation `json:"rule_evaluations"` }
Statev1ListRuleEvaluationsResponse statev1 list rule evaluations response
swagger:model statev1ListRuleEvaluationsResponse
func (*Statev1ListRuleEvaluationsResponse) ContextValidate ¶
func (m *Statev1ListRuleEvaluationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this statev1 list rule evaluations response based on the context it is used
func (*Statev1ListRuleEvaluationsResponse) MarshalBinary ¶
func (m *Statev1ListRuleEvaluationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1ListRuleEvaluationsResponse) UnmarshalBinary ¶
func (m *Statev1ListRuleEvaluationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statev1MetricUsage ¶ added in v1.10.0
type Statev1MetricUsage struct { // total references TotalReferences int32 `json:"total_references,omitempty"` // total query executions TotalQueryExecutions int32 `json:"total_query_executions,omitempty"` // total unique users TotalUniqueUsers int32 `json:"total_unique_users,omitempty"` // utility score UtilityScore float64 `json:"utility_score,omitempty"` // reference counts by type ReferenceCountsByType *MetricUsageReferenceCountsByType `json:"reference_counts_by_type,omitempty"` // query execution counts by type QueryExecutionCountsByType *MetricUsageQueryExecutionCountsByType `json:"query_execution_counts_by_type,omitempty"` }
Statev1MetricUsage statev1 metric usage
swagger:model statev1MetricUsage
func (*Statev1MetricUsage) ContextValidate ¶ added in v1.10.0
ContextValidate validate this statev1 metric usage based on the context it is used
func (*Statev1MetricUsage) MarshalBinary ¶ added in v1.10.0
func (m *Statev1MetricUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1MetricUsage) UnmarshalBinary ¶ added in v1.10.0
func (m *Statev1MetricUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statev1MetricUsageByLabelName ¶ added in v1.10.0
type Statev1MetricUsageByLabelName struct { // label name LabelName string `json:"label_name,omitempty"` // usage Usage *Statev1MetricUsage `json:"usage,omitempty"` // total unique values TotalUniqueValues int32 `json:"total_unique_values,omitempty"` // dpps Dpps float64 `json:"dpps,omitempty"` // Percent of persisted series observed to have the label name. // Returns in format: [0.0, 100.0] PercentOfSeriesWithLabelName float64 `json:"percent_of_series_with_label_name,omitempty"` }
Statev1MetricUsageByLabelName statev1 metric usage by label name
swagger:model statev1MetricUsageByLabelName
func (*Statev1MetricUsageByLabelName) ContextValidate ¶ added in v1.10.0
func (m *Statev1MetricUsageByLabelName) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this statev1 metric usage by label name based on the context it is used
func (*Statev1MetricUsageByLabelName) MarshalBinary ¶ added in v1.10.0
func (m *Statev1MetricUsageByLabelName) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1MetricUsageByLabelName) UnmarshalBinary ¶ added in v1.10.0
func (m *Statev1MetricUsageByLabelName) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statev1MetricUsageByMetricName ¶ added in v1.10.0
type Statev1MetricUsageByMetricName struct { // metric name MetricName string `json:"metric_name,omitempty"` // usage Usage *Statev1MetricUsage `json:"usage,omitempty"` // dpps Dpps float64 `json:"dpps,omitempty"` }
Statev1MetricUsageByMetricName statev1 metric usage by metric name
swagger:model statev1MetricUsageByMetricName
func (*Statev1MetricUsageByMetricName) ContextValidate ¶ added in v1.10.0
func (m *Statev1MetricUsageByMetricName) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this statev1 metric usage by metric name based on the context it is used
func (*Statev1MetricUsageByMetricName) MarshalBinary ¶ added in v1.10.0
func (m *Statev1MetricUsageByMetricName) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1MetricUsageByMetricName) UnmarshalBinary ¶ added in v1.10.0
func (m *Statev1MetricUsageByMetricName) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statev1MetricUsageOrder ¶ added in v1.10.0
type Statev1MetricUsageOrder struct { // ascending Ascending bool `json:"ascending,omitempty"` // by By MetricUsageOrderBy `json:"by,omitempty"` }
Statev1MetricUsageOrder statev1 metric usage order
swagger:model statev1MetricUsageOrder
func (*Statev1MetricUsageOrder) ContextValidate ¶ added in v1.10.0
func (m *Statev1MetricUsageOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this statev1 metric usage order based on the context it is used
func (*Statev1MetricUsageOrder) MarshalBinary ¶ added in v1.10.0
func (m *Statev1MetricUsageOrder) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1MetricUsageOrder) UnmarshalBinary ¶ added in v1.10.0
func (m *Statev1MetricUsageOrder) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statev1RuleEvaluation ¶
type Statev1RuleEvaluation struct { // Unique identifier of the rule. RuleSlug string `json:"rule_slug,omitempty"` // rule type RuleType RuleEvaluationRuleType `json:"rule_type,omitempty"` // Timestamp when the rule evaluation issues are detected. // Rule evaluations issues are aggregated over last 5 minute leading up to detected_at. // Format: date-time DetectedAt strfmt.DateTime `json:"detected_at,omitempty"` // The number of rule evaluation issues occurred over last 5 minutes. Count int32 `json:"count,omitempty"` // Detailed message related to rule evaluation issue. See "Admin > Evaluation failures" in the Chronosphere documentation for more information. Message string `json:"message,omitempty"` }
Statev1RuleEvaluation statev1 rule evaluation
swagger:model statev1RuleEvaluation
func (*Statev1RuleEvaluation) ContextValidate ¶
ContextValidate validate this statev1 rule evaluation based on the context it is used
func (*Statev1RuleEvaluation) MarshalBinary ¶
func (m *Statev1RuleEvaluation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1RuleEvaluation) UnmarshalBinary ¶
func (m *Statev1RuleEvaluation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- api_error.go
- configv1_page_params.go
- configv1_page_result.go
- generic_error.go
- metric_usage_order_by.go
- metric_usage_query_execution_counts_by_type.go
- metric_usage_reference_counts_by_type.go
- protobuf_any.go
- rule_evaluation_rule_type.go
- statev1_list_metric_usages_by_label_name_response.go
- statev1_list_metric_usages_by_metric_name_response.go
- statev1_list_rule_evaluations_response.go
- statev1_metric_usage.go
- statev1_metric_usage_by_label_name.go
- statev1_metric_usage_by_metric_name.go
- statev1_metric_usage_order.go
- statev1_rule_evaluation.go