Documentation
¶
Index ¶
- Variables
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type AIIssue
- type AIIssueEvent
- type Action
- func (o *Action) GetEmailDestination() ActionEmailDestination
- func (o *Action) GetEmailDestinationOk() (*ActionEmailDestination, bool)
- func (o *Action) GetPagerDutyDestination() ActionPagerDutyDestination
- func (o *Action) GetPagerDutyDestinationOk() (*ActionPagerDutyDestination, bool)
- func (o *Action) GetSlackDestination() ActionSlackDestination
- func (o *Action) GetSlackDestinationOk() (*ActionSlackDestination, bool)
- func (o *Action) GetType() string
- func (o *Action) GetTypeOk() (*string, bool)
- func (o *Action) GetWebhookDestination() ActionWebhookDestination
- func (o *Action) GetWebhookDestinationOk() (*ActionWebhookDestination, bool)
- func (o *Action) HasEmailDestination() bool
- func (o *Action) HasPagerDutyDestination() bool
- func (o *Action) HasSlackDestination() bool
- func (o *Action) HasWebhookDestination() bool
- func (o Action) MarshalJSON() ([]byte, error)
- func (o *Action) SetEmailDestination(v ActionEmailDestination)
- func (o *Action) SetPagerDutyDestination(v ActionPagerDutyDestination)
- func (o *Action) SetSlackDestination(v ActionSlackDestination)
- func (o *Action) SetType(v string)
- func (o *Action) SetWebhookDestination(v ActionWebhookDestination)
- func (o Action) ToMap() (map[string]interface{}, error)
- func (o *Action) UnmarshalJSON(data []byte) (err error)
- type ActionEmailDestination
- func (o *ActionEmailDestination) GetEmails() []string
- func (o *ActionEmailDestination) GetEmailsOk() ([]string, bool)
- func (o *ActionEmailDestination) GetNotifyOnResolve() bool
- func (o *ActionEmailDestination) GetNotifyOnResolveOk() (*bool, bool)
- func (o *ActionEmailDestination) HasEmails() bool
- func (o *ActionEmailDestination) HasNotifyOnResolve() bool
- func (o ActionEmailDestination) MarshalJSON() ([]byte, error)
- func (o *ActionEmailDestination) SetEmails(v []string)
- func (o *ActionEmailDestination) SetNotifyOnResolve(v bool)
- func (o ActionEmailDestination) ToMap() (map[string]interface{}, error)
- type ActionPagerDutyDestination
- func (o *ActionPagerDutyDestination) GetServiceId() string
- func (o *ActionPagerDutyDestination) GetServiceIdOk() (*string, bool)
- func (o *ActionPagerDutyDestination) GetServiceName() string
- func (o *ActionPagerDutyDestination) GetServiceNameOk() (*string, bool)
- func (o *ActionPagerDutyDestination) HasServiceId() bool
- func (o *ActionPagerDutyDestination) HasServiceName() bool
- func (o ActionPagerDutyDestination) MarshalJSON() ([]byte, error)
- func (o *ActionPagerDutyDestination) SetServiceId(v string)
- func (o *ActionPagerDutyDestination) SetServiceName(v string)
- func (o ActionPagerDutyDestination) ToMap() (map[string]interface{}, error)
- type ActionSlackDestination
- func (o *ActionSlackDestination) GetChannel() string
- func (o *ActionSlackDestination) GetChannelOk() (*string, bool)
- func (o *ActionSlackDestination) GetNotifyOnResolve() bool
- func (o *ActionSlackDestination) GetNotifyOnResolveOk() (*bool, bool)
- func (o *ActionSlackDestination) HasChannel() bool
- func (o *ActionSlackDestination) HasNotifyOnResolve() bool
- func (o ActionSlackDestination) MarshalJSON() ([]byte, error)
- func (o *ActionSlackDestination) SetChannel(v string)
- func (o *ActionSlackDestination) SetNotifyOnResolve(v bool)
- func (o ActionSlackDestination) ToMap() (map[string]interface{}, error)
- type ActionWebhookDestination
- func (o *ActionWebhookDestination) GetName() string
- func (o *ActionWebhookDestination) GetNameOk() (*string, bool)
- func (o *ActionWebhookDestination) GetResolvedName() string
- func (o *ActionWebhookDestination) GetResolvedNameOk() (*string, bool)
- func (o *ActionWebhookDestination) GetResolvedUuid() string
- func (o *ActionWebhookDestination) GetResolvedUuidOk() (*string, bool)
- func (o *ActionWebhookDestination) GetUuid() string
- func (o *ActionWebhookDestination) GetUuidOk() (*string, bool)
- func (o *ActionWebhookDestination) HasName() bool
- func (o *ActionWebhookDestination) HasResolvedName() bool
- func (o *ActionWebhookDestination) HasResolvedUuid() bool
- func (o *ActionWebhookDestination) HasUuid() bool
- func (o ActionWebhookDestination) MarshalJSON() ([]byte, error)
- func (o *ActionWebhookDestination) SetName(v string)
- func (o *ActionWebhookDestination) SetResolvedName(v string)
- func (o *ActionWebhookDestination) SetResolvedUuid(v string)
- func (o *ActionWebhookDestination) SetUuid(v string)
- func (o ActionWebhookDestination) ToMap() (map[string]interface{}, error)
- type Aggregation
- type Alert
- func (o *Alert) GetMetadata() MetadataObject
- func (o *Alert) GetMetadataOk() (*MetadataObject, bool)
- func (o *Alert) GetTimeseries() TimeseriesConfig
- func (o *Alert) GetTimeseriesOk() (*TimeseriesConfig, bool)
- func (o *Alert) GetType() AlertType
- func (o *Alert) GetTypeOk() (*AlertType, bool)
- func (o *Alert) HasType() bool
- func (o Alert) MarshalJSON() ([]byte, error)
- func (o *Alert) SetMetadata(v MetadataObject)
- func (o *Alert) SetTimeseries(v TimeseriesConfig)
- func (o *Alert) SetType(v AlertType)
- func (o Alert) ToMap() (map[string]interface{}, error)
- func (o *Alert) UnmarshalJSON(data []byte) (err error)
- type AlertType
- type ChartType
- type Condition
- func (o *Condition) GetActions() []Action
- func (o *Condition) GetActionsOk() ([]Action, bool)
- func (o *Condition) GetName() string
- func (o *Condition) GetNameOk() (*string, bool)
- func (o *Condition) GetStatic() StaticCondition
- func (o *Condition) GetStaticOk() (*StaticCondition, bool)
- func (o *Condition) GetType() ConditionType
- func (o *Condition) GetTypeOk() (*ConditionType, bool)
- func (o *Condition) HasActions() bool
- func (o *Condition) HasStatic() bool
- func (o *Condition) HasType() bool
- func (o Condition) MarshalJSON() ([]byte, error)
- func (o *Condition) SetActions(v []Action)
- func (o *Condition) SetName(v string)
- func (o *Condition) SetStatic(v StaticCondition)
- func (o *Condition) SetType(v ConditionType)
- func (o Condition) ToMap() (map[string]interface{}, error)
- func (o *Condition) UnmarshalJSON(data []byte) (err error)
- type ConditionType
- type CreateAIIssueRequest
- type CreateInvestigationRequest
- type CreateUpdateAlertRequest
- func (o *CreateUpdateAlertRequest) GetAlert() Alert
- func (o *CreateUpdateAlertRequest) GetAlertOk() (*Alert, bool)
- func (o CreateUpdateAlertRequest) MarshalJSON() ([]byte, error)
- func (o *CreateUpdateAlertRequest) SetAlert(v Alert)
- func (o CreateUpdateAlertRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateUpdateAlertRequest) UnmarshalJSON(data []byte) (err error)
- type ExpressionConfig
- func (o *ExpressionConfig) GetMetoroQLTimeseries() MetoroQlTimeseries
- func (o *ExpressionConfig) GetMetoroQLTimeseriesOk() (*MetoroQlTimeseries, bool)
- func (o *ExpressionConfig) HasMetoroQLTimeseries() bool
- func (o ExpressionConfig) MarshalJSON() ([]byte, error)
- func (o *ExpressionConfig) SetMetoroQLTimeseries(v MetoroQlTimeseries)
- func (o ExpressionConfig) ToMap() (map[string]interface{}, error)
- type ExpressionConfigFiltersInner
- func (o *ExpressionConfigFiltersInner) GetKey() string
- func (o *ExpressionConfigFiltersInner) GetKeyOk() (*string, bool)
- func (o *ExpressionConfigFiltersInner) GetOperator() string
- func (o *ExpressionConfigFiltersInner) GetOperatorOk() (*string, bool)
- func (o *ExpressionConfigFiltersInner) GetValue() []string
- func (o *ExpressionConfigFiltersInner) GetValueOk() ([]string, bool)
- func (o *ExpressionConfigFiltersInner) HasKey() bool
- func (o *ExpressionConfigFiltersInner) HasOperator() bool
- func (o *ExpressionConfigFiltersInner) HasValue() bool
- func (o ExpressionConfigFiltersInner) MarshalJSON() ([]byte, error)
- func (o *ExpressionConfigFiltersInner) SetKey(v string)
- func (o *ExpressionConfigFiltersInner) SetOperator(v string)
- func (o *ExpressionConfigFiltersInner) SetValue(v []string)
- func (o ExpressionConfigFiltersInner) ToMap() (map[string]interface{}, error)
- type ExpressionConfigMetoroTimeseriesDefinition
- func (o *ExpressionConfigMetoroTimeseriesDefinition) GetFormula() string
- func (o *ExpressionConfigMetoroTimeseriesDefinition) GetFormulaOk() (*string, bool)
- func (o *ExpressionConfigMetoroTimeseriesDefinition) GetTimeseriesSpecifiers() []TimeseriesSpecifier
- func (o *ExpressionConfigMetoroTimeseriesDefinition) GetTimeseriesSpecifiersOk() ([]TimeseriesSpecifier, bool)
- func (o *ExpressionConfigMetoroTimeseriesDefinition) HasFormula() bool
- func (o *ExpressionConfigMetoroTimeseriesDefinition) HasTimeseriesSpecifiers() bool
- func (o ExpressionConfigMetoroTimeseriesDefinition) MarshalJSON() ([]byte, error)
- func (o *ExpressionConfigMetoroTimeseriesDefinition) SetFormula(v string)
- func (o *ExpressionConfigMetoroTimeseriesDefinition) SetTimeseriesSpecifiers(v []TimeseriesSpecifier)
- func (o ExpressionConfigMetoroTimeseriesDefinition) ToMap() (map[string]interface{}, error)
- type Formula
- type FunctionType
- type FuzzyMetricsRequest
- type GetAIIssueResponse
- type GetAllNodesRequest
- type GetAttributeKeysResponse
- type GetAttributeValuesRequest
- type GetK8sEventMetricsRequest
- type GetK8sEventsRequest
- type GetKubernetesResourceRequest
- type GetLogMetricRequest
- type GetLogsRequest
- type GetLogsResponse
- type GetMetricAttributesRequest
- type GetMetricNamesResponse
- type GetMetricRequest
- type GetMultiMetricRequest
- type GetPodsRequest
- type GetProfileRequest
- type GetServiceSummariesRequest
- type GetSingleK8sEventSummaryRequest
- type GetSingleLogSummaryRequest
- type GetSingleTraceSummaryRequest
- type GetTraceMetricRequest
- type GetTracesRequest
- type GetTracesResponse
- type GroupWidget
- type Link
- type ListAIIssueEventsResponse
- type ListAIIssuesResponse
- type Log
- type LogSummaryRequest
- type MappedNullable
- type MarkdownWidget
- type MathExpression
- type MetadataObject
- func (o *MetadataObject) GetDescription() string
- func (o *MetadataObject) GetDescriptionOk() (*string, bool)
- func (o *MetadataObject) GetId() string
- func (o *MetadataObject) GetIdOk() (*string, bool)
- func (o *MetadataObject) GetName() string
- func (o *MetadataObject) GetNameOk() (*string, bool)
- func (o *MetadataObject) HasDescription() bool
- func (o MetadataObject) MarshalJSON() ([]byte, error)
- func (o *MetadataObject) SetDescription(v string)
- func (o *MetadataObject) SetId(v string)
- func (o *MetadataObject) SetName(v string)
- func (o MetadataObject) ToMap() (map[string]interface{}, error)
- func (o *MetadataObject) UnmarshalJSON(data []byte) (err error)
- type MetoroQlTimeseries
- func (o *MetoroQlTimeseries) GetBucketSize() int64
- func (o *MetoroQlTimeseries) GetBucketSizeOk() (*int64, bool)
- func (o *MetoroQlTimeseries) GetQuery() string
- func (o *MetoroQlTimeseries) GetQueryOk() (*string, bool)
- func (o MetoroQlTimeseries) MarshalJSON() ([]byte, error)
- func (o *MetoroQlTimeseries) SetBucketSize(v int64)
- func (o *MetoroQlTimeseries) SetQuery(v string)
- func (o MetoroQlTimeseries) ToMap() (map[string]interface{}, error)
- func (o *MetoroQlTimeseries) UnmarshalJSON(data []byte) (err error)
- type MetricAttributesRequest
- type MetricChartWidget
- type MetricFunction
- type MetricSpecifier
- type MetricSpecifierToMetoroQLResponse
- type MetricSpecifiersRequest
- type MetricType
- type MultiMetricAttributeKeysRequest
- type NullableAction
- type NullableActionEmailDestination
- func (v NullableActionEmailDestination) Get() *ActionEmailDestination
- func (v NullableActionEmailDestination) IsSet() bool
- func (v NullableActionEmailDestination) MarshalJSON() ([]byte, error)
- func (v *NullableActionEmailDestination) Set(val *ActionEmailDestination)
- func (v *NullableActionEmailDestination) UnmarshalJSON(src []byte) error
- func (v *NullableActionEmailDestination) Unset()
- type NullableActionPagerDutyDestination
- func (v NullableActionPagerDutyDestination) Get() *ActionPagerDutyDestination
- func (v NullableActionPagerDutyDestination) IsSet() bool
- func (v NullableActionPagerDutyDestination) MarshalJSON() ([]byte, error)
- func (v *NullableActionPagerDutyDestination) Set(val *ActionPagerDutyDestination)
- func (v *NullableActionPagerDutyDestination) UnmarshalJSON(src []byte) error
- func (v *NullableActionPagerDutyDestination) Unset()
- type NullableActionSlackDestination
- func (v NullableActionSlackDestination) Get() *ActionSlackDestination
- func (v NullableActionSlackDestination) IsSet() bool
- func (v NullableActionSlackDestination) MarshalJSON() ([]byte, error)
- func (v *NullableActionSlackDestination) Set(val *ActionSlackDestination)
- func (v *NullableActionSlackDestination) UnmarshalJSON(src []byte) error
- func (v *NullableActionSlackDestination) Unset()
- type NullableActionWebhookDestination
- func (v NullableActionWebhookDestination) Get() *ActionWebhookDestination
- func (v NullableActionWebhookDestination) IsSet() bool
- func (v NullableActionWebhookDestination) MarshalJSON() ([]byte, error)
- func (v *NullableActionWebhookDestination) Set(val *ActionWebhookDestination)
- func (v *NullableActionWebhookDestination) UnmarshalJSON(src []byte) error
- func (v *NullableActionWebhookDestination) Unset()
- type NullableAlert
- type NullableAlertType
- type NullableBool
- type NullableCondition
- type NullableConditionType
- func (v NullableConditionType) Get() *ConditionType
- func (v NullableConditionType) IsSet() bool
- func (v NullableConditionType) MarshalJSON() ([]byte, error)
- func (v *NullableConditionType) Set(val *ConditionType)
- func (v *NullableConditionType) UnmarshalJSON(src []byte) error
- func (v *NullableConditionType) Unset()
- type NullableCreateUpdateAlertRequest
- func (v NullableCreateUpdateAlertRequest) Get() *CreateUpdateAlertRequest
- func (v NullableCreateUpdateAlertRequest) IsSet() bool
- func (v NullableCreateUpdateAlertRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUpdateAlertRequest) Set(val *CreateUpdateAlertRequest)
- func (v *NullableCreateUpdateAlertRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUpdateAlertRequest) Unset()
- type NullableExpressionConfig
- func (v NullableExpressionConfig) Get() *ExpressionConfig
- func (v NullableExpressionConfig) IsSet() bool
- func (v NullableExpressionConfig) MarshalJSON() ([]byte, error)
- func (v *NullableExpressionConfig) Set(val *ExpressionConfig)
- func (v *NullableExpressionConfig) UnmarshalJSON(src []byte) error
- func (v *NullableExpressionConfig) Unset()
- type NullableExpressionConfigFiltersInner
- func (v NullableExpressionConfigFiltersInner) Get() *ExpressionConfigFiltersInner
- func (v NullableExpressionConfigFiltersInner) IsSet() bool
- func (v NullableExpressionConfigFiltersInner) MarshalJSON() ([]byte, error)
- func (v *NullableExpressionConfigFiltersInner) Set(val *ExpressionConfigFiltersInner)
- func (v *NullableExpressionConfigFiltersInner) UnmarshalJSON(src []byte) error
- func (v *NullableExpressionConfigFiltersInner) Unset()
- type NullableExpressionConfigMetoroTimeseriesDefinition
- func (v NullableExpressionConfigMetoroTimeseriesDefinition) Get() *ExpressionConfigMetoroTimeseriesDefinition
- func (v NullableExpressionConfigMetoroTimeseriesDefinition) IsSet() bool
- func (v NullableExpressionConfigMetoroTimeseriesDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableExpressionConfigMetoroTimeseriesDefinition) Set(val *ExpressionConfigMetoroTimeseriesDefinition)
- func (v *NullableExpressionConfigMetoroTimeseriesDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableExpressionConfigMetoroTimeseriesDefinition) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMetadataObject
- func (v NullableMetadataObject) Get() *MetadataObject
- func (v NullableMetadataObject) IsSet() bool
- func (v NullableMetadataObject) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataObject) Set(val *MetadataObject)
- func (v *NullableMetadataObject) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataObject) Unset()
- type NullableMetoroQlTimeseries
- func (v NullableMetoroQlTimeseries) Get() *MetoroQlTimeseries
- func (v NullableMetoroQlTimeseries) IsSet() bool
- func (v NullableMetoroQlTimeseries) MarshalJSON() ([]byte, error)
- func (v *NullableMetoroQlTimeseries) Set(val *MetoroQlTimeseries)
- func (v *NullableMetoroQlTimeseries) UnmarshalJSON(src []byte) error
- func (v *NullableMetoroQlTimeseries) Unset()
- type NullableOperatorConfig
- func (v NullableOperatorConfig) Get() *OperatorConfig
- func (v NullableOperatorConfig) IsSet() bool
- func (v NullableOperatorConfig) MarshalJSON() ([]byte, error)
- func (v *NullableOperatorConfig) Set(val *OperatorConfig)
- func (v *NullableOperatorConfig) UnmarshalJSON(src []byte) error
- func (v *NullableOperatorConfig) Unset()
- type NullableOperatorType
- func (v NullableOperatorType) Get() *OperatorType
- func (v NullableOperatorType) IsSet() bool
- func (v NullableOperatorType) MarshalJSON() ([]byte, error)
- func (v *NullableOperatorType) Set(val *OperatorType)
- func (v *NullableOperatorType) UnmarshalJSON(src []byte) error
- func (v *NullableOperatorType) Unset()
- type NullablePersistenceSettings
- func (v NullablePersistenceSettings) Get() *PersistenceSettings
- func (v NullablePersistenceSettings) IsSet() bool
- func (v NullablePersistenceSettings) MarshalJSON() ([]byte, error)
- func (v *NullablePersistenceSettings) Set(val *PersistenceSettings)
- func (v *NullablePersistenceSettings) UnmarshalJSON(src []byte) error
- func (v *NullablePersistenceSettings) Unset()
- type NullableStaticCondition
- func (v NullableStaticCondition) Get() *StaticCondition
- func (v NullableStaticCondition) IsSet() bool
- func (v NullableStaticCondition) MarshalJSON() ([]byte, error)
- func (v *NullableStaticCondition) Set(val *StaticCondition)
- func (v *NullableStaticCondition) UnmarshalJSON(src []byte) error
- func (v *NullableStaticCondition) Unset()
- type NullableString
- type NullableTime
- type NullableTimeseriesConfig
- func (v NullableTimeseriesConfig) Get() *TimeseriesConfig
- func (v NullableTimeseriesConfig) IsSet() bool
- func (v NullableTimeseriesConfig) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesConfig) Set(val *TimeseriesConfig)
- func (v *NullableTimeseriesConfig) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesConfig) Unset()
- type NullableTimeseriesConfigExpression
- func (v NullableTimeseriesConfigExpression) Get() *TimeseriesConfigExpression
- func (v NullableTimeseriesConfigExpression) IsSet() bool
- func (v NullableTimeseriesConfigExpression) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesConfigExpression) Set(val *TimeseriesConfigExpression)
- func (v *NullableTimeseriesConfigExpression) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesConfigExpression) Unset()
- type NullableTimeseriesSpecifier
- func (v NullableTimeseriesSpecifier) Get() *TimeseriesSpecifier
- func (v NullableTimeseriesSpecifier) IsSet() bool
- func (v NullableTimeseriesSpecifier) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifier) Set(val *TimeseriesSpecifier)
- func (v *NullableTimeseriesSpecifier) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifier) Unset()
- type NullableTimeseriesSpecifierFiltersInner
- func (v NullableTimeseriesSpecifierFiltersInner) Get() *TimeseriesSpecifierFiltersInner
- func (v NullableTimeseriesSpecifierFiltersInner) IsSet() bool
- func (v NullableTimeseriesSpecifierFiltersInner) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifierFiltersInner) Set(val *TimeseriesSpecifierFiltersInner)
- func (v *NullableTimeseriesSpecifierFiltersInner) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifierFiltersInner) Unset()
- type NullableTimeseriesSpecifierFunction
- func (v NullableTimeseriesSpecifierFunction) Get() *TimeseriesSpecifierFunction
- func (v NullableTimeseriesSpecifierFunction) IsSet() bool
- func (v NullableTimeseriesSpecifierFunction) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifierFunction) Set(val *TimeseriesSpecifierFunction)
- func (v *NullableTimeseriesSpecifierFunction) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifierFunction) Unset()
- type NullableTimeseriesSpecifierFunctions
- func (v NullableTimeseriesSpecifierFunctions) Get() *TimeseriesSpecifierFunctions
- func (v NullableTimeseriesSpecifierFunctions) IsSet() bool
- func (v NullableTimeseriesSpecifierFunctions) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifierFunctions) Set(val *TimeseriesSpecifierFunctions)
- func (v *NullableTimeseriesSpecifierFunctions) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifierFunctions) Unset()
- type NullableTimeseriesSpecifierFunctionsMathExpression
- func (v NullableTimeseriesSpecifierFunctionsMathExpression) Get() *TimeseriesSpecifierFunctionsMathExpression
- func (v NullableTimeseriesSpecifierFunctionsMathExpression) IsSet() bool
- func (v NullableTimeseriesSpecifierFunctionsMathExpression) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifierFunctionsMathExpression) Set(val *TimeseriesSpecifierFunctionsMathExpression)
- func (v *NullableTimeseriesSpecifierFunctionsMathExpression) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifierFunctionsMathExpression) Unset()
- type NullableTimeseriesSpecifierKubernetesResource
- func (v NullableTimeseriesSpecifierKubernetesResource) Get() *TimeseriesSpecifierKubernetesResource
- func (v NullableTimeseriesSpecifierKubernetesResource) IsSet() bool
- func (v NullableTimeseriesSpecifierKubernetesResource) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifierKubernetesResource) Set(val *TimeseriesSpecifierKubernetesResource)
- func (v *NullableTimeseriesSpecifierKubernetesResource) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifierKubernetesResource) Unset()
- type NullableTimeseriesSpecifierLogs
- func (v NullableTimeseriesSpecifierLogs) Get() *TimeseriesSpecifierLogs
- func (v NullableTimeseriesSpecifierLogs) IsSet() bool
- func (v NullableTimeseriesSpecifierLogs) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifierLogs) Set(val *TimeseriesSpecifierLogs)
- func (v *NullableTimeseriesSpecifierLogs) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifierLogs) Unset()
- type NullableTimeseriesSpecifierMetric
- func (v NullableTimeseriesSpecifierMetric) Get() *TimeseriesSpecifierMetric
- func (v NullableTimeseriesSpecifierMetric) IsSet() bool
- func (v NullableTimeseriesSpecifierMetric) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifierMetric) Set(val *TimeseriesSpecifierMetric)
- func (v *NullableTimeseriesSpecifierMetric) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifierMetric) Unset()
- type NullableTimeseriesSpecifierTraces
- func (v NullableTimeseriesSpecifierTraces) Get() *TimeseriesSpecifierTraces
- func (v NullableTimeseriesSpecifierTraces) IsSet() bool
- func (v NullableTimeseriesSpecifierTraces) MarshalJSON() ([]byte, error)
- func (v *NullableTimeseriesSpecifierTraces) Set(val *TimeseriesSpecifierTraces)
- func (v *NullableTimeseriesSpecifierTraces) UnmarshalJSON(src []byte) error
- func (v *NullableTimeseriesSpecifierTraces) Unset()
- type OperatorConfig
- func (o *OperatorConfig) GetOperator() OperatorType
- func (o *OperatorConfig) GetOperatorOk() (*OperatorType, bool)
- func (o *OperatorConfig) GetThreshold() float64
- func (o *OperatorConfig) GetThresholdOk() (*float64, bool)
- func (o OperatorConfig) MarshalJSON() ([]byte, error)
- func (o *OperatorConfig) SetOperator(v OperatorType)
- func (o *OperatorConfig) SetThreshold(v float64)
- func (o OperatorConfig) ToMap() (map[string]interface{}, error)
- func (o *OperatorConfig) UnmarshalJSON(data []byte) (err error)
- type OperatorType
- type PersistenceSettings
- func (o *PersistenceSettings) GetDatapointsInEvaluationWindow() int64
- func (o *PersistenceSettings) GetDatapointsInEvaluationWindowOk() (*int64, bool)
- func (o *PersistenceSettings) GetDatapointsToAlarm() int64
- func (o *PersistenceSettings) GetDatapointsToAlarmOk() (*int64, bool)
- func (o *PersistenceSettings) GetMissingDatapointBehavior() string
- func (o *PersistenceSettings) GetMissingDatapointBehaviorOk() (*string, bool)
- func (o *PersistenceSettings) HasMissingDatapointBehavior() bool
- func (o PersistenceSettings) MarshalJSON() ([]byte, error)
- func (o *PersistenceSettings) SetDatapointsInEvaluationWindow(v int64)
- func (o *PersistenceSettings) SetDatapointsToAlarm(v int64)
- func (o *PersistenceSettings) SetMissingDatapointBehavior(v string)
- func (o PersistenceSettings) ToMap() (map[string]interface{}, error)
- func (o *PersistenceSettings) UnmarshalJSON(data []byte) (err error)
- type SetDashboardRequest
- type SingleMetricRequest
- type SingleTimeseriesRequest
- type StaticCondition
- func (o *StaticCondition) GetOperators() []OperatorConfig
- func (o *StaticCondition) GetOperatorsOk() ([]OperatorConfig, bool)
- func (o *StaticCondition) GetPersistenceSettings() PersistenceSettings
- func (o *StaticCondition) GetPersistenceSettingsOk() (*PersistenceSettings, bool)
- func (o StaticCondition) MarshalJSON() ([]byte, error)
- func (o *StaticCondition) SetOperators(v []OperatorConfig)
- func (o *StaticCondition) SetPersistenceSettings(v PersistenceSettings)
- func (o StaticCondition) ToMap() (map[string]interface{}, error)
- func (o *StaticCondition) UnmarshalJSON(data []byte) (err error)
- type TimeseriesConfig
- func (o *TimeseriesConfig) GetEvaluationRules() []Condition
- func (o *TimeseriesConfig) GetEvaluationRulesOk() ([]Condition, bool)
- func (o *TimeseriesConfig) GetExpression() ExpressionConfig
- func (o *TimeseriesConfig) GetExpressionOk() (*ExpressionConfig, bool)
- func (o TimeseriesConfig) MarshalJSON() ([]byte, error)
- func (o *TimeseriesConfig) SetEvaluationRules(v []Condition)
- func (o *TimeseriesConfig) SetExpression(v ExpressionConfig)
- func (o TimeseriesConfig) ToMap() (map[string]interface{}, error)
- func (o *TimeseriesConfig) UnmarshalJSON(data []byte) (err error)
- type TimeseriesConfigExpression
- type TimeseriesSpecifier
- func (o *TimeseriesSpecifier) GetAggregation() string
- func (o *TimeseriesSpecifier) GetAggregationOk() (*string, bool)
- func (o *TimeseriesSpecifier) GetBucketSize() int64
- func (o *TimeseriesSpecifier) GetBucketSizeOk() (*int64, bool)
- func (o *TimeseriesSpecifier) GetFilters() []TimeseriesSpecifierFiltersInner
- func (o *TimeseriesSpecifier) GetFiltersOk() ([]TimeseriesSpecifierFiltersInner, bool)
- func (o *TimeseriesSpecifier) GetFunctions() []TimeseriesSpecifierFunction
- func (o *TimeseriesSpecifier) GetFunctionsOk() ([]TimeseriesSpecifierFunction, bool)
- func (o *TimeseriesSpecifier) GetKubernetesResource() TimeseriesSpecifierKubernetesResource
- func (o *TimeseriesSpecifier) GetKubernetesResourceOk() (*TimeseriesSpecifierKubernetesResource, bool)
- func (o *TimeseriesSpecifier) GetLogs() TimeseriesSpecifierLogs
- func (o *TimeseriesSpecifier) GetLogsOk() (*TimeseriesSpecifierLogs, bool)
- func (o *TimeseriesSpecifier) GetMetric() TimeseriesSpecifierMetric
- func (o *TimeseriesSpecifier) GetMetricOk() (*TimeseriesSpecifierMetric, bool)
- func (o *TimeseriesSpecifier) GetSplits() []string
- func (o *TimeseriesSpecifier) GetSplitsOk() ([]string, bool)
- func (o *TimeseriesSpecifier) GetTraces() TimeseriesSpecifierTraces
- func (o *TimeseriesSpecifier) GetTracesOk() (*TimeseriesSpecifierTraces, bool)
- func (o *TimeseriesSpecifier) GetType() string
- func (o *TimeseriesSpecifier) GetTypeOk() (*string, bool)
- func (o *TimeseriesSpecifier) HasAggregation() bool
- func (o *TimeseriesSpecifier) HasBucketSize() bool
- func (o *TimeseriesSpecifier) HasFilters() bool
- func (o *TimeseriesSpecifier) HasFunctions() bool
- func (o *TimeseriesSpecifier) HasKubernetesResource() bool
- func (o *TimeseriesSpecifier) HasLogs() bool
- func (o *TimeseriesSpecifier) HasMetric() bool
- func (o *TimeseriesSpecifier) HasSplits() bool
- func (o *TimeseriesSpecifier) HasTraces() bool
- func (o TimeseriesSpecifier) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifier) SetAggregation(v string)
- func (o *TimeseriesSpecifier) SetBucketSize(v int64)
- func (o *TimeseriesSpecifier) SetFilters(v []TimeseriesSpecifierFiltersInner)
- func (o *TimeseriesSpecifier) SetFunctions(v []TimeseriesSpecifierFunction)
- func (o *TimeseriesSpecifier) SetKubernetesResource(v TimeseriesSpecifierKubernetesResource)
- func (o *TimeseriesSpecifier) SetLogs(v TimeseriesSpecifierLogs)
- func (o *TimeseriesSpecifier) SetMetric(v TimeseriesSpecifierMetric)
- func (o *TimeseriesSpecifier) SetSplits(v []string)
- func (o *TimeseriesSpecifier) SetTraces(v TimeseriesSpecifierTraces)
- func (o *TimeseriesSpecifier) SetType(v string)
- func (o TimeseriesSpecifier) ToMap() (map[string]interface{}, error)
- func (o *TimeseriesSpecifier) UnmarshalJSON(data []byte) (err error)
- type TimeseriesSpecifierFiltersInner
- func (o *TimeseriesSpecifierFiltersInner) GetKey() string
- func (o *TimeseriesSpecifierFiltersInner) GetKeyOk() (*string, bool)
- func (o *TimeseriesSpecifierFiltersInner) GetOperator() string
- func (o *TimeseriesSpecifierFiltersInner) GetOperatorOk() (*string, bool)
- func (o *TimeseriesSpecifierFiltersInner) GetValue() []string
- func (o *TimeseriesSpecifierFiltersInner) GetValueOk() ([]string, bool)
- func (o *TimeseriesSpecifierFiltersInner) HasKey() bool
- func (o *TimeseriesSpecifierFiltersInner) HasOperator() bool
- func (o *TimeseriesSpecifierFiltersInner) HasValue() bool
- func (o TimeseriesSpecifierFiltersInner) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifierFiltersInner) SetKey(v string)
- func (o *TimeseriesSpecifierFiltersInner) SetOperator(v string)
- func (o *TimeseriesSpecifierFiltersInner) SetValue(v []string)
- func (o TimeseriesSpecifierFiltersInner) ToMap() (map[string]interface{}, error)
- type TimeseriesSpecifierFunction
- func (o *TimeseriesSpecifierFunction) GetFunctionType() string
- func (o *TimeseriesSpecifierFunction) GetFunctionTypeOk() (*string, bool)
- func (o *TimeseriesSpecifierFunction) GetMathExpression() TimeseriesSpecifierFunctionsMathExpression
- func (o *TimeseriesSpecifierFunction) GetMathExpressionOk() (*TimeseriesSpecifierFunctionsMathExpression, bool)
- func (o *TimeseriesSpecifierFunction) HasMathExpression() bool
- func (o TimeseriesSpecifierFunction) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifierFunction) SetFunctionType(v string)
- func (o *TimeseriesSpecifierFunction) SetMathExpression(v TimeseriesSpecifierFunctionsMathExpression)
- func (o TimeseriesSpecifierFunction) ToMap() (map[string]interface{}, error)
- func (o *TimeseriesSpecifierFunction) UnmarshalJSON(data []byte) (err error)
- type TimeseriesSpecifierFunctions
- func (o *TimeseriesSpecifierFunctions) GetFunctionType() string
- func (o *TimeseriesSpecifierFunctions) GetFunctionTypeOk() (*string, bool)
- func (o *TimeseriesSpecifierFunctions) GetMathExpression() TimeseriesSpecifierFunctionsMathExpression
- func (o *TimeseriesSpecifierFunctions) GetMathExpressionOk() (*TimeseriesSpecifierFunctionsMathExpression, bool)
- func (o *TimeseriesSpecifierFunctions) HasFunctionType() bool
- func (o *TimeseriesSpecifierFunctions) HasMathExpression() bool
- func (o TimeseriesSpecifierFunctions) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifierFunctions) SetFunctionType(v string)
- func (o *TimeseriesSpecifierFunctions) SetMathExpression(v TimeseriesSpecifierFunctionsMathExpression)
- func (o TimeseriesSpecifierFunctions) ToMap() (map[string]interface{}, error)
- type TimeseriesSpecifierFunctionsMathExpression
- func (o *TimeseriesSpecifierFunctionsMathExpression) GetExpression() string
- func (o *TimeseriesSpecifierFunctionsMathExpression) GetExpressionOk() (*string, bool)
- func (o *TimeseriesSpecifierFunctionsMathExpression) GetVariables() []string
- func (o *TimeseriesSpecifierFunctionsMathExpression) GetVariablesOk() ([]string, bool)
- func (o *TimeseriesSpecifierFunctionsMathExpression) HasExpression() bool
- func (o *TimeseriesSpecifierFunctionsMathExpression) HasVariables() bool
- func (o TimeseriesSpecifierFunctionsMathExpression) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifierFunctionsMathExpression) SetExpression(v string)
- func (o *TimeseriesSpecifierFunctionsMathExpression) SetVariables(v []string)
- func (o TimeseriesSpecifierFunctionsMathExpression) ToMap() (map[string]interface{}, error)
- type TimeseriesSpecifierKubernetesResource
- func (o *TimeseriesSpecifierKubernetesResource) GetJsonPath() string
- func (o *TimeseriesSpecifierKubernetesResource) GetJsonPathOk() (*string, bool)
- func (o *TimeseriesSpecifierKubernetesResource) HasJsonPath() bool
- func (o TimeseriesSpecifierKubernetesResource) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifierKubernetesResource) SetJsonPath(v string)
- func (o TimeseriesSpecifierKubernetesResource) ToMap() (map[string]interface{}, error)
- type TimeseriesSpecifierLogs
- func (o *TimeseriesSpecifierLogs) GetExcludeRegexes() []string
- func (o *TimeseriesSpecifierLogs) GetExcludeRegexesOk() ([]string, bool)
- func (o *TimeseriesSpecifierLogs) GetRegexes() []string
- func (o *TimeseriesSpecifierLogs) GetRegexesOk() ([]string, bool)
- func (o *TimeseriesSpecifierLogs) HasExcludeRegexes() bool
- func (o *TimeseriesSpecifierLogs) HasRegexes() bool
- func (o TimeseriesSpecifierLogs) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifierLogs) SetExcludeRegexes(v []string)
- func (o *TimeseriesSpecifierLogs) SetRegexes(v []string)
- func (o TimeseriesSpecifierLogs) ToMap() (map[string]interface{}, error)
- type TimeseriesSpecifierMetric
- func (o *TimeseriesSpecifierMetric) GetMetricName() string
- func (o *TimeseriesSpecifierMetric) GetMetricNameOk() (*string, bool)
- func (o *TimeseriesSpecifierMetric) HasMetricName() bool
- func (o TimeseriesSpecifierMetric) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifierMetric) SetMetricName(v string)
- func (o TimeseriesSpecifierMetric) ToMap() (map[string]interface{}, error)
- type TimeseriesSpecifierTraces
- func (o *TimeseriesSpecifierTraces) GetExcludeRegexes() []string
- func (o *TimeseriesSpecifierTraces) GetExcludeRegexesOk() ([]string, bool)
- func (o *TimeseriesSpecifierTraces) GetRegexes() []string
- func (o *TimeseriesSpecifierTraces) GetRegexesOk() ([]string, bool)
- func (o *TimeseriesSpecifierTraces) HasExcludeRegexes() bool
- func (o *TimeseriesSpecifierTraces) HasRegexes() bool
- func (o TimeseriesSpecifierTraces) MarshalJSON() ([]byte, error)
- func (o *TimeseriesSpecifierTraces) SetExcludeRegexes(v []string)
- func (o *TimeseriesSpecifierTraces) SetRegexes(v []string)
- func (o TimeseriesSpecifierTraces) ToMap() (map[string]interface{}, error)
- type TraceEl
- type TracesSummaryRequest
- type UpdateAIIssueRequest
- type UpdateInvestigationRequest
- type Widget
- type WidgetPosition
- type WidgetType
Constants ¶
This section is empty.
Variables ¶
var AllowedAlertTypeEnumValues = []AlertType{
"timeseries",
}
All allowed values of AlertType enum
var AllowedConditionTypeEnumValues = []ConditionType{
"static",
}
All allowed values of ConditionType enum
var AllowedOperatorTypeEnumValues = []OperatorType{
"greaterThan",
"lessThan",
"greaterThanOrEqual",
"lessThanOrEqual",
"equals",
"notEquals",
}
All allowed values of OperatorType enum
Functions ¶
func PtrBool ¶ added in v0.48.0
PtrBool is a helper routine that returns a pointer to given boolean value.
func PtrFloat32 ¶ added in v0.48.0
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶ added in v0.48.0
PtrFloat64 is a helper routine that returns a pointer to given float value.
func PtrInt ¶ added in v0.48.0
PtrInt is a helper routine that returns a pointer to given integer value.
func PtrInt32 ¶ added in v0.48.0
PtrInt32 is a helper routine that returns a pointer to given integer value.
func PtrInt64 ¶ added in v0.48.0
PtrInt64 is a helper routine that returns a pointer to given integer value.
Types ¶
type AIIssue ¶ added in v0.45.0
type AIIssue struct {
UUID string `json:"uuid"`
OrganizationUUID string `json:"organizationUuid"`
Title string `json:"title"`
Description string `json:"description"`
Summary string `json:"summary"`
Open bool `json:"open"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
type AIIssueEvent ¶ added in v0.47.0
type AIIssueEvent struct {
UUID string `json:"uuid"`
IssueUUID string `json:"issueUuid"`
Type string `json:"type"`
CommitSHA *string `json:"commitSha,omitempty"`
VCSLink *string `json:"vcsLink,omitempty"`
MetoroLink *string `json:"metoroLink,omitempty"`
Version *string `json:"version,omitempty"`
Environment *string `json:"environment,omitempty"`
Description *string `json:"description,omitempty"`
InvestigationUUID *string `json:"investigationUuid,omitempty"`
OccurrenceTime *time.Time `json:"occurrenceTime,omitempty"`
CreatedAt time.Time `json:"createdAt"`
}
type Action ¶ added in v0.48.0
type Action struct {
// Type of action destination
Type string `json:"type"`
SlackDestination *ActionSlackDestination `json:"slackDestination,omitempty"`
PagerDutyDestination *ActionPagerDutyDestination `json:"pagerDutyDestination,omitempty"`
EmailDestination *ActionEmailDestination `json:"emailDestination,omitempty"`
WebhookDestination *ActionWebhookDestination `json:"webhookDestination,omitempty"`
}
Action struct for Action
func NewAction ¶ added in v0.48.0
NewAction instantiates a new Action object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActionWithDefaults ¶ added in v0.48.0
func NewActionWithDefaults() *Action
NewActionWithDefaults instantiates a new Action object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Action) GetEmailDestination ¶ added in v0.48.0
func (o *Action) GetEmailDestination() ActionEmailDestination
GetEmailDestination returns the EmailDestination field value if set, zero value otherwise.
func (*Action) GetEmailDestinationOk ¶ added in v0.48.0
func (o *Action) GetEmailDestinationOk() (*ActionEmailDestination, bool)
GetEmailDestinationOk returns a tuple with the EmailDestination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Action) GetPagerDutyDestination ¶ added in v0.48.0
func (o *Action) GetPagerDutyDestination() ActionPagerDutyDestination
GetPagerDutyDestination returns the PagerDutyDestination field value if set, zero value otherwise.
func (*Action) GetPagerDutyDestinationOk ¶ added in v0.48.0
func (o *Action) GetPagerDutyDestinationOk() (*ActionPagerDutyDestination, bool)
GetPagerDutyDestinationOk returns a tuple with the PagerDutyDestination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Action) GetSlackDestination ¶ added in v0.48.0
func (o *Action) GetSlackDestination() ActionSlackDestination
GetSlackDestination returns the SlackDestination field value if set, zero value otherwise.
func (*Action) GetSlackDestinationOk ¶ added in v0.48.0
func (o *Action) GetSlackDestinationOk() (*ActionSlackDestination, bool)
GetSlackDestinationOk returns a tuple with the SlackDestination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Action) GetTypeOk ¶ added in v0.48.0
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Action) GetWebhookDestination ¶ added in v0.48.0
func (o *Action) GetWebhookDestination() ActionWebhookDestination
GetWebhookDestination returns the WebhookDestination field value if set, zero value otherwise.
func (*Action) GetWebhookDestinationOk ¶ added in v0.48.0
func (o *Action) GetWebhookDestinationOk() (*ActionWebhookDestination, bool)
GetWebhookDestinationOk returns a tuple with the WebhookDestination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Action) HasEmailDestination ¶ added in v0.48.0
HasEmailDestination returns a boolean if a field has been set.
func (*Action) HasPagerDutyDestination ¶ added in v0.48.0
HasPagerDutyDestination returns a boolean if a field has been set.
func (*Action) HasSlackDestination ¶ added in v0.48.0
HasSlackDestination returns a boolean if a field has been set.
func (*Action) HasWebhookDestination ¶ added in v0.48.0
HasWebhookDestination returns a boolean if a field has been set.
func (Action) MarshalJSON ¶ added in v0.48.0
func (*Action) SetEmailDestination ¶ added in v0.48.0
func (o *Action) SetEmailDestination(v ActionEmailDestination)
SetEmailDestination gets a reference to the given ActionEmailDestination and assigns it to the EmailDestination field.
func (*Action) SetPagerDutyDestination ¶ added in v0.48.0
func (o *Action) SetPagerDutyDestination(v ActionPagerDutyDestination)
SetPagerDutyDestination gets a reference to the given ActionPagerDutyDestination and assigns it to the PagerDutyDestination field.
func (*Action) SetSlackDestination ¶ added in v0.48.0
func (o *Action) SetSlackDestination(v ActionSlackDestination)
SetSlackDestination gets a reference to the given ActionSlackDestination and assigns it to the SlackDestination field.
func (*Action) SetWebhookDestination ¶ added in v0.48.0
func (o *Action) SetWebhookDestination(v ActionWebhookDestination)
SetWebhookDestination gets a reference to the given ActionWebhookDestination and assigns it to the WebhookDestination field.
func (*Action) UnmarshalJSON ¶ added in v0.48.0
type ActionEmailDestination ¶ added in v0.48.0
type ActionEmailDestination struct {
// Whether to notify the email recipients when the alert is resolved
NotifyOnResolve *bool `json:"notifyOnResolve,omitempty"`
// Email addresses to send alert to
Emails []string `json:"emails,omitempty"`
}
ActionEmailDestination struct for ActionEmailDestination
func NewActionEmailDestination ¶ added in v0.48.0
func NewActionEmailDestination() *ActionEmailDestination
NewActionEmailDestination instantiates a new ActionEmailDestination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActionEmailDestinationWithDefaults ¶ added in v0.48.0
func NewActionEmailDestinationWithDefaults() *ActionEmailDestination
NewActionEmailDestinationWithDefaults instantiates a new ActionEmailDestination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActionEmailDestination) GetEmails ¶ added in v0.48.0
func (o *ActionEmailDestination) GetEmails() []string
GetEmails returns the Emails field value if set, zero value otherwise.
func (*ActionEmailDestination) GetEmailsOk ¶ added in v0.48.0
func (o *ActionEmailDestination) GetEmailsOk() ([]string, bool)
GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionEmailDestination) GetNotifyOnResolve ¶ added in v0.48.0
func (o *ActionEmailDestination) GetNotifyOnResolve() bool
GetNotifyOnResolve returns the NotifyOnResolve field value if set, zero value otherwise.
func (*ActionEmailDestination) GetNotifyOnResolveOk ¶ added in v0.48.0
func (o *ActionEmailDestination) GetNotifyOnResolveOk() (*bool, bool)
GetNotifyOnResolveOk returns a tuple with the NotifyOnResolve field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionEmailDestination) HasEmails ¶ added in v0.48.0
func (o *ActionEmailDestination) HasEmails() bool
HasEmails returns a boolean if a field has been set.
func (*ActionEmailDestination) HasNotifyOnResolve ¶ added in v0.48.0
func (o *ActionEmailDestination) HasNotifyOnResolve() bool
HasNotifyOnResolve returns a boolean if a field has been set.
func (ActionEmailDestination) MarshalJSON ¶ added in v0.48.0
func (o ActionEmailDestination) MarshalJSON() ([]byte, error)
func (*ActionEmailDestination) SetEmails ¶ added in v0.48.0
func (o *ActionEmailDestination) SetEmails(v []string)
SetEmails gets a reference to the given []string and assigns it to the Emails field.
func (*ActionEmailDestination) SetNotifyOnResolve ¶ added in v0.48.0
func (o *ActionEmailDestination) SetNotifyOnResolve(v bool)
SetNotifyOnResolve gets a reference to the given bool and assigns it to the NotifyOnResolve field.
func (ActionEmailDestination) ToMap ¶ added in v0.48.0
func (o ActionEmailDestination) ToMap() (map[string]interface{}, error)
type ActionPagerDutyDestination ¶ added in v0.48.0
type ActionPagerDutyDestination struct {
// PagerDuty service ID
ServiceId *string `json:"serviceId,omitempty"`
// PagerDuty service name
ServiceName *string `json:"serviceName,omitempty"`
}
ActionPagerDutyDestination struct for ActionPagerDutyDestination
func NewActionPagerDutyDestination ¶ added in v0.48.0
func NewActionPagerDutyDestination() *ActionPagerDutyDestination
NewActionPagerDutyDestination instantiates a new ActionPagerDutyDestination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActionPagerDutyDestinationWithDefaults ¶ added in v0.48.0
func NewActionPagerDutyDestinationWithDefaults() *ActionPagerDutyDestination
NewActionPagerDutyDestinationWithDefaults instantiates a new ActionPagerDutyDestination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActionPagerDutyDestination) GetServiceId ¶ added in v0.48.0
func (o *ActionPagerDutyDestination) GetServiceId() string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*ActionPagerDutyDestination) GetServiceIdOk ¶ added in v0.48.0
func (o *ActionPagerDutyDestination) GetServiceIdOk() (*string, bool)
GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionPagerDutyDestination) GetServiceName ¶ added in v0.48.0
func (o *ActionPagerDutyDestination) GetServiceName() string
GetServiceName returns the ServiceName field value if set, zero value otherwise.
func (*ActionPagerDutyDestination) GetServiceNameOk ¶ added in v0.48.0
func (o *ActionPagerDutyDestination) GetServiceNameOk() (*string, bool)
GetServiceNameOk returns a tuple with the ServiceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionPagerDutyDestination) HasServiceId ¶ added in v0.48.0
func (o *ActionPagerDutyDestination) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (*ActionPagerDutyDestination) HasServiceName ¶ added in v0.48.0
func (o *ActionPagerDutyDestination) HasServiceName() bool
HasServiceName returns a boolean if a field has been set.
func (ActionPagerDutyDestination) MarshalJSON ¶ added in v0.48.0
func (o ActionPagerDutyDestination) MarshalJSON() ([]byte, error)
func (*ActionPagerDutyDestination) SetServiceId ¶ added in v0.48.0
func (o *ActionPagerDutyDestination) SetServiceId(v string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (*ActionPagerDutyDestination) SetServiceName ¶ added in v0.48.0
func (o *ActionPagerDutyDestination) SetServiceName(v string)
SetServiceName gets a reference to the given string and assigns it to the ServiceName field.
func (ActionPagerDutyDestination) ToMap ¶ added in v0.48.0
func (o ActionPagerDutyDestination) ToMap() (map[string]interface{}, error)
type ActionSlackDestination ¶ added in v0.48.0
type ActionSlackDestination struct {
// Slack channel to send alert to
Channel *string `json:"channel,omitempty"`
// Whether to notify the channel when the alert is resolved
NotifyOnResolve *bool `json:"notifyOnResolve,omitempty"`
}
ActionSlackDestination struct for ActionSlackDestination
func NewActionSlackDestination ¶ added in v0.48.0
func NewActionSlackDestination() *ActionSlackDestination
NewActionSlackDestination instantiates a new ActionSlackDestination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActionSlackDestinationWithDefaults ¶ added in v0.48.0
func NewActionSlackDestinationWithDefaults() *ActionSlackDestination
NewActionSlackDestinationWithDefaults instantiates a new ActionSlackDestination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActionSlackDestination) GetChannel ¶ added in v0.48.0
func (o *ActionSlackDestination) GetChannel() string
GetChannel returns the Channel field value if set, zero value otherwise.
func (*ActionSlackDestination) GetChannelOk ¶ added in v0.48.0
func (o *ActionSlackDestination) GetChannelOk() (*string, bool)
GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionSlackDestination) GetNotifyOnResolve ¶ added in v0.48.0
func (o *ActionSlackDestination) GetNotifyOnResolve() bool
GetNotifyOnResolve returns the NotifyOnResolve field value if set, zero value otherwise.
func (*ActionSlackDestination) GetNotifyOnResolveOk ¶ added in v0.48.0
func (o *ActionSlackDestination) GetNotifyOnResolveOk() (*bool, bool)
GetNotifyOnResolveOk returns a tuple with the NotifyOnResolve field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionSlackDestination) HasChannel ¶ added in v0.48.0
func (o *ActionSlackDestination) HasChannel() bool
HasChannel returns a boolean if a field has been set.
func (*ActionSlackDestination) HasNotifyOnResolve ¶ added in v0.48.0
func (o *ActionSlackDestination) HasNotifyOnResolve() bool
HasNotifyOnResolve returns a boolean if a field has been set.
func (ActionSlackDestination) MarshalJSON ¶ added in v0.48.0
func (o ActionSlackDestination) MarshalJSON() ([]byte, error)
func (*ActionSlackDestination) SetChannel ¶ added in v0.48.0
func (o *ActionSlackDestination) SetChannel(v string)
SetChannel gets a reference to the given string and assigns it to the Channel field.
func (*ActionSlackDestination) SetNotifyOnResolve ¶ added in v0.48.0
func (o *ActionSlackDestination) SetNotifyOnResolve(v bool)
SetNotifyOnResolve gets a reference to the given bool and assigns it to the NotifyOnResolve field.
func (ActionSlackDestination) ToMap ¶ added in v0.48.0
func (o ActionSlackDestination) ToMap() (map[string]interface{}, error)
type ActionWebhookDestination ¶ added in v0.48.0
type ActionWebhookDestination struct {
// UUID of the webhook configuration to use for notifying that the alert is triggered
Uuid *string `json:"uuid,omitempty"`
// Name of the webhook configuration to use for notifying that the alert is triggered
Name *string `json:"name,omitempty"`
// UUID of the webhook configuration to use for notifying that the alert is resolved
ResolvedUuid *string `json:"resolved_uuid,omitempty"`
// Name of the webhook configuration to use for notifying that the alert is resolved
ResolvedName *string `json:"resolved_name,omitempty"`
}
ActionWebhookDestination struct for ActionWebhookDestination
func NewActionWebhookDestination ¶ added in v0.48.0
func NewActionWebhookDestination() *ActionWebhookDestination
NewActionWebhookDestination instantiates a new ActionWebhookDestination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActionWebhookDestinationWithDefaults ¶ added in v0.48.0
func NewActionWebhookDestinationWithDefaults() *ActionWebhookDestination
NewActionWebhookDestinationWithDefaults instantiates a new ActionWebhookDestination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActionWebhookDestination) GetName ¶ added in v0.48.0
func (o *ActionWebhookDestination) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ActionWebhookDestination) GetNameOk ¶ added in v0.48.0
func (o *ActionWebhookDestination) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionWebhookDestination) GetResolvedName ¶ added in v0.48.0
func (o *ActionWebhookDestination) GetResolvedName() string
GetResolvedName returns the ResolvedName field value if set, zero value otherwise.
func (*ActionWebhookDestination) GetResolvedNameOk ¶ added in v0.48.0
func (o *ActionWebhookDestination) GetResolvedNameOk() (*string, bool)
GetResolvedNameOk returns a tuple with the ResolvedName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionWebhookDestination) GetResolvedUuid ¶ added in v0.48.0
func (o *ActionWebhookDestination) GetResolvedUuid() string
GetResolvedUuid returns the ResolvedUuid field value if set, zero value otherwise.
func (*ActionWebhookDestination) GetResolvedUuidOk ¶ added in v0.48.0
func (o *ActionWebhookDestination) GetResolvedUuidOk() (*string, bool)
GetResolvedUuidOk returns a tuple with the ResolvedUuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionWebhookDestination) GetUuid ¶ added in v0.48.0
func (o *ActionWebhookDestination) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise.
func (*ActionWebhookDestination) GetUuidOk ¶ added in v0.48.0
func (o *ActionWebhookDestination) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActionWebhookDestination) HasName ¶ added in v0.48.0
func (o *ActionWebhookDestination) HasName() bool
HasName returns a boolean if a field has been set.
func (*ActionWebhookDestination) HasResolvedName ¶ added in v0.48.0
func (o *ActionWebhookDestination) HasResolvedName() bool
HasResolvedName returns a boolean if a field has been set.
func (*ActionWebhookDestination) HasResolvedUuid ¶ added in v0.48.0
func (o *ActionWebhookDestination) HasResolvedUuid() bool
HasResolvedUuid returns a boolean if a field has been set.
func (*ActionWebhookDestination) HasUuid ¶ added in v0.48.0
func (o *ActionWebhookDestination) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (ActionWebhookDestination) MarshalJSON ¶ added in v0.48.0
func (o ActionWebhookDestination) MarshalJSON() ([]byte, error)
func (*ActionWebhookDestination) SetName ¶ added in v0.48.0
func (o *ActionWebhookDestination) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ActionWebhookDestination) SetResolvedName ¶ added in v0.48.0
func (o *ActionWebhookDestination) SetResolvedName(v string)
SetResolvedName gets a reference to the given string and assigns it to the ResolvedName field.
func (*ActionWebhookDestination) SetResolvedUuid ¶ added in v0.48.0
func (o *ActionWebhookDestination) SetResolvedUuid(v string)
SetResolvedUuid gets a reference to the given string and assigns it to the ResolvedUuid field.
func (*ActionWebhookDestination) SetUuid ¶ added in v0.48.0
func (o *ActionWebhookDestination) SetUuid(v string)
SetUuid gets a reference to the given string and assigns it to the Uuid field.
func (ActionWebhookDestination) ToMap ¶ added in v0.48.0
func (o ActionWebhookDestination) ToMap() (map[string]interface{}, error)
type Aggregation ¶
type Aggregation string
const ( AggregationSum Aggregation = "sum" AggregationAvg Aggregation = "avg" AggregationMax Aggregation = "max" AggregationMin Aggregation = "min" AggregationCount Aggregation = "count" AggregationP50 Aggregation = "p50" AggregationP90 Aggregation = "p90" AggregationP95 Aggregation = "p95" AggregationP99 Aggregation = "p99" // Only for trace metrics AggregationRequestSize Aggregation = "requestSize" AggregationResponseSize Aggregation = "responseSize" AggregationTotalSize Aggregation = "totalSize" )
type Alert ¶ added in v0.48.0
type Alert struct {
Metadata MetadataObject `json:"metadata"`
Type *AlertType `json:"type,omitempty"`
Timeseries TimeseriesConfig `json:"timeseries"`
}
Alert struct for Alert
func NewAlert ¶ added in v0.48.0
func NewAlert(metadata MetadataObject, timeseries TimeseriesConfig) *Alert
NewAlert instantiates a new Alert object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAlertWithDefaults ¶ added in v0.48.0
func NewAlertWithDefaults() *Alert
NewAlertWithDefaults instantiates a new Alert object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Alert) GetMetadata ¶ added in v0.48.0
func (o *Alert) GetMetadata() MetadataObject
GetMetadata returns the Metadata field value
func (*Alert) GetMetadataOk ¶ added in v0.48.0
func (o *Alert) GetMetadataOk() (*MetadataObject, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*Alert) GetTimeseries ¶ added in v0.48.0
func (o *Alert) GetTimeseries() TimeseriesConfig
GetTimeseries returns the Timeseries field value
func (*Alert) GetTimeseriesOk ¶ added in v0.48.0
func (o *Alert) GetTimeseriesOk() (*TimeseriesConfig, bool)
GetTimeseriesOk returns a tuple with the Timeseries field value and a boolean to check if the value has been set.
func (*Alert) GetType ¶ added in v0.48.0
GetType returns the Type field value if set, zero value otherwise.
func (*Alert) GetTypeOk ¶ added in v0.48.0
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Alert) MarshalJSON ¶ added in v0.48.0
func (*Alert) SetMetadata ¶ added in v0.48.0
func (o *Alert) SetMetadata(v MetadataObject)
SetMetadata sets field value
func (*Alert) SetTimeseries ¶ added in v0.48.0
func (o *Alert) SetTimeseries(v TimeseriesConfig)
SetTimeseries sets field value
func (*Alert) SetType ¶ added in v0.48.0
SetType gets a reference to the given AlertType and assigns it to the Type field.
func (*Alert) UnmarshalJSON ¶ added in v0.48.0
type AlertType ¶ added in v0.48.0
type AlertType string
AlertType Type of alert
const (
TIMESERIES AlertType = "timeseries"
)
List of AlertType
func NewAlertTypeFromValue ¶ added in v0.48.0
NewAlertTypeFromValue returns a pointer to a valid AlertType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AlertType) IsValid ¶ added in v0.48.0
IsValid return true if the value is valid for the enum, false otherwise
func (*AlertType) UnmarshalJSON ¶ added in v0.48.0
type Condition ¶ added in v0.48.0
type Condition struct {
// Name of the condition
Name string `json:"name"`
Type *ConditionType `json:"type,omitempty"`
Static *StaticCondition `json:"static,omitempty"`
// Actions to take when condition is met
Actions []Action `json:"actions,omitempty"`
}
Condition struct for Condition
func NewCondition ¶ added in v0.48.0
NewCondition instantiates a new Condition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConditionWithDefaults ¶ added in v0.48.0
func NewConditionWithDefaults() *Condition
NewConditionWithDefaults instantiates a new Condition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Condition) GetActions ¶ added in v0.48.0
GetActions returns the Actions field value if set, zero value otherwise.
func (*Condition) GetActionsOk ¶ added in v0.48.0
GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) GetNameOk ¶ added in v0.48.0
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Condition) GetStatic ¶ added in v0.48.0
func (o *Condition) GetStatic() StaticCondition
GetStatic returns the Static field value if set, zero value otherwise.
func (*Condition) GetStaticOk ¶ added in v0.48.0
func (o *Condition) GetStaticOk() (*StaticCondition, bool)
GetStaticOk returns a tuple with the Static field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) GetType ¶ added in v0.48.0
func (o *Condition) GetType() ConditionType
GetType returns the Type field value if set, zero value otherwise.
func (*Condition) GetTypeOk ¶ added in v0.48.0
func (o *Condition) GetTypeOk() (*ConditionType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) HasActions ¶ added in v0.48.0
HasActions returns a boolean if a field has been set.
func (Condition) MarshalJSON ¶ added in v0.48.0
func (*Condition) SetActions ¶ added in v0.48.0
SetActions gets a reference to the given []Action and assigns it to the Actions field.
func (*Condition) SetStatic ¶ added in v0.48.0
func (o *Condition) SetStatic(v StaticCondition)
SetStatic gets a reference to the given StaticCondition and assigns it to the Static field.
func (*Condition) SetType ¶ added in v0.48.0
func (o *Condition) SetType(v ConditionType)
SetType gets a reference to the given ConditionType and assigns it to the Type field.
func (*Condition) UnmarshalJSON ¶ added in v0.48.0
type ConditionType ¶ added in v0.48.0
type ConditionType string
ConditionType Type of alert condition
const (
STATIC ConditionType = "static"
)
List of ConditionType
func NewConditionTypeFromValue ¶ added in v0.48.0
func NewConditionTypeFromValue(v string) (*ConditionType, error)
NewConditionTypeFromValue returns a pointer to a valid ConditionType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ConditionType) IsValid ¶ added in v0.48.0
func (v ConditionType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ConditionType) Ptr ¶ added in v0.48.0
func (v ConditionType) Ptr() *ConditionType
Ptr returns reference to ConditionType value
func (*ConditionType) UnmarshalJSON ¶ added in v0.48.0
func (v *ConditionType) UnmarshalJSON(src []byte) error
type CreateAIIssueRequest ¶ added in v0.45.0
type CreateInvestigationRequest ¶ added in v0.21.0
type CreateInvestigationRequest struct {
Title string `json:"title" binding:"required"`
Summary string `json:"summary" binding:"required"`
RecommendedActions *[]string `json:"recommendedActions,omitempty"`
Markdown string `json:"markdown" binding:"required"`
Tags map[string]string `json:"tags,omitempty"`
IssueStartTime *time.Time `json:"issueStartTime,omitempty"`
IssueEndTime *time.Time `json:"issueEndTime,omitempty"`
ChatHistoryUUID *string `json:"chatHistoryUuid,omitempty"`
// Optional, these ideally should only set by the AI.
IsVisible *bool `json:"isVisible,omitempty"`
MetoroApprovalStatus *string `json:"metoroApprovalStatus,omitempty"`
IssueUUID *string `json:"issueUuid,omitempty"`
InProgress *bool `json:"inProgress,omitempty"`
}
Investigation related types
type CreateUpdateAlertRequest ¶ added in v0.48.0
type CreateUpdateAlertRequest struct {
Alert Alert `json:"alert"`
}
CreateUpdateAlertRequest Request to create a new alert or update an existing one. If alert.metadata.id is provided and matches an existing alert, that alert will be updated.
func NewCreateUpdateAlertRequest ¶ added in v0.48.0
func NewCreateUpdateAlertRequest(alert Alert) *CreateUpdateAlertRequest
NewCreateUpdateAlertRequest instantiates a new CreateUpdateAlertRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateUpdateAlertRequestWithDefaults ¶ added in v0.48.0
func NewCreateUpdateAlertRequestWithDefaults() *CreateUpdateAlertRequest
NewCreateUpdateAlertRequestWithDefaults instantiates a new CreateUpdateAlertRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateUpdateAlertRequest) GetAlert ¶ added in v0.48.0
func (o *CreateUpdateAlertRequest) GetAlert() Alert
GetAlert returns the Alert field value
func (*CreateUpdateAlertRequest) GetAlertOk ¶ added in v0.48.0
func (o *CreateUpdateAlertRequest) GetAlertOk() (*Alert, bool)
GetAlertOk returns a tuple with the Alert field value and a boolean to check if the value has been set.
func (CreateUpdateAlertRequest) MarshalJSON ¶ added in v0.48.0
func (o CreateUpdateAlertRequest) MarshalJSON() ([]byte, error)
func (*CreateUpdateAlertRequest) SetAlert ¶ added in v0.48.0
func (o *CreateUpdateAlertRequest) SetAlert(v Alert)
SetAlert sets field value
func (CreateUpdateAlertRequest) ToMap ¶ added in v0.48.0
func (o CreateUpdateAlertRequest) ToMap() (map[string]interface{}, error)
func (*CreateUpdateAlertRequest) UnmarshalJSON ¶ added in v0.48.0
func (o *CreateUpdateAlertRequest) UnmarshalJSON(data []byte) (err error)
type ExpressionConfig ¶ added in v0.48.0
type ExpressionConfig struct {
MetoroQLTimeseries *MetoroQlTimeseries `json:"metoroQLTimeseries,omitempty"`
}
ExpressionConfig struct for ExpressionConfig
func NewExpressionConfig ¶ added in v0.48.0
func NewExpressionConfig() *ExpressionConfig
NewExpressionConfig instantiates a new ExpressionConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExpressionConfigWithDefaults ¶ added in v0.48.0
func NewExpressionConfigWithDefaults() *ExpressionConfig
NewExpressionConfigWithDefaults instantiates a new ExpressionConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExpressionConfig) GetMetoroQLTimeseries ¶ added in v0.48.0
func (o *ExpressionConfig) GetMetoroQLTimeseries() MetoroQlTimeseries
GetMetoroQLTimeseries returns the MetoroQLTimeseries field value if set, zero value otherwise.
func (*ExpressionConfig) GetMetoroQLTimeseriesOk ¶ added in v0.48.0
func (o *ExpressionConfig) GetMetoroQLTimeseriesOk() (*MetoroQlTimeseries, bool)
GetMetoroQLTimeseriesOk returns a tuple with the MetoroQLTimeseries field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpressionConfig) HasMetoroQLTimeseries ¶ added in v0.48.0
func (o *ExpressionConfig) HasMetoroQLTimeseries() bool
HasMetoroQLTimeseries returns a boolean if a field has been set.
func (ExpressionConfig) MarshalJSON ¶ added in v0.48.0
func (o ExpressionConfig) MarshalJSON() ([]byte, error)
func (*ExpressionConfig) SetMetoroQLTimeseries ¶ added in v0.48.0
func (o *ExpressionConfig) SetMetoroQLTimeseries(v MetoroQlTimeseries)
SetMetoroQLTimeseries gets a reference to the given MetoroQlTimeseries and assigns it to the MetoroQLTimeseries field.
func (ExpressionConfig) ToMap ¶ added in v0.48.0
func (o ExpressionConfig) ToMap() (map[string]interface{}, error)
type ExpressionConfigFiltersInner ¶ added in v0.48.0
type ExpressionConfigFiltersInner struct {
Key *string `json:"key,omitempty"`
Value []string `json:"value,omitempty"`
Operator *string `json:"operator,omitempty"`
}
ExpressionConfigFiltersInner struct for ExpressionConfigFiltersInner
func NewExpressionConfigFiltersInner ¶ added in v0.48.0
func NewExpressionConfigFiltersInner() *ExpressionConfigFiltersInner
NewExpressionConfigFiltersInner instantiates a new ExpressionConfigFiltersInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExpressionConfigFiltersInnerWithDefaults ¶ added in v0.48.0
func NewExpressionConfigFiltersInnerWithDefaults() *ExpressionConfigFiltersInner
NewExpressionConfigFiltersInnerWithDefaults instantiates a new ExpressionConfigFiltersInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExpressionConfigFiltersInner) GetKey ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*ExpressionConfigFiltersInner) GetKeyOk ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpressionConfigFiltersInner) GetOperator ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) GetOperator() string
GetOperator returns the Operator field value if set, zero value otherwise.
func (*ExpressionConfigFiltersInner) GetOperatorOk ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpressionConfigFiltersInner) GetValue ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) GetValue() []string
GetValue returns the Value field value if set, zero value otherwise.
func (*ExpressionConfigFiltersInner) GetValueOk ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) GetValueOk() ([]string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpressionConfigFiltersInner) HasKey ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*ExpressionConfigFiltersInner) HasOperator ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) HasOperator() bool
HasOperator returns a boolean if a field has been set.
func (*ExpressionConfigFiltersInner) HasValue ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ExpressionConfigFiltersInner) MarshalJSON ¶ added in v0.48.0
func (o ExpressionConfigFiltersInner) MarshalJSON() ([]byte, error)
func (*ExpressionConfigFiltersInner) SetKey ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*ExpressionConfigFiltersInner) SetOperator ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) SetOperator(v string)
SetOperator gets a reference to the given string and assigns it to the Operator field.
func (*ExpressionConfigFiltersInner) SetValue ¶ added in v0.48.0
func (o *ExpressionConfigFiltersInner) SetValue(v []string)
SetValue gets a reference to the given []string and assigns it to the Value field.
func (ExpressionConfigFiltersInner) ToMap ¶ added in v0.48.0
func (o ExpressionConfigFiltersInner) ToMap() (map[string]interface{}, error)
type ExpressionConfigMetoroTimeseriesDefinition ¶ added in v0.48.0
type ExpressionConfigMetoroTimeseriesDefinition struct {
// List of timeseries specifiers
TimeseriesSpecifiers []TimeseriesSpecifier `json:"timeseriesSpecifiers,omitempty"`
// A formula to combine multiple timeseries
Formula *string `json:"formula,omitempty"`
}
ExpressionConfigMetoroTimeseriesDefinition Metoro-specific timeseries definition
func NewExpressionConfigMetoroTimeseriesDefinition ¶ added in v0.48.0
func NewExpressionConfigMetoroTimeseriesDefinition() *ExpressionConfigMetoroTimeseriesDefinition
NewExpressionConfigMetoroTimeseriesDefinition instantiates a new ExpressionConfigMetoroTimeseriesDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExpressionConfigMetoroTimeseriesDefinitionWithDefaults ¶ added in v0.48.0
func NewExpressionConfigMetoroTimeseriesDefinitionWithDefaults() *ExpressionConfigMetoroTimeseriesDefinition
NewExpressionConfigMetoroTimeseriesDefinitionWithDefaults instantiates a new ExpressionConfigMetoroTimeseriesDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExpressionConfigMetoroTimeseriesDefinition) GetFormula ¶ added in v0.48.0
func (o *ExpressionConfigMetoroTimeseriesDefinition) GetFormula() string
GetFormula returns the Formula field value if set, zero value otherwise.
func (*ExpressionConfigMetoroTimeseriesDefinition) GetFormulaOk ¶ added in v0.48.0
func (o *ExpressionConfigMetoroTimeseriesDefinition) GetFormulaOk() (*string, bool)
GetFormulaOk returns a tuple with the Formula field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpressionConfigMetoroTimeseriesDefinition) GetTimeseriesSpecifiers ¶ added in v0.48.0
func (o *ExpressionConfigMetoroTimeseriesDefinition) GetTimeseriesSpecifiers() []TimeseriesSpecifier
GetTimeseriesSpecifiers returns the TimeseriesSpecifiers field value if set, zero value otherwise.
func (*ExpressionConfigMetoroTimeseriesDefinition) GetTimeseriesSpecifiersOk ¶ added in v0.48.0
func (o *ExpressionConfigMetoroTimeseriesDefinition) GetTimeseriesSpecifiersOk() ([]TimeseriesSpecifier, bool)
GetTimeseriesSpecifiersOk returns a tuple with the TimeseriesSpecifiers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpressionConfigMetoroTimeseriesDefinition) HasFormula ¶ added in v0.48.0
func (o *ExpressionConfigMetoroTimeseriesDefinition) HasFormula() bool
HasFormula returns a boolean if a field has been set.
func (*ExpressionConfigMetoroTimeseriesDefinition) HasTimeseriesSpecifiers ¶ added in v0.48.0
func (o *ExpressionConfigMetoroTimeseriesDefinition) HasTimeseriesSpecifiers() bool
HasTimeseriesSpecifiers returns a boolean if a field has been set.
func (ExpressionConfigMetoroTimeseriesDefinition) MarshalJSON ¶ added in v0.48.0
func (o ExpressionConfigMetoroTimeseriesDefinition) MarshalJSON() ([]byte, error)
func (*ExpressionConfigMetoroTimeseriesDefinition) SetFormula ¶ added in v0.48.0
func (o *ExpressionConfigMetoroTimeseriesDefinition) SetFormula(v string)
SetFormula gets a reference to the given string and assigns it to the Formula field.
func (*ExpressionConfigMetoroTimeseriesDefinition) SetTimeseriesSpecifiers ¶ added in v0.48.0
func (o *ExpressionConfigMetoroTimeseriesDefinition) SetTimeseriesSpecifiers(v []TimeseriesSpecifier)
SetTimeseriesSpecifiers gets a reference to the given []TimeseriesSpecifier and assigns it to the TimeseriesSpecifiers field.
func (ExpressionConfigMetoroTimeseriesDefinition) ToMap ¶ added in v0.48.0
func (o ExpressionConfigMetoroTimeseriesDefinition) ToMap() (map[string]interface{}, error)
type Formula ¶ added in v0.8.0
type Formula struct {
Formula string `json:"formula" jsonschema:"description=Math expression combining metric results using their formula identifiers"`
}
type FunctionType ¶
type FunctionType string
const ( MonotonicDifference FunctionType = "monotonicDifference" ValueDifference FunctionType = "valueDifference" )
type FuzzyMetricsRequest ¶
type GetAIIssueResponse ¶ added in v0.45.0
type GetAIIssueResponse struct {
Issue AIIssue `json:"issue"`
}
type GetAllNodesRequest ¶
type GetAllNodesRequest struct {
// StartTime Required: Start time of when to get the nodes in seconds since epoch
StartTime int64 `json:"startTime"`
// EndTime Required: End time of when to get the nodes in seconds since epoch
EndTime int64 `json:"endTime"`
// Environments The cluster/environments to get the nodes for. If empty, all clusters will be included
Environments []string `json:"environments"`
// Filters The filters to apply to the nodes, so for example, if you want to get subset of nodes that have a specific label
Filters map[string][]string `json:"filters"`
// ExcludeFilters are filters that should be excluded from the nodes
ExcludeFilters map[string][]string `json:"excludeFilters"`
// Splits is a list of attributes to split the nodes by, for example, if you want to split the nodes a label
Splits []string `json:"splits"`
}
type GetAttributeKeysResponse ¶ added in v0.15.0
type GetAttributeKeysResponse struct {
// The attribute values
Attributes []string `json:"attributes"`
}
type GetAttributeValuesRequest ¶ added in v0.8.0
type GetAttributeValuesRequest struct {
Type MetricType `json:"type"`
Attribute string `json:"attribute"`
Limit *int `json:"limit"`
Metric *GetMetricAttributesRequest `json:"metric,omitempty"`
Trace *TracesSummaryRequest `json:"trace,omitempty"`
Logs *LogSummaryRequest `json:"logs,omitempty"`
Kubernetes *GetKubernetesResourceRequest `json:"kubernetes,omitempty"`
}
type GetK8sEventMetricsRequest ¶
type GetK8sEventMetricsRequest struct {
// Required: Start time of when to get the logs in seconds since epoch
StartTime int64 `json:"startTime"`
// Required: End time of when to get the logs in seconds since epoch
EndTime int64 `json:"endTime"`
// The filters to apply to the logs, so for example, if you want to get logs for a specific service
//you can pass in a filter like {"service_name": ["microservice_a"]}
Filters map[string][]string `json:"filters"`
// The exclude filters to apply to the logs, so for example, if you want to exclude logs for a specific service
//you can pass in a filter like {"service_name": ["microservice_a"]}
ExcludeFilters map[string][]string `json:"excludeFilters"`
// Regexes are used to filter k8s events based on a regex inclusively
Regexes []string `json:"regexes"`
// ExcludeRegexes are used to filter k8s events based on a regex exclusively
ExcludeRegexes []string `json:"excludeRegexes"`
// Splts is a list of attributes to split the metrics by, for example, if you want to split the metrics by service
// you can pass in a list like ["service_name"]
Splits []string `json:"splits"`
// OnlyNumRequests is a flag to only get the number of requests, this is a much faster query
OnlyNumRequests bool `json:"onlyNumRequests"`
// Environments is a list of environments to filter the k8s events by. If empty, all environments will be included
Environments []string `json:"environments"`
}
type GetK8sEventsRequest ¶
type GetK8sEventsRequest struct {
// Required: Start time of when to get the k8s events in seconds since epoch
StartTime int64 `json:"startTime"`
// Required: End time of when to get the k8s events in seconds since epoch
EndTime int64 `json:"endTime"`
// The filters to apply to the k8s events, so for example, if you want to get k8s events for a specific service
// you can pass in a filter like {"service_name": ["microservice_a"]}
Filters map[string][]string `json:"filters"`
// ExcludeFilters are filters that should be excluded from the k8s events
// For example, if you want to get k8s events for all services except microservice_a you can pass in
// {"service_name": ["microservice_a"]}
ExcludeFilters map[string][]string `json:"excludeFilters"`
// Previous page endTime in nanoseconds, used to get the next page of k8s events if there are more k8s events than the page size
// If omitted, the first page of k8s events will be returned
PrevEndTime *int64 `json:"prevEndTime"`
// Regexes are used to filter k8s events based on a regex inclusively
Regexes []string `json:"regexes"`
// ExcludeRegexes are used to filter k8s events based on a regex exclusively
ExcludeRegexes []string `json:"excludeRegexes"`
// Ascending is a flag to determine if the k8s events should be returned in ascending order
Ascending bool `json:"ascending"`
// Environments is the environments to get the k8s events for
Environments []string `json:"environments"`
}
type GetKubernetesResourceRequest ¶ added in v0.8.0
type GetKubernetesResourceRequest struct {
// Required: Start time of when to get the service summaries in seconds since epoch
StartTime int64 `json:"startTime"`
// Required: End time of when to get the service summaries in seconds since epoch
EndTime int64 `json:"endTime"`
// The filters to apply to the kubernetes summary, so for example, if you want to get kubernetess for a specific service
// you can pass in a filter like {"service.name": ["microservice_a"]}
Filters map[string][]string `json:"filters"`
// ExcludeFilters are filters that should be excluded from the kubernetes summary
// For example, if you want to get kubernetess for all services except microservice_a you can pass in
// {"service_name": ["microservice_a"]}
ExcludeFilters map[string][]string `json:"excludeFilters"`
// Splts is a list of attributes to split the metrics by, for example, if you want to split the metrics by service
// you can pass in a list like ["service_name"]
Splits []string `json:"splits"`
// The cluster/environments to get the kubernetes metrics for. If empty, all clusters will be included
Environments []string `json:"environments"`
// Functions is the list of functions to apply to the metric, in the same order that they appear in this array!!
Functions []MetricFunction `json:"functions"`
// LimitResults is a flag to indicate if the results should be limited.
LimitResults bool `json:"limitResults"`
// BucketSize is the size of each datapoint bucket in seconds
BucketSize int64 `json:"bucketSize"`
// Aggregation is the operation to apply to the metrics, for example, if you want to sum the metrics you can pass in "sum"
Aggregation Aggregation `json:"aggregation"`
// JsonPath is a path to pull the json value from the metric
JsonPath *string `json:"jsonPath"`
}
type GetLogMetricRequest ¶ added in v0.8.0
type GetLogMetricRequest struct {
GetLogsRequest
Splits []string `` /* 314-byte string literal not displayed */
Functions []MetricFunction `` /* 390-byte string literal not displayed */
BucketSize int64 `` /* 194-byte string literal not displayed */
}
type GetLogsRequest ¶
type GetLogsRequest struct {
// Required: Start time of when to get the logs in seconds since epoch
StartTime int64 `json:"startTime"`
// Required: End time of when to get the logs in seconds since epoch
EndTime int64 `json:"endTime"`
// The filters to apply to the logs, so for example, if you want to get logs for a specific service
// you can pass in a filter like {"service_name": ["microservice_a"]}
Filters map[string][]string `json:"filters"`
// ExcludeFilters are filters that should be excluded from the logs
// For example, if you want to get logs for all services except microservice_a you can pass in
// {"service_name": ["microservice_a"]}
ExcludeFilters map[string][]string `json:"excludeFilters"`
// Previous page endTime in nanoseconds, used to get the next page of logs if there are more logs than the page size
// If omitted, the first page of logs will be returned
PrevEndTime *int64 `json:"prevEndTime"`
// Regexes are used to filter logs based on a regex inclusively
Regexes []string `json:"regexes"`
// ExcludeRegexes are used to filter logs based on a regex exclusively
ExcludeRegexes []string `json:"excludeRegexes"`
Ascending bool `json:"ascending"`
// The cluster/environments to get the logs for. If empty, all clusters will be included
Environments []string `json:"environments"`
ExportLimit *int `json:"exportLimit,omitempty"` // Optional limit on the number of logs to export, defaults to 100 if not specified
}
type GetLogsResponse ¶ added in v0.28.0
type GetLogsResponse struct {
// The logs that match the filters
Logs []Log `json:"logs"`
}
type GetMetricAttributesRequest ¶ added in v0.8.0
type GetMetricAttributesRequest struct {
// Required: The metric name to get the summary for
MetricName string `json:"metricName"`
// Required: Start time of when to get the service summaries in seconds since epoch
StartTime int64 `json:"startTime"`
// Required: End time of when to get the service summaries in seconds since epoch
EndTime int64 `json:"endTime"`
// Environments is the environments to get the traces for. If empty, all environments will be included
Environments []string `json:"environments"`
}
type GetMetricNamesResponse ¶ added in v0.16.0
type GetMetricNamesResponse struct {
MetricNames []string `json:"metrics"`
}
type GetMetricRequest ¶
type GetMetricRequest struct {
// MetricName is the name of the metric to get
MetricName string `` /* 182-byte string literal not displayed */
// Required: Start time of when to get the logs in seconds since epoch
StartTime int64 `json:"startTime" jsonschema:"required,description=Start time of when to get the metrics in seconds since epoch"`
// Required: End time of when to get the logs in seconds since epoch
EndTime int64 `json:"endTime" jsonschema:"required,description=Start time of when to get the metrics in seconds since epoch"`
// The filters to apply to the logs, so for example, if you want to get logs for a specific service
// you can pass in a filter like {"service_name": ["microservice_a"]}
Filters map[string][]string `json:"filters"`
// The filters to exclude from the logs, so for example, if you want to exclude logs for a specific service
// you can pass in a filter like {"service_name": ["microservice_a"]}
ExcludeFilters map[string][]string `json:"excludeFilters"`
// Splits is a list of attributes to split the metrics by, for example, if you want to split the metrics by service
// you can pass in a list like ["service_name"]
Splits []string `json:"splits"`
// Aggregation is the operation to apply to the metrics, for example, if you want to sum the metrics you can pass in "sum"
Aggregation Aggregation `json:"aggregation"`
// IsRate is a flag to indicate if the metric is a rate metric
IsRate bool `json:"isRate"`
// Functions is the list of functions to apply to the metric, in the same order that they appear in this array!!
Functions []MetricFunction `json:"functions"`
// LimitResults is a flag to indicate if the results should be limited.
LimitResults bool `json:"limitResults"`
// BucketSize is the size of each datapoint bucket in seconds
BucketSize int64 `json:"bucketSize"`
}
type GetMultiMetricRequest ¶ added in v0.8.0
type GetMultiMetricRequest struct {
// Required: Start time of when to get the service summaries in seconds
StartTime int64 `json:"startTime"`
// Required: End time of when to get the service summaries in seconds
EndTime int64 `json:"endTime"`
Metrics []SingleMetricRequest `json:"metrics" jsonschema:"required,description=Array of metrics to get the timeseries data for"`
Formulas []Formula `` /* 201-byte string literal not displayed */
}
type GetPodsRequest ¶
type GetPodsRequest struct {
// Required: Timestamp to get metadata updates after this time
StartTime int64 `json:"startTime"`
// Required: Timestamp to get metadata updates before this time
EndTime int64 `json:"endTime"`
// Optional: Environment to filter the pods by. If not provided, all environments are considered
Environments []string `json:"environments"`
// Optional: ServiceName to get metadata updates. One of ServiceName or NodeName is required
ServiceName string `json:"serviceName"`
// Optional: NodeName to get metadata updates. One of ServiceName or NodeName is required
NodeName string `json:"nodeName"`
}
type GetProfileRequest ¶
type GetProfileRequest struct {
// Required: ServiceName to get profiling for
ServiceName string `json:"serviceName"`
// Optional: ContainerNames to get profiling for
ContainerNames []string `json:"containerNames"`
// Required: Timestamp to get profiling after this time
// Seconds since epoch
StartTime int64 `json:"startTime"`
// Required: Timestamp to get profiling this time
// Seconds since epoch
EndTime int64 `json:"endTime"`
}
type GetServiceSummariesRequest ¶
type GetServiceSummariesRequest struct {
// Required: Start time of when to get the service summaries in seconds
StartTime int64 `json:"startTime"`
// Required: End time of when to get the service summaries in seconds
EndTime int64 `json:"endTime"`
// If empty, all services across all environments will be returned
Environments []string `json:"environments"`
// Required: The namespace of the services to get summaries for. If empty, return services from all namespaces
Namespace string `json:"namespace"`
}
type GetSingleK8sEventSummaryRequest ¶
type GetSingleK8sEventSummaryRequest struct {
GetK8sEventsRequest
// The attribute to get the summary for
Attribute string `json:"attribute"`
}
type GetSingleLogSummaryRequest ¶
type GetSingleLogSummaryRequest struct {
LogSummaryRequest
// The attribute to get the summary for
Attribute string `json:"attribute"`
}
type GetSingleTraceSummaryRequest ¶
type GetSingleTraceSummaryRequest struct {
TracesSummaryRequest
// The attribute to get the summary for
Attribute string `json:"attribute"`
}
type GetTraceMetricRequest ¶
type GetTraceMetricRequest struct {
// Required: Start time of when to get the logs in seconds since epoch
StartTime int64 `json:"startTime"`
// Required: End time of when to get the logs in seconds since epoch
EndTime int64 `json:"endTime"`
// Optional: The name of the service to get the trace metrics for
// Acts as an additional filter
ServiceNames []string `json:"serviceNames"`
// The filters to apply to the logs, so for example, if you want to get logs for a specific service
//you can pass in a filter like {"service_name": ["microservice_a"]}
Filters map[string][]string `json:"filters"`
// The exclude filters to apply to the logs, so for example, if you want to exclude logs for a specific service
//you can pass in a filter like {"service_name": ["microservice_a"]}
ExcludeFilters map[string][]string `json:"excludeFilters"`
// Regexes are used to filter traces based on a regex inclusively
Regexes []string `json:"regexes"`
// ExcludeRegexes are used to filter traces based on a regex exclusively
ExcludeRegexes []string `json:"excludeRegexes"`
// Splts is a list of attributes to split the metrics by, for example, if you want to split the metrics by service
// you can pass in a list like ["service_name"]
Splits []string `json:"splits"`
// Functions is the array of function to apply to the trace metrics,
//for example, if you want to get the monotonic difference between count of traces each minute.
// Functions are applied in the same order that they appear in this array
Functions []MetricFunction `json:"functions"`
// Aggregate to apply to trace metrics, for example, if you want to sum the metrics you can pass in "sum"
Aggregate Aggregation `json:"aggregate"`
// Environments is a list of environments to filter the traces by. If empty, all environments will be included
Environments []string `json:"environments"`
// LimitResults is a flag to indicate if the results should be limited.
LimitResults bool `json:"limitResults"`
// BucketSize is the size of each datapoint bucket in seconds
BucketSize int64 `json:"bucketSize"`
}
type GetTracesRequest ¶
type GetTracesRequest struct {
ServiceNames []string `json:"serviceNames"`
StartTime int64 `json:"startTime"`
EndTime int64 `json:"endTime"`
Filters map[string][]string `json:"filters"`
ExcludeFilters map[string][]string `json:"excludeFilters"`
PrevEndTime *int64 `json:"prevEndTime"`
Regexes []string `json:"regexes"`
ExcludeRegexes []string `json:"excludeRegexes"`
Ascending bool `json:"ascending"`
Environments []string `json:"environments"`
Limit *int `json:"limit,omitempty"` // Optional limit on the number of traces to return
}
type GetTracesResponse ¶ added in v0.28.0
type GetTracesResponse struct {
// The traces that match the filters
Traces []TraceEl `json:"traces"`
}
type GroupWidget ¶ added in v0.4.0
type GroupWidget struct {
Widget `json:",inline"`
Title *string `json:"title,omitempty" jsonschema:"description=The title of the group widget if present"`
Children []MetricChartWidget `json:"children" jsonschema:"description=The children widgets of the group widget. The children are MetricChartWidgets."`
}
GroupWidget represents a group of widgets
type ListAIIssueEventsResponse ¶ added in v0.47.0
type ListAIIssueEventsResponse struct {
Events []AIIssueEvent `json:"events"`
}
type ListAIIssuesResponse ¶ added in v0.45.0
type ListAIIssuesResponse struct {
Issues []AIIssue `json:"issues"`
}
type Log ¶ added in v0.28.0
type Log struct {
// The time that the log line was emitted in milliseconds since the epoch
Time int64 `json:"time"`
// The severity of the log line
Severity string `json:"severity"`
// The log message
Message string `json:"message"`
// The attributes of the log line
LogAttributes map[string]string `json:"logAttributes"`
// The attributes of the resource that emitted the log line
ResourceAttributes map[string]string `json:"resourceAttributes"`
// Service name
ServiceName string `json:"serviceName"`
// Environment
Environment string `json:"environment"`
}
type LogSummaryRequest ¶
type LogSummaryRequest struct {
// Required: Start time of when to get the service summaries in seconds since epoch
StartTime int64 `json:"startTime"`
// Required: End time of when to get the service summaries in seconds since epoch
EndTime int64 `json:"endTime"`
// The filters to apply to the log summary, so for example, if you want to get logs for a specific service
// you can pass in a filter like {"service_name": ["microservice_a"]}
Filters map[string][]string `json:"filters"`
ExcludeFilters map[string][]string `json:"excludeFilters"`
// RegexFilter is a regex to filter the logs
Regexes []string `json:"regexes"`
ExcludeRegexes []string `json:"excludeRegexes"`
// The cluster/environments to get the logs for. If empty, all clusters will be included
Environments []string `json:"environments"`
}
type MappedNullable ¶ added in v0.48.0
type MarkdownWidget ¶ added in v0.4.0
MarkdownWidget represents a markdown content widget
type MathExpression ¶
type MetadataObject ¶ added in v0.48.0
type MetadataObject struct {
// Name of the alert
Name string `json:"name"`
// Description of the alert with additional context
Description *string `json:"description,omitempty"`
// Unique identifier for the alert.
Id string `json:"id"`
}
MetadataObject struct for MetadataObject
func NewMetadataObject ¶ added in v0.48.0
func NewMetadataObject(name string, id string) *MetadataObject
NewMetadataObject instantiates a new MetadataObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetadataObjectWithDefaults ¶ added in v0.48.0
func NewMetadataObjectWithDefaults() *MetadataObject
NewMetadataObjectWithDefaults instantiates a new MetadataObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetadataObject) GetDescription ¶ added in v0.48.0
func (o *MetadataObject) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MetadataObject) GetDescriptionOk ¶ added in v0.48.0
func (o *MetadataObject) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetadataObject) GetId ¶ added in v0.48.0
func (o *MetadataObject) GetId() string
GetId returns the Id field value
func (*MetadataObject) GetIdOk ¶ added in v0.48.0
func (o *MetadataObject) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MetadataObject) GetName ¶ added in v0.48.0
func (o *MetadataObject) GetName() string
GetName returns the Name field value
func (*MetadataObject) GetNameOk ¶ added in v0.48.0
func (o *MetadataObject) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MetadataObject) HasDescription ¶ added in v0.48.0
func (o *MetadataObject) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (MetadataObject) MarshalJSON ¶ added in v0.48.0
func (o MetadataObject) MarshalJSON() ([]byte, error)
func (*MetadataObject) SetDescription ¶ added in v0.48.0
func (o *MetadataObject) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MetadataObject) SetId ¶ added in v0.48.0
func (o *MetadataObject) SetId(v string)
SetId sets field value
func (*MetadataObject) SetName ¶ added in v0.48.0
func (o *MetadataObject) SetName(v string)
SetName sets field value
func (MetadataObject) ToMap ¶ added in v0.48.0
func (o MetadataObject) ToMap() (map[string]interface{}, error)
func (*MetadataObject) UnmarshalJSON ¶ added in v0.48.0
func (o *MetadataObject) UnmarshalJSON(data []byte) (err error)
type MetoroQlTimeseries ¶ added in v0.48.0
type MetoroQlTimeseries struct {
// MetoroQL query to use for the timeseries.
Query string `json:"query"`
// The size of each bucket to aggregate data into in seconds. For example, if the bucket size is 60, the data will be aggregated into 1 minute buckets.
BucketSize int64 `json:"bucketSize"`
}
MetoroQlTimeseries struct for MetoroQlTimeseries
func NewMetoroQlTimeseries ¶ added in v0.48.0
func NewMetoroQlTimeseries(query string, bucketSize int64) *MetoroQlTimeseries
NewMetoroQlTimeseries instantiates a new MetoroQlTimeseries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetoroQlTimeseriesWithDefaults ¶ added in v0.48.0
func NewMetoroQlTimeseriesWithDefaults() *MetoroQlTimeseries
NewMetoroQlTimeseriesWithDefaults instantiates a new MetoroQlTimeseries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetoroQlTimeseries) GetBucketSize ¶ added in v0.48.0
func (o *MetoroQlTimeseries) GetBucketSize() int64
GetBucketSize returns the BucketSize field value
func (*MetoroQlTimeseries) GetBucketSizeOk ¶ added in v0.48.0
func (o *MetoroQlTimeseries) GetBucketSizeOk() (*int64, bool)
GetBucketSizeOk returns a tuple with the BucketSize field value and a boolean to check if the value has been set.
func (*MetoroQlTimeseries) GetQuery ¶ added in v0.48.0
func (o *MetoroQlTimeseries) GetQuery() string
GetQuery returns the Query field value
func (*MetoroQlTimeseries) GetQueryOk ¶ added in v0.48.0
func (o *MetoroQlTimeseries) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (MetoroQlTimeseries) MarshalJSON ¶ added in v0.48.0
func (o MetoroQlTimeseries) MarshalJSON() ([]byte, error)
func (*MetoroQlTimeseries) SetBucketSize ¶ added in v0.48.0
func (o *MetoroQlTimeseries) SetBucketSize(v int64)
SetBucketSize sets field value
func (*MetoroQlTimeseries) SetQuery ¶ added in v0.48.0
func (o *MetoroQlTimeseries) SetQuery(v string)
SetQuery sets field value
func (MetoroQlTimeseries) ToMap ¶ added in v0.48.0
func (o MetoroQlTimeseries) ToMap() (map[string]interface{}, error)
func (*MetoroQlTimeseries) UnmarshalJSON ¶ added in v0.48.0
func (o *MetoroQlTimeseries) UnmarshalJSON(data []byte) (err error)
type MetricAttributesRequest ¶
type MetricChartWidget ¶ added in v0.4.0
type MetricChartWidget struct {
Widget `json:",inline"`
MetricName string `` /* 300-byte string literal not displayed */
Filters map[string][]string `` /* 188-byte string literal not displayed */
ExcludeFilters map[string][]string `` /* 211-byte string literal not displayed */
Splits []string `` /* 302-byte string literal not displayed */
Aggregation string `` /* 191-byte string literal not displayed */
Title *string `json:"title,omitempty" jsonschema:"description=The title of the metric chart widget if present"`
Type ChartType `json:"type" jsonschema:"description=The type of the chart to display. Possible values are line / bar."`
MetricType MetricType `` /* 164-byte string literal not displayed */
Functions []MetricFunction `` /* 184-byte string literal not displayed */
}
MetricChartWidget represents a metric chart widget
type MetricFunction ¶
type MetricFunction struct {
// The type of the function
FunctionType FunctionType `` /* 272-byte string literal not displayed */
}
type MetricSpecifier ¶ added in v0.48.0
type MetricSpecifier struct {
MetricType MetricType `` /* 195-byte string literal not displayed */
MetricName string `` /* 321-byte string literal not displayed */
Filters map[string][]string `` /* 287-byte string literal not displayed */
ExcludeFilters map[string][]string `` /* 296-byte string literal not displayed */
Regexes []string `` /* 384-byte string literal not displayed */
ExcludeRegexes []string `` /* 417-byte string literal not displayed */
Splits []string `` /* 381-byte string literal not displayed */
Aggregation Aggregation `` /* 572-byte string literal not displayed */
BucketSize int64 `` /* 194-byte string literal not displayed */
Functions []MetricFunction `` /* 534-byte string literal not displayed */
//JsonPath *string `json:"jsonPath"`
ShouldNotReturn bool `` /* 262-byte string literal not displayed */
}
type MetricSpecifierToMetoroQLResponse ¶ added in v0.48.0
type MetricSpecifierToMetoroQLResponse struct {
Queries []string `json:"queries"`
}
type MetricSpecifiersRequest ¶ added in v0.48.0
type MetricSpecifiersRequest struct {
MetricSpecifiers []MetricSpecifier `json:"metricSpecifiers" binding:"required"`
Formulas []Formula `json:"formulas"`
}
type MetricType ¶ added in v0.4.0
type MetricType string
const ( Metric MetricType = "metric" // please excuse the bad naming... this is a metric timeseries type. Trace MetricType = "trace" // trace timeseries type. Logs MetricType = "logs" // log timeseries type. KubernetesResource MetricType = "kubernetes_resource" // kubernetes resource timeseries type. )
type MultiMetricAttributeKeysRequest ¶ added in v0.8.0
type MultiMetricAttributeKeysRequest struct {
Type string `json:"type"`
Metric *GetMetricAttributesRequest `json:"metric,omitempty"`
}
type NullableAction ¶ added in v0.48.0
type NullableAction struct {
// contains filtered or unexported fields
}
func NewNullableAction ¶ added in v0.48.0
func NewNullableAction(val *Action) *NullableAction
func (NullableAction) Get ¶ added in v0.48.0
func (v NullableAction) Get() *Action
func (NullableAction) IsSet ¶ added in v0.48.0
func (v NullableAction) IsSet() bool
func (NullableAction) MarshalJSON ¶ added in v0.48.0
func (v NullableAction) MarshalJSON() ([]byte, error)
func (*NullableAction) Set ¶ added in v0.48.0
func (v *NullableAction) Set(val *Action)
func (*NullableAction) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableAction) UnmarshalJSON(src []byte) error
func (*NullableAction) Unset ¶ added in v0.48.0
func (v *NullableAction) Unset()
type NullableActionEmailDestination ¶ added in v0.48.0
type NullableActionEmailDestination struct {
// contains filtered or unexported fields
}
func NewNullableActionEmailDestination ¶ added in v0.48.0
func NewNullableActionEmailDestination(val *ActionEmailDestination) *NullableActionEmailDestination
func (NullableActionEmailDestination) Get ¶ added in v0.48.0
func (v NullableActionEmailDestination) Get() *ActionEmailDestination
func (NullableActionEmailDestination) IsSet ¶ added in v0.48.0
func (v NullableActionEmailDestination) IsSet() bool
func (NullableActionEmailDestination) MarshalJSON ¶ added in v0.48.0
func (v NullableActionEmailDestination) MarshalJSON() ([]byte, error)
func (*NullableActionEmailDestination) Set ¶ added in v0.48.0
func (v *NullableActionEmailDestination) Set(val *ActionEmailDestination)
func (*NullableActionEmailDestination) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableActionEmailDestination) UnmarshalJSON(src []byte) error
func (*NullableActionEmailDestination) Unset ¶ added in v0.48.0
func (v *NullableActionEmailDestination) Unset()
type NullableActionPagerDutyDestination ¶ added in v0.48.0
type NullableActionPagerDutyDestination struct {
// contains filtered or unexported fields
}
func NewNullableActionPagerDutyDestination ¶ added in v0.48.0
func NewNullableActionPagerDutyDestination(val *ActionPagerDutyDestination) *NullableActionPagerDutyDestination
func (NullableActionPagerDutyDestination) Get ¶ added in v0.48.0
func (v NullableActionPagerDutyDestination) Get() *ActionPagerDutyDestination
func (NullableActionPagerDutyDestination) IsSet ¶ added in v0.48.0
func (v NullableActionPagerDutyDestination) IsSet() bool
func (NullableActionPagerDutyDestination) MarshalJSON ¶ added in v0.48.0
func (v NullableActionPagerDutyDestination) MarshalJSON() ([]byte, error)
func (*NullableActionPagerDutyDestination) Set ¶ added in v0.48.0
func (v *NullableActionPagerDutyDestination) Set(val *ActionPagerDutyDestination)
func (*NullableActionPagerDutyDestination) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableActionPagerDutyDestination) UnmarshalJSON(src []byte) error
func (*NullableActionPagerDutyDestination) Unset ¶ added in v0.48.0
func (v *NullableActionPagerDutyDestination) Unset()
type NullableActionSlackDestination ¶ added in v0.48.0
type NullableActionSlackDestination struct {
// contains filtered or unexported fields
}
func NewNullableActionSlackDestination ¶ added in v0.48.0
func NewNullableActionSlackDestination(val *ActionSlackDestination) *NullableActionSlackDestination
func (NullableActionSlackDestination) Get ¶ added in v0.48.0
func (v NullableActionSlackDestination) Get() *ActionSlackDestination
func (NullableActionSlackDestination) IsSet ¶ added in v0.48.0
func (v NullableActionSlackDestination) IsSet() bool
func (NullableActionSlackDestination) MarshalJSON ¶ added in v0.48.0
func (v NullableActionSlackDestination) MarshalJSON() ([]byte, error)
func (*NullableActionSlackDestination) Set ¶ added in v0.48.0
func (v *NullableActionSlackDestination) Set(val *ActionSlackDestination)
func (*NullableActionSlackDestination) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableActionSlackDestination) UnmarshalJSON(src []byte) error
func (*NullableActionSlackDestination) Unset ¶ added in v0.48.0
func (v *NullableActionSlackDestination) Unset()
type NullableActionWebhookDestination ¶ added in v0.48.0
type NullableActionWebhookDestination struct {
// contains filtered or unexported fields
}
func NewNullableActionWebhookDestination ¶ added in v0.48.0
func NewNullableActionWebhookDestination(val *ActionWebhookDestination) *NullableActionWebhookDestination
func (NullableActionWebhookDestination) Get ¶ added in v0.48.0
func (v NullableActionWebhookDestination) Get() *ActionWebhookDestination
func (NullableActionWebhookDestination) IsSet ¶ added in v0.48.0
func (v NullableActionWebhookDestination) IsSet() bool
func (NullableActionWebhookDestination) MarshalJSON ¶ added in v0.48.0
func (v NullableActionWebhookDestination) MarshalJSON() ([]byte, error)
func (*NullableActionWebhookDestination) Set ¶ added in v0.48.0
func (v *NullableActionWebhookDestination) Set(val *ActionWebhookDestination)
func (*NullableActionWebhookDestination) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableActionWebhookDestination) UnmarshalJSON(src []byte) error
func (*NullableActionWebhookDestination) Unset ¶ added in v0.48.0
func (v *NullableActionWebhookDestination) Unset()
type NullableAlert ¶ added in v0.48.0
type NullableAlert struct {
// contains filtered or unexported fields
}
func NewNullableAlert ¶ added in v0.48.0
func NewNullableAlert(val *Alert) *NullableAlert
func (NullableAlert) Get ¶ added in v0.48.0
func (v NullableAlert) Get() *Alert
func (NullableAlert) IsSet ¶ added in v0.48.0
func (v NullableAlert) IsSet() bool
func (NullableAlert) MarshalJSON ¶ added in v0.48.0
func (v NullableAlert) MarshalJSON() ([]byte, error)
func (*NullableAlert) Set ¶ added in v0.48.0
func (v *NullableAlert) Set(val *Alert)
func (*NullableAlert) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableAlert) UnmarshalJSON(src []byte) error
func (*NullableAlert) Unset ¶ added in v0.48.0
func (v *NullableAlert) Unset()
type NullableAlertType ¶ added in v0.48.0
type NullableAlertType struct {
// contains filtered or unexported fields
}
func NewNullableAlertType ¶ added in v0.48.0
func NewNullableAlertType(val *AlertType) *NullableAlertType
func (NullableAlertType) Get ¶ added in v0.48.0
func (v NullableAlertType) Get() *AlertType
func (NullableAlertType) IsSet ¶ added in v0.48.0
func (v NullableAlertType) IsSet() bool
func (NullableAlertType) MarshalJSON ¶ added in v0.48.0
func (v NullableAlertType) MarshalJSON() ([]byte, error)
func (*NullableAlertType) Set ¶ added in v0.48.0
func (v *NullableAlertType) Set(val *AlertType)
func (*NullableAlertType) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableAlertType) UnmarshalJSON(src []byte) error
func (*NullableAlertType) Unset ¶ added in v0.48.0
func (v *NullableAlertType) Unset()
type NullableBool ¶ added in v0.48.0
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶ added in v0.48.0
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶ added in v0.48.0
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶ added in v0.48.0
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶ added in v0.48.0
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶ added in v0.48.0
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶ added in v0.48.0
func (v *NullableBool) Unset()
type NullableCondition ¶ added in v0.48.0
type NullableCondition struct {
// contains filtered or unexported fields
}
func NewNullableCondition ¶ added in v0.48.0
func NewNullableCondition(val *Condition) *NullableCondition
func (NullableCondition) Get ¶ added in v0.48.0
func (v NullableCondition) Get() *Condition
func (NullableCondition) IsSet ¶ added in v0.48.0
func (v NullableCondition) IsSet() bool
func (NullableCondition) MarshalJSON ¶ added in v0.48.0
func (v NullableCondition) MarshalJSON() ([]byte, error)
func (*NullableCondition) Set ¶ added in v0.48.0
func (v *NullableCondition) Set(val *Condition)
func (*NullableCondition) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableCondition) UnmarshalJSON(src []byte) error
func (*NullableCondition) Unset ¶ added in v0.48.0
func (v *NullableCondition) Unset()
type NullableConditionType ¶ added in v0.48.0
type NullableConditionType struct {
// contains filtered or unexported fields
}
func NewNullableConditionType ¶ added in v0.48.0
func NewNullableConditionType(val *ConditionType) *NullableConditionType
func (NullableConditionType) Get ¶ added in v0.48.0
func (v NullableConditionType) Get() *ConditionType
func (NullableConditionType) IsSet ¶ added in v0.48.0
func (v NullableConditionType) IsSet() bool
func (NullableConditionType) MarshalJSON ¶ added in v0.48.0
func (v NullableConditionType) MarshalJSON() ([]byte, error)
func (*NullableConditionType) Set ¶ added in v0.48.0
func (v *NullableConditionType) Set(val *ConditionType)
func (*NullableConditionType) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableConditionType) UnmarshalJSON(src []byte) error
func (*NullableConditionType) Unset ¶ added in v0.48.0
func (v *NullableConditionType) Unset()
type NullableCreateUpdateAlertRequest ¶ added in v0.48.0
type NullableCreateUpdateAlertRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateUpdateAlertRequest ¶ added in v0.48.0
func NewNullableCreateUpdateAlertRequest(val *CreateUpdateAlertRequest) *NullableCreateUpdateAlertRequest
func (NullableCreateUpdateAlertRequest) Get ¶ added in v0.48.0
func (v NullableCreateUpdateAlertRequest) Get() *CreateUpdateAlertRequest
func (NullableCreateUpdateAlertRequest) IsSet ¶ added in v0.48.0
func (v NullableCreateUpdateAlertRequest) IsSet() bool
func (NullableCreateUpdateAlertRequest) MarshalJSON ¶ added in v0.48.0
func (v NullableCreateUpdateAlertRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateUpdateAlertRequest) Set ¶ added in v0.48.0
func (v *NullableCreateUpdateAlertRequest) Set(val *CreateUpdateAlertRequest)
func (*NullableCreateUpdateAlertRequest) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableCreateUpdateAlertRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateUpdateAlertRequest) Unset ¶ added in v0.48.0
func (v *NullableCreateUpdateAlertRequest) Unset()
type NullableExpressionConfig ¶ added in v0.48.0
type NullableExpressionConfig struct {
// contains filtered or unexported fields
}
func NewNullableExpressionConfig ¶ added in v0.48.0
func NewNullableExpressionConfig(val *ExpressionConfig) *NullableExpressionConfig
func (NullableExpressionConfig) Get ¶ added in v0.48.0
func (v NullableExpressionConfig) Get() *ExpressionConfig
func (NullableExpressionConfig) IsSet ¶ added in v0.48.0
func (v NullableExpressionConfig) IsSet() bool
func (NullableExpressionConfig) MarshalJSON ¶ added in v0.48.0
func (v NullableExpressionConfig) MarshalJSON() ([]byte, error)
func (*NullableExpressionConfig) Set ¶ added in v0.48.0
func (v *NullableExpressionConfig) Set(val *ExpressionConfig)
func (*NullableExpressionConfig) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableExpressionConfig) UnmarshalJSON(src []byte) error
func (*NullableExpressionConfig) Unset ¶ added in v0.48.0
func (v *NullableExpressionConfig) Unset()
type NullableExpressionConfigFiltersInner ¶ added in v0.48.0
type NullableExpressionConfigFiltersInner struct {
// contains filtered or unexported fields
}
func NewNullableExpressionConfigFiltersInner ¶ added in v0.48.0
func NewNullableExpressionConfigFiltersInner(val *ExpressionConfigFiltersInner) *NullableExpressionConfigFiltersInner
func (NullableExpressionConfigFiltersInner) Get ¶ added in v0.48.0
func (v NullableExpressionConfigFiltersInner) Get() *ExpressionConfigFiltersInner
func (NullableExpressionConfigFiltersInner) IsSet ¶ added in v0.48.0
func (v NullableExpressionConfigFiltersInner) IsSet() bool
func (NullableExpressionConfigFiltersInner) MarshalJSON ¶ added in v0.48.0
func (v NullableExpressionConfigFiltersInner) MarshalJSON() ([]byte, error)
func (*NullableExpressionConfigFiltersInner) Set ¶ added in v0.48.0
func (v *NullableExpressionConfigFiltersInner) Set(val *ExpressionConfigFiltersInner)
func (*NullableExpressionConfigFiltersInner) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableExpressionConfigFiltersInner) UnmarshalJSON(src []byte) error
func (*NullableExpressionConfigFiltersInner) Unset ¶ added in v0.48.0
func (v *NullableExpressionConfigFiltersInner) Unset()
type NullableExpressionConfigMetoroTimeseriesDefinition ¶ added in v0.48.0
type NullableExpressionConfigMetoroTimeseriesDefinition struct {
// contains filtered or unexported fields
}
func NewNullableExpressionConfigMetoroTimeseriesDefinition ¶ added in v0.48.0
func NewNullableExpressionConfigMetoroTimeseriesDefinition(val *ExpressionConfigMetoroTimeseriesDefinition) *NullableExpressionConfigMetoroTimeseriesDefinition
func (NullableExpressionConfigMetoroTimeseriesDefinition) IsSet ¶ added in v0.48.0
func (v NullableExpressionConfigMetoroTimeseriesDefinition) IsSet() bool
func (NullableExpressionConfigMetoroTimeseriesDefinition) MarshalJSON ¶ added in v0.48.0
func (v NullableExpressionConfigMetoroTimeseriesDefinition) MarshalJSON() ([]byte, error)
func (*NullableExpressionConfigMetoroTimeseriesDefinition) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableExpressionConfigMetoroTimeseriesDefinition) UnmarshalJSON(src []byte) error
func (*NullableExpressionConfigMetoroTimeseriesDefinition) Unset ¶ added in v0.48.0
func (v *NullableExpressionConfigMetoroTimeseriesDefinition) Unset()
type NullableFloat32 ¶ added in v0.48.0
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶ added in v0.48.0
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶ added in v0.48.0
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶ added in v0.48.0
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶ added in v0.48.0
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶ added in v0.48.0
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶ added in v0.48.0
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶ added in v0.48.0
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶ added in v0.48.0
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶ added in v0.48.0
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶ added in v0.48.0
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶ added in v0.48.0
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶ added in v0.48.0
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶ added in v0.48.0
func (v *NullableFloat64) Unset()
type NullableInt ¶ added in v0.48.0
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶ added in v0.48.0
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶ added in v0.48.0
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶ added in v0.48.0
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶ added in v0.48.0
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶ added in v0.48.0
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶ added in v0.48.0
func (v *NullableInt) Unset()
type NullableInt32 ¶ added in v0.48.0
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶ added in v0.48.0
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶ added in v0.48.0
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶ added in v0.48.0
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶ added in v0.48.0
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶ added in v0.48.0
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶ added in v0.48.0
func (v *NullableInt32) Unset()
type NullableInt64 ¶ added in v0.48.0
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶ added in v0.48.0
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶ added in v0.48.0
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶ added in v0.48.0
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶ added in v0.48.0
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶ added in v0.48.0
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶ added in v0.48.0
func (v *NullableInt64) Unset()
type NullableMetadataObject ¶ added in v0.48.0
type NullableMetadataObject struct {
// contains filtered or unexported fields
}
func NewNullableMetadataObject ¶ added in v0.48.0
func NewNullableMetadataObject(val *MetadataObject) *NullableMetadataObject
func (NullableMetadataObject) Get ¶ added in v0.48.0
func (v NullableMetadataObject) Get() *MetadataObject
func (NullableMetadataObject) IsSet ¶ added in v0.48.0
func (v NullableMetadataObject) IsSet() bool
func (NullableMetadataObject) MarshalJSON ¶ added in v0.48.0
func (v NullableMetadataObject) MarshalJSON() ([]byte, error)
func (*NullableMetadataObject) Set ¶ added in v0.48.0
func (v *NullableMetadataObject) Set(val *MetadataObject)
func (*NullableMetadataObject) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableMetadataObject) UnmarshalJSON(src []byte) error
func (*NullableMetadataObject) Unset ¶ added in v0.48.0
func (v *NullableMetadataObject) Unset()
type NullableMetoroQlTimeseries ¶ added in v0.48.0
type NullableMetoroQlTimeseries struct {
// contains filtered or unexported fields
}
func NewNullableMetoroQlTimeseries ¶ added in v0.48.0
func NewNullableMetoroQlTimeseries(val *MetoroQlTimeseries) *NullableMetoroQlTimeseries
func (NullableMetoroQlTimeseries) Get ¶ added in v0.48.0
func (v NullableMetoroQlTimeseries) Get() *MetoroQlTimeseries
func (NullableMetoroQlTimeseries) IsSet ¶ added in v0.48.0
func (v NullableMetoroQlTimeseries) IsSet() bool
func (NullableMetoroQlTimeseries) MarshalJSON ¶ added in v0.48.0
func (v NullableMetoroQlTimeseries) MarshalJSON() ([]byte, error)
func (*NullableMetoroQlTimeseries) Set ¶ added in v0.48.0
func (v *NullableMetoroQlTimeseries) Set(val *MetoroQlTimeseries)
func (*NullableMetoroQlTimeseries) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableMetoroQlTimeseries) UnmarshalJSON(src []byte) error
func (*NullableMetoroQlTimeseries) Unset ¶ added in v0.48.0
func (v *NullableMetoroQlTimeseries) Unset()
type NullableOperatorConfig ¶ added in v0.48.0
type NullableOperatorConfig struct {
// contains filtered or unexported fields
}
func NewNullableOperatorConfig ¶ added in v0.48.0
func NewNullableOperatorConfig(val *OperatorConfig) *NullableOperatorConfig
func (NullableOperatorConfig) Get ¶ added in v0.48.0
func (v NullableOperatorConfig) Get() *OperatorConfig
func (NullableOperatorConfig) IsSet ¶ added in v0.48.0
func (v NullableOperatorConfig) IsSet() bool
func (NullableOperatorConfig) MarshalJSON ¶ added in v0.48.0
func (v NullableOperatorConfig) MarshalJSON() ([]byte, error)
func (*NullableOperatorConfig) Set ¶ added in v0.48.0
func (v *NullableOperatorConfig) Set(val *OperatorConfig)
func (*NullableOperatorConfig) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableOperatorConfig) UnmarshalJSON(src []byte) error
func (*NullableOperatorConfig) Unset ¶ added in v0.48.0
func (v *NullableOperatorConfig) Unset()
type NullableOperatorType ¶ added in v0.48.0
type NullableOperatorType struct {
// contains filtered or unexported fields
}
func NewNullableOperatorType ¶ added in v0.48.0
func NewNullableOperatorType(val *OperatorType) *NullableOperatorType
func (NullableOperatorType) Get ¶ added in v0.48.0
func (v NullableOperatorType) Get() *OperatorType
func (NullableOperatorType) IsSet ¶ added in v0.48.0
func (v NullableOperatorType) IsSet() bool
func (NullableOperatorType) MarshalJSON ¶ added in v0.48.0
func (v NullableOperatorType) MarshalJSON() ([]byte, error)
func (*NullableOperatorType) Set ¶ added in v0.48.0
func (v *NullableOperatorType) Set(val *OperatorType)
func (*NullableOperatorType) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableOperatorType) UnmarshalJSON(src []byte) error
func (*NullableOperatorType) Unset ¶ added in v0.48.0
func (v *NullableOperatorType) Unset()
type NullablePersistenceSettings ¶ added in v0.48.0
type NullablePersistenceSettings struct {
// contains filtered or unexported fields
}
func NewNullablePersistenceSettings ¶ added in v0.48.0
func NewNullablePersistenceSettings(val *PersistenceSettings) *NullablePersistenceSettings
func (NullablePersistenceSettings) Get ¶ added in v0.48.0
func (v NullablePersistenceSettings) Get() *PersistenceSettings
func (NullablePersistenceSettings) IsSet ¶ added in v0.48.0
func (v NullablePersistenceSettings) IsSet() bool
func (NullablePersistenceSettings) MarshalJSON ¶ added in v0.48.0
func (v NullablePersistenceSettings) MarshalJSON() ([]byte, error)
func (*NullablePersistenceSettings) Set ¶ added in v0.48.0
func (v *NullablePersistenceSettings) Set(val *PersistenceSettings)
func (*NullablePersistenceSettings) UnmarshalJSON ¶ added in v0.48.0
func (v *NullablePersistenceSettings) UnmarshalJSON(src []byte) error
func (*NullablePersistenceSettings) Unset ¶ added in v0.48.0
func (v *NullablePersistenceSettings) Unset()
type NullableStaticCondition ¶ added in v0.48.0
type NullableStaticCondition struct {
// contains filtered or unexported fields
}
func NewNullableStaticCondition ¶ added in v0.48.0
func NewNullableStaticCondition(val *StaticCondition) *NullableStaticCondition
func (NullableStaticCondition) Get ¶ added in v0.48.0
func (v NullableStaticCondition) Get() *StaticCondition
func (NullableStaticCondition) IsSet ¶ added in v0.48.0
func (v NullableStaticCondition) IsSet() bool
func (NullableStaticCondition) MarshalJSON ¶ added in v0.48.0
func (v NullableStaticCondition) MarshalJSON() ([]byte, error)
func (*NullableStaticCondition) Set ¶ added in v0.48.0
func (v *NullableStaticCondition) Set(val *StaticCondition)
func (*NullableStaticCondition) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableStaticCondition) UnmarshalJSON(src []byte) error
func (*NullableStaticCondition) Unset ¶ added in v0.48.0
func (v *NullableStaticCondition) Unset()
type NullableString ¶ added in v0.48.0
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶ added in v0.48.0
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶ added in v0.48.0
func (v NullableString) Get() *string
func (NullableString) IsSet ¶ added in v0.48.0
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶ added in v0.48.0
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶ added in v0.48.0
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶ added in v0.48.0
func (v *NullableString) Unset()
type NullableTime ¶ added in v0.48.0
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶ added in v0.48.0
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶ added in v0.48.0
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶ added in v0.48.0
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶ added in v0.48.0
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶ added in v0.48.0
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶ added in v0.48.0
func (v *NullableTime) Unset()
type NullableTimeseriesConfig ¶ added in v0.48.0
type NullableTimeseriesConfig struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesConfig ¶ added in v0.48.0
func NewNullableTimeseriesConfig(val *TimeseriesConfig) *NullableTimeseriesConfig
func (NullableTimeseriesConfig) Get ¶ added in v0.48.0
func (v NullableTimeseriesConfig) Get() *TimeseriesConfig
func (NullableTimeseriesConfig) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesConfig) IsSet() bool
func (NullableTimeseriesConfig) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesConfig) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesConfig) Set ¶ added in v0.48.0
func (v *NullableTimeseriesConfig) Set(val *TimeseriesConfig)
func (*NullableTimeseriesConfig) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesConfig) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesConfig) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesConfig) Unset()
type NullableTimeseriesConfigExpression ¶ added in v0.48.0
type NullableTimeseriesConfigExpression struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesConfigExpression ¶ added in v0.48.0
func NewNullableTimeseriesConfigExpression(val *TimeseriesConfigExpression) *NullableTimeseriesConfigExpression
func (NullableTimeseriesConfigExpression) Get ¶ added in v0.48.0
func (v NullableTimeseriesConfigExpression) Get() *TimeseriesConfigExpression
func (NullableTimeseriesConfigExpression) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesConfigExpression) IsSet() bool
func (NullableTimeseriesConfigExpression) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesConfigExpression) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesConfigExpression) Set ¶ added in v0.48.0
func (v *NullableTimeseriesConfigExpression) Set(val *TimeseriesConfigExpression)
func (*NullableTimeseriesConfigExpression) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesConfigExpression) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesConfigExpression) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesConfigExpression) Unset()
type NullableTimeseriesSpecifier ¶ added in v0.48.0
type NullableTimeseriesSpecifier struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifier ¶ added in v0.48.0
func NewNullableTimeseriesSpecifier(val *TimeseriesSpecifier) *NullableTimeseriesSpecifier
func (NullableTimeseriesSpecifier) Get ¶ added in v0.48.0
func (v NullableTimeseriesSpecifier) Get() *TimeseriesSpecifier
func (NullableTimeseriesSpecifier) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifier) IsSet() bool
func (NullableTimeseriesSpecifier) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifier) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifier) Set ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifier) Set(val *TimeseriesSpecifier)
func (*NullableTimeseriesSpecifier) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifier) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifier) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifier) Unset()
type NullableTimeseriesSpecifierFiltersInner ¶ added in v0.48.0
type NullableTimeseriesSpecifierFiltersInner struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifierFiltersInner ¶ added in v0.48.0
func NewNullableTimeseriesSpecifierFiltersInner(val *TimeseriesSpecifierFiltersInner) *NullableTimeseriesSpecifierFiltersInner
func (NullableTimeseriesSpecifierFiltersInner) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFiltersInner) IsSet() bool
func (NullableTimeseriesSpecifierFiltersInner) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFiltersInner) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifierFiltersInner) Set ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFiltersInner) Set(val *TimeseriesSpecifierFiltersInner)
func (*NullableTimeseriesSpecifierFiltersInner) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFiltersInner) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifierFiltersInner) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFiltersInner) Unset()
type NullableTimeseriesSpecifierFunction ¶ added in v0.48.0
type NullableTimeseriesSpecifierFunction struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifierFunction ¶ added in v0.48.0
func NewNullableTimeseriesSpecifierFunction(val *TimeseriesSpecifierFunction) *NullableTimeseriesSpecifierFunction
func (NullableTimeseriesSpecifierFunction) Get ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFunction) Get() *TimeseriesSpecifierFunction
func (NullableTimeseriesSpecifierFunction) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFunction) IsSet() bool
func (NullableTimeseriesSpecifierFunction) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFunction) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifierFunction) Set ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFunction) Set(val *TimeseriesSpecifierFunction)
func (*NullableTimeseriesSpecifierFunction) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFunction) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifierFunction) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFunction) Unset()
type NullableTimeseriesSpecifierFunctions ¶ added in v0.48.0
type NullableTimeseriesSpecifierFunctions struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifierFunctions ¶ added in v0.48.0
func NewNullableTimeseriesSpecifierFunctions(val *TimeseriesSpecifierFunctions) *NullableTimeseriesSpecifierFunctions
func (NullableTimeseriesSpecifierFunctions) Get ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFunctions) Get() *TimeseriesSpecifierFunctions
func (NullableTimeseriesSpecifierFunctions) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFunctions) IsSet() bool
func (NullableTimeseriesSpecifierFunctions) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFunctions) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifierFunctions) Set ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFunctions) Set(val *TimeseriesSpecifierFunctions)
func (*NullableTimeseriesSpecifierFunctions) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFunctions) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifierFunctions) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFunctions) Unset()
type NullableTimeseriesSpecifierFunctionsMathExpression ¶ added in v0.48.0
type NullableTimeseriesSpecifierFunctionsMathExpression struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifierFunctionsMathExpression ¶ added in v0.48.0
func NewNullableTimeseriesSpecifierFunctionsMathExpression(val *TimeseriesSpecifierFunctionsMathExpression) *NullableTimeseriesSpecifierFunctionsMathExpression
func (NullableTimeseriesSpecifierFunctionsMathExpression) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFunctionsMathExpression) IsSet() bool
func (NullableTimeseriesSpecifierFunctionsMathExpression) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierFunctionsMathExpression) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifierFunctionsMathExpression) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFunctionsMathExpression) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifierFunctionsMathExpression) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierFunctionsMathExpression) Unset()
type NullableTimeseriesSpecifierKubernetesResource ¶ added in v0.48.0
type NullableTimeseriesSpecifierKubernetesResource struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifierKubernetesResource ¶ added in v0.48.0
func NewNullableTimeseriesSpecifierKubernetesResource(val *TimeseriesSpecifierKubernetesResource) *NullableTimeseriesSpecifierKubernetesResource
func (NullableTimeseriesSpecifierKubernetesResource) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierKubernetesResource) IsSet() bool
func (NullableTimeseriesSpecifierKubernetesResource) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierKubernetesResource) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifierKubernetesResource) Set ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierKubernetesResource) Set(val *TimeseriesSpecifierKubernetesResource)
func (*NullableTimeseriesSpecifierKubernetesResource) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierKubernetesResource) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifierKubernetesResource) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierKubernetesResource) Unset()
type NullableTimeseriesSpecifierLogs ¶ added in v0.48.0
type NullableTimeseriesSpecifierLogs struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifierLogs ¶ added in v0.48.0
func NewNullableTimeseriesSpecifierLogs(val *TimeseriesSpecifierLogs) *NullableTimeseriesSpecifierLogs
func (NullableTimeseriesSpecifierLogs) Get ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierLogs) Get() *TimeseriesSpecifierLogs
func (NullableTimeseriesSpecifierLogs) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierLogs) IsSet() bool
func (NullableTimeseriesSpecifierLogs) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierLogs) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifierLogs) Set ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierLogs) Set(val *TimeseriesSpecifierLogs)
func (*NullableTimeseriesSpecifierLogs) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierLogs) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifierLogs) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierLogs) Unset()
type NullableTimeseriesSpecifierMetric ¶ added in v0.48.0
type NullableTimeseriesSpecifierMetric struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifierMetric ¶ added in v0.48.0
func NewNullableTimeseriesSpecifierMetric(val *TimeseriesSpecifierMetric) *NullableTimeseriesSpecifierMetric
func (NullableTimeseriesSpecifierMetric) Get ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierMetric) Get() *TimeseriesSpecifierMetric
func (NullableTimeseriesSpecifierMetric) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierMetric) IsSet() bool
func (NullableTimeseriesSpecifierMetric) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierMetric) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifierMetric) Set ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierMetric) Set(val *TimeseriesSpecifierMetric)
func (*NullableTimeseriesSpecifierMetric) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierMetric) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifierMetric) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierMetric) Unset()
type NullableTimeseriesSpecifierTraces ¶ added in v0.48.0
type NullableTimeseriesSpecifierTraces struct {
// contains filtered or unexported fields
}
func NewNullableTimeseriesSpecifierTraces ¶ added in v0.48.0
func NewNullableTimeseriesSpecifierTraces(val *TimeseriesSpecifierTraces) *NullableTimeseriesSpecifierTraces
func (NullableTimeseriesSpecifierTraces) Get ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierTraces) Get() *TimeseriesSpecifierTraces
func (NullableTimeseriesSpecifierTraces) IsSet ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierTraces) IsSet() bool
func (NullableTimeseriesSpecifierTraces) MarshalJSON ¶ added in v0.48.0
func (v NullableTimeseriesSpecifierTraces) MarshalJSON() ([]byte, error)
func (*NullableTimeseriesSpecifierTraces) Set ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierTraces) Set(val *TimeseriesSpecifierTraces)
func (*NullableTimeseriesSpecifierTraces) UnmarshalJSON ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierTraces) UnmarshalJSON(src []byte) error
func (*NullableTimeseriesSpecifierTraces) Unset ¶ added in v0.48.0
func (v *NullableTimeseriesSpecifierTraces) Unset()
type OperatorConfig ¶ added in v0.48.0
type OperatorConfig struct {
Operator OperatorType `json:"operator"`
// Threshold value for comparison
Threshold float64 `json:"threshold"`
}
OperatorConfig struct for OperatorConfig
func NewOperatorConfig ¶ added in v0.48.0
func NewOperatorConfig(operator OperatorType, threshold float64) *OperatorConfig
NewOperatorConfig instantiates a new OperatorConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOperatorConfigWithDefaults ¶ added in v0.48.0
func NewOperatorConfigWithDefaults() *OperatorConfig
NewOperatorConfigWithDefaults instantiates a new OperatorConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OperatorConfig) GetOperator ¶ added in v0.48.0
func (o *OperatorConfig) GetOperator() OperatorType
GetOperator returns the Operator field value
func (*OperatorConfig) GetOperatorOk ¶ added in v0.48.0
func (o *OperatorConfig) GetOperatorOk() (*OperatorType, bool)
GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.
func (*OperatorConfig) GetThreshold ¶ added in v0.48.0
func (o *OperatorConfig) GetThreshold() float64
GetThreshold returns the Threshold field value
func (*OperatorConfig) GetThresholdOk ¶ added in v0.48.0
func (o *OperatorConfig) GetThresholdOk() (*float64, bool)
GetThresholdOk returns a tuple with the Threshold field value and a boolean to check if the value has been set.
func (OperatorConfig) MarshalJSON ¶ added in v0.48.0
func (o OperatorConfig) MarshalJSON() ([]byte, error)
func (*OperatorConfig) SetOperator ¶ added in v0.48.0
func (o *OperatorConfig) SetOperator(v OperatorType)
SetOperator sets field value
func (*OperatorConfig) SetThreshold ¶ added in v0.48.0
func (o *OperatorConfig) SetThreshold(v float64)
SetThreshold sets field value
func (OperatorConfig) ToMap ¶ added in v0.48.0
func (o OperatorConfig) ToMap() (map[string]interface{}, error)
func (*OperatorConfig) UnmarshalJSON ¶ added in v0.48.0
func (o *OperatorConfig) UnmarshalJSON(data []byte) (err error)
type OperatorType ¶ added in v0.48.0
type OperatorType string
OperatorType Type of comparison operator
const ( GREATER_THAN OperatorType = "greaterThan" LESS_THAN OperatorType = "lessThan" GREATER_THAN_OR_EQUAL OperatorType = "greaterThanOrEqual" LESS_THAN_OR_EQUAL OperatorType = "lessThanOrEqual" EQUALS OperatorType = "equals" NOT_EQUALS OperatorType = "notEquals" )
List of OperatorType
func NewOperatorTypeFromValue ¶ added in v0.48.0
func NewOperatorTypeFromValue(v string) (*OperatorType, error)
NewOperatorTypeFromValue returns a pointer to a valid OperatorType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (OperatorType) IsValid ¶ added in v0.48.0
func (v OperatorType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (OperatorType) Ptr ¶ added in v0.48.0
func (v OperatorType) Ptr() *OperatorType
Ptr returns reference to OperatorType value
func (*OperatorType) UnmarshalJSON ¶ added in v0.48.0
func (v *OperatorType) UnmarshalJSON(src []byte) error
type PersistenceSettings ¶ added in v0.48.0
type PersistenceSettings struct {
// Number of data points that must breach the threshold within the evaluation window to trigger an alert.
DatapointsToAlarm int64 `json:"datapointsToAlarm"`
// Total number of data points in the evaluation window. If your bucketSize is 60 (seconds) and datapointsInEvaluationWindow is 5, then the evaluation window is 5 minutes.
DatapointsInEvaluationWindow int64 `json:"datapointsInEvaluationWindow"`
// Determines how missing data points are treated - either as breaching the threshold or not breaching.
MissingDatapointBehavior *string `json:"missingDatapointBehavior,omitempty"`
}
PersistenceSettings struct for PersistenceSettings
func NewPersistenceSettings ¶ added in v0.48.0
func NewPersistenceSettings(datapointsToAlarm int64, datapointsInEvaluationWindow int64) *PersistenceSettings
NewPersistenceSettings instantiates a new PersistenceSettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPersistenceSettingsWithDefaults ¶ added in v0.48.0
func NewPersistenceSettingsWithDefaults() *PersistenceSettings
NewPersistenceSettingsWithDefaults instantiates a new PersistenceSettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PersistenceSettings) GetDatapointsInEvaluationWindow ¶ added in v0.48.0
func (o *PersistenceSettings) GetDatapointsInEvaluationWindow() int64
GetDatapointsInEvaluationWindow returns the DatapointsInEvaluationWindow field value
func (*PersistenceSettings) GetDatapointsInEvaluationWindowOk ¶ added in v0.48.0
func (o *PersistenceSettings) GetDatapointsInEvaluationWindowOk() (*int64, bool)
GetDatapointsInEvaluationWindowOk returns a tuple with the DatapointsInEvaluationWindow field value and a boolean to check if the value has been set.
func (*PersistenceSettings) GetDatapointsToAlarm ¶ added in v0.48.0
func (o *PersistenceSettings) GetDatapointsToAlarm() int64
GetDatapointsToAlarm returns the DatapointsToAlarm field value
func (*PersistenceSettings) GetDatapointsToAlarmOk ¶ added in v0.48.0
func (o *PersistenceSettings) GetDatapointsToAlarmOk() (*int64, bool)
GetDatapointsToAlarmOk returns a tuple with the DatapointsToAlarm field value and a boolean to check if the value has been set.
func (*PersistenceSettings) GetMissingDatapointBehavior ¶ added in v0.48.0
func (o *PersistenceSettings) GetMissingDatapointBehavior() string
GetMissingDatapointBehavior returns the MissingDatapointBehavior field value if set, zero value otherwise.
func (*PersistenceSettings) GetMissingDatapointBehaviorOk ¶ added in v0.48.0
func (o *PersistenceSettings) GetMissingDatapointBehaviorOk() (*string, bool)
GetMissingDatapointBehaviorOk returns a tuple with the MissingDatapointBehavior field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PersistenceSettings) HasMissingDatapointBehavior ¶ added in v0.48.0
func (o *PersistenceSettings) HasMissingDatapointBehavior() bool
HasMissingDatapointBehavior returns a boolean if a field has been set.
func (PersistenceSettings) MarshalJSON ¶ added in v0.48.0
func (o PersistenceSettings) MarshalJSON() ([]byte, error)
func (*PersistenceSettings) SetDatapointsInEvaluationWindow ¶ added in v0.48.0
func (o *PersistenceSettings) SetDatapointsInEvaluationWindow(v int64)
SetDatapointsInEvaluationWindow sets field value
func (*PersistenceSettings) SetDatapointsToAlarm ¶ added in v0.48.0
func (o *PersistenceSettings) SetDatapointsToAlarm(v int64)
SetDatapointsToAlarm sets field value
func (*PersistenceSettings) SetMissingDatapointBehavior ¶ added in v0.48.0
func (o *PersistenceSettings) SetMissingDatapointBehavior(v string)
SetMissingDatapointBehavior gets a reference to the given string and assigns it to the MissingDatapointBehavior field.
func (PersistenceSettings) ToMap ¶ added in v0.48.0
func (o PersistenceSettings) ToMap() (map[string]interface{}, error)
func (*PersistenceSettings) UnmarshalJSON ¶ added in v0.48.0
func (o *PersistenceSettings) UnmarshalJSON(data []byte) (err error)
type SetDashboardRequest ¶ added in v0.4.0
type SetDashboardRequest struct {
Name string `json:"name"`
Id string `json:"id"`
DashboardJson string `json:"dashboardJson"`
DefaultTimeRange string `json:"defaultTimeRange"`
}
Dasboarding structs
type SingleMetricRequest ¶ added in v0.8.0
type SingleMetricRequest struct {
Type string `` /* 130-byte string literal not displayed */
Metric *GetMetricRequest `json:"metric,omitempty" jsonschema:"description=Metric request details when type is 'metric'"`
Trace *GetTraceMetricRequest `json:"trace,omitempty" jsonschema:"description=Trace metric request details when type is 'trace'"`
Logs *GetLogMetricRequest `json:"logs,omitempty" jsonschema:"description=Log metric request details when type is 'logs'"`
KubernetesResource *GetKubernetesResourceRequest `json:"kubernetes,omitempty" jsonschema:"description=Kubernetes resource request details when type is 'kubernetes_resource'"`
ShouldNotReturn bool `json:"shouldNotReturn" jsonschema:"description=If true result won't be returned (useful for formulas)"`
FormulaIdentifier string `json:"formulaIdentifier" jsonschema:"description=Identifier to reference this metric in formulas"`
}
type SingleTimeseriesRequest ¶ added in v0.48.0
type SingleTimeseriesRequest struct {
Type MetricType `` /* 189-byte string literal not displayed */
MetricName string `` /* 321-byte string literal not displayed */
Aggregation Aggregation `` /* 572-byte string literal not displayed */
JsonPath *string `` /* 302-byte string literal not displayed */
Filters map[string][]string `` /* 414-byte string literal not displayed */
ExcludeFilters map[string][]string `` /* 425-byte string literal not displayed */
Splits []string `` /* 381-byte string literal not displayed */
Regexes []string `` /* 384-byte string literal not displayed */
ExcludeRegexes []string `` /* 417-byte string literal not displayed */
BucketSize int64 `` /* 194-byte string literal not displayed */
Functions []MetricFunction `` /* 534-byte string literal not displayed */
ShouldNotReturn bool `` /* 262-byte string literal not displayed */
FormulaIdentifier string `` /* 581-byte string literal not displayed */
}
TODO: Add kubernetes resource request type attributes.
type StaticCondition ¶ added in v0.48.0
type StaticCondition struct {
// List of operator conditions that must be met
Operators []OperatorConfig `json:"operators"`
PersistenceSettings PersistenceSettings `json:"persistenceSettings"`
}
StaticCondition struct for StaticCondition
func NewStaticCondition ¶ added in v0.48.0
func NewStaticCondition(operators []OperatorConfig, persistenceSettings PersistenceSettings) *StaticCondition
NewStaticCondition instantiates a new StaticCondition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStaticConditionWithDefaults ¶ added in v0.48.0
func NewStaticConditionWithDefaults() *StaticCondition
NewStaticConditionWithDefaults instantiates a new StaticCondition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StaticCondition) GetOperators ¶ added in v0.48.0
func (o *StaticCondition) GetOperators() []OperatorConfig
GetOperators returns the Operators field value
func (*StaticCondition) GetOperatorsOk ¶ added in v0.48.0
func (o *StaticCondition) GetOperatorsOk() ([]OperatorConfig, bool)
GetOperatorsOk returns a tuple with the Operators field value and a boolean to check if the value has been set.
func (*StaticCondition) GetPersistenceSettings ¶ added in v0.48.0
func (o *StaticCondition) GetPersistenceSettings() PersistenceSettings
GetPersistenceSettings returns the PersistenceSettings field value
func (*StaticCondition) GetPersistenceSettingsOk ¶ added in v0.48.0
func (o *StaticCondition) GetPersistenceSettingsOk() (*PersistenceSettings, bool)
GetPersistenceSettingsOk returns a tuple with the PersistenceSettings field value and a boolean to check if the value has been set.
func (StaticCondition) MarshalJSON ¶ added in v0.48.0
func (o StaticCondition) MarshalJSON() ([]byte, error)
func (*StaticCondition) SetOperators ¶ added in v0.48.0
func (o *StaticCondition) SetOperators(v []OperatorConfig)
SetOperators sets field value
func (*StaticCondition) SetPersistenceSettings ¶ added in v0.48.0
func (o *StaticCondition) SetPersistenceSettings(v PersistenceSettings)
SetPersistenceSettings sets field value
func (StaticCondition) ToMap ¶ added in v0.48.0
func (o StaticCondition) ToMap() (map[string]interface{}, error)
func (*StaticCondition) UnmarshalJSON ¶ added in v0.48.0
func (o *StaticCondition) UnmarshalJSON(data []byte) (err error)
type TimeseriesConfig ¶ added in v0.48.0
type TimeseriesConfig struct {
Expression ExpressionConfig `json:"expression"`
// Rules for evaluating the metrics and triggering alerts
EvaluationRules []Condition `json:"evaluationRules"`
}
TimeseriesConfig struct for TimeseriesConfig
func NewTimeseriesConfig ¶ added in v0.48.0
func NewTimeseriesConfig(expression ExpressionConfig, evaluationRules []Condition) *TimeseriesConfig
NewTimeseriesConfig instantiates a new TimeseriesConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesConfigWithDefaults ¶ added in v0.48.0
func NewTimeseriesConfigWithDefaults() *TimeseriesConfig
NewTimeseriesConfigWithDefaults instantiates a new TimeseriesConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesConfig) GetEvaluationRules ¶ added in v0.48.0
func (o *TimeseriesConfig) GetEvaluationRules() []Condition
GetEvaluationRules returns the EvaluationRules field value
func (*TimeseriesConfig) GetEvaluationRulesOk ¶ added in v0.48.0
func (o *TimeseriesConfig) GetEvaluationRulesOk() ([]Condition, bool)
GetEvaluationRulesOk returns a tuple with the EvaluationRules field value and a boolean to check if the value has been set.
func (*TimeseriesConfig) GetExpression ¶ added in v0.48.0
func (o *TimeseriesConfig) GetExpression() ExpressionConfig
GetExpression returns the Expression field value
func (*TimeseriesConfig) GetExpressionOk ¶ added in v0.48.0
func (o *TimeseriesConfig) GetExpressionOk() (*ExpressionConfig, bool)
GetExpressionOk returns a tuple with the Expression field value and a boolean to check if the value has been set.
func (TimeseriesConfig) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesConfig) MarshalJSON() ([]byte, error)
func (*TimeseriesConfig) SetEvaluationRules ¶ added in v0.48.0
func (o *TimeseriesConfig) SetEvaluationRules(v []Condition)
SetEvaluationRules sets field value
func (*TimeseriesConfig) SetExpression ¶ added in v0.48.0
func (o *TimeseriesConfig) SetExpression(v ExpressionConfig)
SetExpression sets field value
func (TimeseriesConfig) ToMap ¶ added in v0.48.0
func (o TimeseriesConfig) ToMap() (map[string]interface{}, error)
func (*TimeseriesConfig) UnmarshalJSON ¶ added in v0.48.0
func (o *TimeseriesConfig) UnmarshalJSON(data []byte) (err error)
type TimeseriesConfigExpression ¶ added in v0.48.0
type TimeseriesConfigExpression struct {
ExpressionConfig *ExpressionConfig
String *string
}
TimeseriesConfigExpression - Expression defining the metrics to monitor
func ExpressionConfigAsTimeseriesConfigExpression ¶ added in v0.48.0
func ExpressionConfigAsTimeseriesConfigExpression(v *ExpressionConfig) TimeseriesConfigExpression
ExpressionConfigAsTimeseriesConfigExpression is a convenience function that returns ExpressionConfig wrapped in TimeseriesConfigExpression
func StringAsTimeseriesConfigExpression ¶ added in v0.48.0
func StringAsTimeseriesConfigExpression(v *string) TimeseriesConfigExpression
stringAsTimeseriesConfigExpression is a convenience function that returns string wrapped in TimeseriesConfigExpression
func (*TimeseriesConfigExpression) GetActualInstance ¶ added in v0.48.0
func (obj *TimeseriesConfigExpression) GetActualInstance() interface{}
Get the actual instance
func (TimeseriesConfigExpression) GetActualInstanceValue ¶ added in v0.48.0
func (obj TimeseriesConfigExpression) GetActualInstanceValue() interface{}
Get the actual instance value
func (TimeseriesConfigExpression) MarshalJSON ¶ added in v0.48.0
func (src TimeseriesConfigExpression) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*TimeseriesConfigExpression) UnmarshalJSON ¶ added in v0.48.0
func (dst *TimeseriesConfigExpression) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type TimeseriesSpecifier ¶ added in v0.48.0
type TimeseriesSpecifier struct {
// Type of timeseries
Type string `json:"type"`
Metric *TimeseriesSpecifierMetric `json:"metric,omitempty"`
KubernetesResource *TimeseriesSpecifierKubernetesResource `json:"kubernetes_resource,omitempty"`
Logs *TimeseriesSpecifierLogs `json:"logs,omitempty"`
Traces *TimeseriesSpecifierTraces `json:"traces,omitempty"`
// Filters to apply to the timeseries
Filters []TimeseriesSpecifierFiltersInner `json:"filters,omitempty"`
// Aggregation function to apply
Aggregation *string `json:"aggregation,omitempty"`
// Size of buckets in seconds for data aggregation
BucketSize *int64 `json:"bucketSize,omitempty"`
// Fields to split the results by
Splits []string `json:"splits,omitempty"`
// Functions to apply to the timeseries
Functions []TimeseriesSpecifierFunction `json:"functions,omitempty"`
}
TimeseriesSpecifier Specification for a timeseries
func NewTimeseriesSpecifier ¶ added in v0.48.0
func NewTimeseriesSpecifier(type_ string) *TimeseriesSpecifier
NewTimeseriesSpecifier instantiates a new TimeseriesSpecifier object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierWithDefaults() *TimeseriesSpecifier
NewTimeseriesSpecifierWithDefaults instantiates a new TimeseriesSpecifier object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifier) GetAggregation ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetAggregation() string
GetAggregation returns the Aggregation field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetAggregationOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetAggregationOk() (*string, bool)
GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetBucketSize ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetBucketSize() int64
GetBucketSize returns the BucketSize field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetBucketSizeOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetBucketSizeOk() (*int64, bool)
GetBucketSizeOk returns a tuple with the BucketSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetFilters ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetFilters() []TimeseriesSpecifierFiltersInner
GetFilters returns the Filters field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetFiltersOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetFiltersOk() ([]TimeseriesSpecifierFiltersInner, bool)
GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetFunctions ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetFunctions() []TimeseriesSpecifierFunction
GetFunctions returns the Functions field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetFunctionsOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetFunctionsOk() ([]TimeseriesSpecifierFunction, bool)
GetFunctionsOk returns a tuple with the Functions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetKubernetesResource ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetKubernetesResource() TimeseriesSpecifierKubernetesResource
GetKubernetesResource returns the KubernetesResource field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetKubernetesResourceOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetKubernetesResourceOk() (*TimeseriesSpecifierKubernetesResource, bool)
GetKubernetesResourceOk returns a tuple with the KubernetesResource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetLogs ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetLogs() TimeseriesSpecifierLogs
GetLogs returns the Logs field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetLogsOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetLogsOk() (*TimeseriesSpecifierLogs, bool)
GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetMetric ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetMetric() TimeseriesSpecifierMetric
GetMetric returns the Metric field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetMetricOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetMetricOk() (*TimeseriesSpecifierMetric, bool)
GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetSplits ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetSplits() []string
GetSplits returns the Splits field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetSplitsOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetSplitsOk() ([]string, bool)
GetSplitsOk returns a tuple with the Splits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetTraces ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetTraces() TimeseriesSpecifierTraces
GetTraces returns the Traces field value if set, zero value otherwise.
func (*TimeseriesSpecifier) GetTracesOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetTracesOk() (*TimeseriesSpecifierTraces, bool)
GetTracesOk returns a tuple with the Traces field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) GetType ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetType() string
GetType returns the Type field value
func (*TimeseriesSpecifier) GetTypeOk ¶ added in v0.48.0
func (o *TimeseriesSpecifier) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*TimeseriesSpecifier) HasAggregation ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
func (*TimeseriesSpecifier) HasBucketSize ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasBucketSize() bool
HasBucketSize returns a boolean if a field has been set.
func (*TimeseriesSpecifier) HasFilters ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasFilters() bool
HasFilters returns a boolean if a field has been set.
func (*TimeseriesSpecifier) HasFunctions ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasFunctions() bool
HasFunctions returns a boolean if a field has been set.
func (*TimeseriesSpecifier) HasKubernetesResource ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasKubernetesResource() bool
HasKubernetesResource returns a boolean if a field has been set.
func (*TimeseriesSpecifier) HasLogs ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasLogs() bool
HasLogs returns a boolean if a field has been set.
func (*TimeseriesSpecifier) HasMetric ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*TimeseriesSpecifier) HasSplits ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasSplits() bool
HasSplits returns a boolean if a field has been set.
func (*TimeseriesSpecifier) HasTraces ¶ added in v0.48.0
func (o *TimeseriesSpecifier) HasTraces() bool
HasTraces returns a boolean if a field has been set.
func (TimeseriesSpecifier) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifier) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifier) SetAggregation ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetAggregation(v string)
SetAggregation gets a reference to the given string and assigns it to the Aggregation field.
func (*TimeseriesSpecifier) SetBucketSize ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetBucketSize(v int64)
SetBucketSize gets a reference to the given int64 and assigns it to the BucketSize field.
func (*TimeseriesSpecifier) SetFilters ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetFilters(v []TimeseriesSpecifierFiltersInner)
SetFilters gets a reference to the given []TimeseriesSpecifierFiltersInner and assigns it to the Filters field.
func (*TimeseriesSpecifier) SetFunctions ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetFunctions(v []TimeseriesSpecifierFunction)
SetFunctions gets a reference to the given []TimeseriesSpecifierFunction and assigns it to the Functions field.
func (*TimeseriesSpecifier) SetKubernetesResource ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetKubernetesResource(v TimeseriesSpecifierKubernetesResource)
SetKubernetesResource gets a reference to the given TimeseriesSpecifierKubernetesResource and assigns it to the KubernetesResource field.
func (*TimeseriesSpecifier) SetLogs ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetLogs(v TimeseriesSpecifierLogs)
SetLogs gets a reference to the given TimeseriesSpecifierLogs and assigns it to the Logs field.
func (*TimeseriesSpecifier) SetMetric ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetMetric(v TimeseriesSpecifierMetric)
SetMetric gets a reference to the given TimeseriesSpecifierMetric and assigns it to the Metric field.
func (*TimeseriesSpecifier) SetSplits ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetSplits(v []string)
SetSplits gets a reference to the given []string and assigns it to the Splits field.
func (*TimeseriesSpecifier) SetTraces ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetTraces(v TimeseriesSpecifierTraces)
SetTraces gets a reference to the given TimeseriesSpecifierTraces and assigns it to the Traces field.
func (*TimeseriesSpecifier) SetType ¶ added in v0.48.0
func (o *TimeseriesSpecifier) SetType(v string)
SetType sets field value
func (TimeseriesSpecifier) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifier) ToMap() (map[string]interface{}, error)
func (*TimeseriesSpecifier) UnmarshalJSON ¶ added in v0.48.0
func (o *TimeseriesSpecifier) UnmarshalJSON(data []byte) (err error)
type TimeseriesSpecifierFiltersInner ¶ added in v0.48.0
type TimeseriesSpecifierFiltersInner struct {
// Filter key
Key *string `json:"key,omitempty"`
// Filter values
Value []string `json:"value,omitempty"`
// Filter operator
Operator *string `json:"operator,omitempty"`
}
TimeseriesSpecifierFiltersInner struct for TimeseriesSpecifierFiltersInner
func NewTimeseriesSpecifierFiltersInner ¶ added in v0.48.0
func NewTimeseriesSpecifierFiltersInner() *TimeseriesSpecifierFiltersInner
NewTimeseriesSpecifierFiltersInner instantiates a new TimeseriesSpecifierFiltersInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierFiltersInnerWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierFiltersInnerWithDefaults() *TimeseriesSpecifierFiltersInner
NewTimeseriesSpecifierFiltersInnerWithDefaults instantiates a new TimeseriesSpecifierFiltersInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifierFiltersInner) GetKey ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*TimeseriesSpecifierFiltersInner) GetKeyOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFiltersInner) GetOperator ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) GetOperator() string
GetOperator returns the Operator field value if set, zero value otherwise.
func (*TimeseriesSpecifierFiltersInner) GetOperatorOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFiltersInner) GetValue ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) GetValue() []string
GetValue returns the Value field value if set, zero value otherwise.
func (*TimeseriesSpecifierFiltersInner) GetValueOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) GetValueOk() ([]string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFiltersInner) HasKey ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*TimeseriesSpecifierFiltersInner) HasOperator ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) HasOperator() bool
HasOperator returns a boolean if a field has been set.
func (*TimeseriesSpecifierFiltersInner) HasValue ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) HasValue() bool
HasValue returns a boolean if a field has been set.
func (TimeseriesSpecifierFiltersInner) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifierFiltersInner) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifierFiltersInner) SetKey ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*TimeseriesSpecifierFiltersInner) SetOperator ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) SetOperator(v string)
SetOperator gets a reference to the given string and assigns it to the Operator field.
func (*TimeseriesSpecifierFiltersInner) SetValue ¶ added in v0.48.0
func (o *TimeseriesSpecifierFiltersInner) SetValue(v []string)
SetValue gets a reference to the given []string and assigns it to the Value field.
func (TimeseriesSpecifierFiltersInner) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifierFiltersInner) ToMap() (map[string]interface{}, error)
type TimeseriesSpecifierFunction ¶ added in v0.48.0
type TimeseriesSpecifierFunction struct {
// Type of function to apply
FunctionType string `json:"functionType"`
MathExpression *TimeseriesSpecifierFunctionsMathExpression `json:"mathExpression,omitempty"`
}
TimeseriesSpecifierFunction Function to apply to the timeseries
func NewTimeseriesSpecifierFunction ¶ added in v0.48.0
func NewTimeseriesSpecifierFunction(functionType string) *TimeseriesSpecifierFunction
NewTimeseriesSpecifierFunction instantiates a new TimeseriesSpecifierFunction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierFunctionWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierFunctionWithDefaults() *TimeseriesSpecifierFunction
NewTimeseriesSpecifierFunctionWithDefaults instantiates a new TimeseriesSpecifierFunction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifierFunction) GetFunctionType ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunction) GetFunctionType() string
GetFunctionType returns the FunctionType field value
func (*TimeseriesSpecifierFunction) GetFunctionTypeOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunction) GetFunctionTypeOk() (*string, bool)
GetFunctionTypeOk returns a tuple with the FunctionType field value and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFunction) GetMathExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunction) GetMathExpression() TimeseriesSpecifierFunctionsMathExpression
GetMathExpression returns the MathExpression field value if set, zero value otherwise.
func (*TimeseriesSpecifierFunction) GetMathExpressionOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunction) GetMathExpressionOk() (*TimeseriesSpecifierFunctionsMathExpression, bool)
GetMathExpressionOk returns a tuple with the MathExpression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFunction) HasMathExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunction) HasMathExpression() bool
HasMathExpression returns a boolean if a field has been set.
func (TimeseriesSpecifierFunction) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifierFunction) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifierFunction) SetFunctionType ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunction) SetFunctionType(v string)
SetFunctionType sets field value
func (*TimeseriesSpecifierFunction) SetMathExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunction) SetMathExpression(v TimeseriesSpecifierFunctionsMathExpression)
SetMathExpression gets a reference to the given TimeseriesSpecifierFunctionsMathExpression and assigns it to the MathExpression field.
func (TimeseriesSpecifierFunction) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifierFunction) ToMap() (map[string]interface{}, error)
func (*TimeseriesSpecifierFunction) UnmarshalJSON ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunction) UnmarshalJSON(data []byte) (err error)
type TimeseriesSpecifierFunctions ¶ added in v0.48.0
type TimeseriesSpecifierFunctions struct {
// Type of function to apply
FunctionType *string `json:"functionType,omitempty"`
MathExpression *TimeseriesSpecifierFunctionsMathExpression `json:"mathExpression,omitempty"`
}
TimeseriesSpecifierFunctions Functions to apply to the timeseries
func NewTimeseriesSpecifierFunctions ¶ added in v0.48.0
func NewTimeseriesSpecifierFunctions() *TimeseriesSpecifierFunctions
NewTimeseriesSpecifierFunctions instantiates a new TimeseriesSpecifierFunctions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierFunctionsWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierFunctionsWithDefaults() *TimeseriesSpecifierFunctions
NewTimeseriesSpecifierFunctionsWithDefaults instantiates a new TimeseriesSpecifierFunctions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifierFunctions) GetFunctionType ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctions) GetFunctionType() string
GetFunctionType returns the FunctionType field value if set, zero value otherwise.
func (*TimeseriesSpecifierFunctions) GetFunctionTypeOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctions) GetFunctionTypeOk() (*string, bool)
GetFunctionTypeOk returns a tuple with the FunctionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFunctions) GetMathExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctions) GetMathExpression() TimeseriesSpecifierFunctionsMathExpression
GetMathExpression returns the MathExpression field value if set, zero value otherwise.
func (*TimeseriesSpecifierFunctions) GetMathExpressionOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctions) GetMathExpressionOk() (*TimeseriesSpecifierFunctionsMathExpression, bool)
GetMathExpressionOk returns a tuple with the MathExpression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFunctions) HasFunctionType ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctions) HasFunctionType() bool
HasFunctionType returns a boolean if a field has been set.
func (*TimeseriesSpecifierFunctions) HasMathExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctions) HasMathExpression() bool
HasMathExpression returns a boolean if a field has been set.
func (TimeseriesSpecifierFunctions) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifierFunctions) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifierFunctions) SetFunctionType ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctions) SetFunctionType(v string)
SetFunctionType gets a reference to the given string and assigns it to the FunctionType field.
func (*TimeseriesSpecifierFunctions) SetMathExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctions) SetMathExpression(v TimeseriesSpecifierFunctionsMathExpression)
SetMathExpression gets a reference to the given TimeseriesSpecifierFunctionsMathExpression and assigns it to the MathExpression field.
func (TimeseriesSpecifierFunctions) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifierFunctions) ToMap() (map[string]interface{}, error)
type TimeseriesSpecifierFunctionsMathExpression ¶ added in v0.48.0
type TimeseriesSpecifierFunctionsMathExpression struct {
// Array of variable names used in the expression
Variables []string `json:"variables,omitempty"`
// The mathematical expression to apply
Expression *string `json:"expression,omitempty"`
}
TimeseriesSpecifierFunctionsMathExpression Mathematical expression for custom functions
func NewTimeseriesSpecifierFunctionsMathExpression ¶ added in v0.48.0
func NewTimeseriesSpecifierFunctionsMathExpression() *TimeseriesSpecifierFunctionsMathExpression
NewTimeseriesSpecifierFunctionsMathExpression instantiates a new TimeseriesSpecifierFunctionsMathExpression object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierFunctionsMathExpressionWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierFunctionsMathExpressionWithDefaults() *TimeseriesSpecifierFunctionsMathExpression
NewTimeseriesSpecifierFunctionsMathExpressionWithDefaults instantiates a new TimeseriesSpecifierFunctionsMathExpression object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifierFunctionsMathExpression) GetExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctionsMathExpression) GetExpression() string
GetExpression returns the Expression field value if set, zero value otherwise.
func (*TimeseriesSpecifierFunctionsMathExpression) GetExpressionOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctionsMathExpression) GetExpressionOk() (*string, bool)
GetExpressionOk returns a tuple with the Expression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFunctionsMathExpression) GetVariables ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctionsMathExpression) GetVariables() []string
GetVariables returns the Variables field value if set, zero value otherwise.
func (*TimeseriesSpecifierFunctionsMathExpression) GetVariablesOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctionsMathExpression) GetVariablesOk() ([]string, bool)
GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierFunctionsMathExpression) HasExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctionsMathExpression) HasExpression() bool
HasExpression returns a boolean if a field has been set.
func (*TimeseriesSpecifierFunctionsMathExpression) HasVariables ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctionsMathExpression) HasVariables() bool
HasVariables returns a boolean if a field has been set.
func (TimeseriesSpecifierFunctionsMathExpression) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifierFunctionsMathExpression) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifierFunctionsMathExpression) SetExpression ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctionsMathExpression) SetExpression(v string)
SetExpression gets a reference to the given string and assigns it to the Expression field.
func (*TimeseriesSpecifierFunctionsMathExpression) SetVariables ¶ added in v0.48.0
func (o *TimeseriesSpecifierFunctionsMathExpression) SetVariables(v []string)
SetVariables gets a reference to the given []string and assigns it to the Variables field.
func (TimeseriesSpecifierFunctionsMathExpression) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifierFunctionsMathExpression) ToMap() (map[string]interface{}, error)
type TimeseriesSpecifierKubernetesResource ¶ added in v0.48.0
type TimeseriesSpecifierKubernetesResource struct {
// JSONPath expression to extract data from Kubernetes resources
JsonPath *string `json:"jsonPath,omitempty"`
}
TimeseriesSpecifierKubernetesResource Configuration for a Kubernetes resource timeseries
func NewTimeseriesSpecifierKubernetesResource ¶ added in v0.48.0
func NewTimeseriesSpecifierKubernetesResource() *TimeseriesSpecifierKubernetesResource
NewTimeseriesSpecifierKubernetesResource instantiates a new TimeseriesSpecifierKubernetesResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierKubernetesResourceWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierKubernetesResourceWithDefaults() *TimeseriesSpecifierKubernetesResource
NewTimeseriesSpecifierKubernetesResourceWithDefaults instantiates a new TimeseriesSpecifierKubernetesResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifierKubernetesResource) GetJsonPath ¶ added in v0.48.0
func (o *TimeseriesSpecifierKubernetesResource) GetJsonPath() string
GetJsonPath returns the JsonPath field value if set, zero value otherwise.
func (*TimeseriesSpecifierKubernetesResource) GetJsonPathOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierKubernetesResource) GetJsonPathOk() (*string, bool)
GetJsonPathOk returns a tuple with the JsonPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierKubernetesResource) HasJsonPath ¶ added in v0.48.0
func (o *TimeseriesSpecifierKubernetesResource) HasJsonPath() bool
HasJsonPath returns a boolean if a field has been set.
func (TimeseriesSpecifierKubernetesResource) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifierKubernetesResource) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifierKubernetesResource) SetJsonPath ¶ added in v0.48.0
func (o *TimeseriesSpecifierKubernetesResource) SetJsonPath(v string)
SetJsonPath gets a reference to the given string and assigns it to the JsonPath field.
func (TimeseriesSpecifierKubernetesResource) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifierKubernetesResource) ToMap() (map[string]interface{}, error)
type TimeseriesSpecifierLogs ¶ added in v0.48.0
type TimeseriesSpecifierLogs struct {
// Regular expressions to match logs
Regexes []string `json:"regexes,omitempty"`
// Regular expressions to exclude logs
ExcludeRegexes []string `json:"excludeRegexes,omitempty"`
}
TimeseriesSpecifierLogs Configuration for a logs timeseries
func NewTimeseriesSpecifierLogs ¶ added in v0.48.0
func NewTimeseriesSpecifierLogs() *TimeseriesSpecifierLogs
NewTimeseriesSpecifierLogs instantiates a new TimeseriesSpecifierLogs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierLogsWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierLogsWithDefaults() *TimeseriesSpecifierLogs
NewTimeseriesSpecifierLogsWithDefaults instantiates a new TimeseriesSpecifierLogs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifierLogs) GetExcludeRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierLogs) GetExcludeRegexes() []string
GetExcludeRegexes returns the ExcludeRegexes field value if set, zero value otherwise.
func (*TimeseriesSpecifierLogs) GetExcludeRegexesOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierLogs) GetExcludeRegexesOk() ([]string, bool)
GetExcludeRegexesOk returns a tuple with the ExcludeRegexes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierLogs) GetRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierLogs) GetRegexes() []string
GetRegexes returns the Regexes field value if set, zero value otherwise.
func (*TimeseriesSpecifierLogs) GetRegexesOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierLogs) GetRegexesOk() ([]string, bool)
GetRegexesOk returns a tuple with the Regexes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierLogs) HasExcludeRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierLogs) HasExcludeRegexes() bool
HasExcludeRegexes returns a boolean if a field has been set.
func (*TimeseriesSpecifierLogs) HasRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierLogs) HasRegexes() bool
HasRegexes returns a boolean if a field has been set.
func (TimeseriesSpecifierLogs) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifierLogs) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifierLogs) SetExcludeRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierLogs) SetExcludeRegexes(v []string)
SetExcludeRegexes gets a reference to the given []string and assigns it to the ExcludeRegexes field.
func (*TimeseriesSpecifierLogs) SetRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierLogs) SetRegexes(v []string)
SetRegexes gets a reference to the given []string and assigns it to the Regexes field.
func (TimeseriesSpecifierLogs) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifierLogs) ToMap() (map[string]interface{}, error)
type TimeseriesSpecifierMetric ¶ added in v0.48.0
type TimeseriesSpecifierMetric struct {
// Name of the metric
MetricName *string `json:"metricName,omitempty"`
}
TimeseriesSpecifierMetric Configuration for a metric timeseries
func NewTimeseriesSpecifierMetric ¶ added in v0.48.0
func NewTimeseriesSpecifierMetric() *TimeseriesSpecifierMetric
NewTimeseriesSpecifierMetric instantiates a new TimeseriesSpecifierMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierMetricWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierMetricWithDefaults() *TimeseriesSpecifierMetric
NewTimeseriesSpecifierMetricWithDefaults instantiates a new TimeseriesSpecifierMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifierMetric) GetMetricName ¶ added in v0.48.0
func (o *TimeseriesSpecifierMetric) GetMetricName() string
GetMetricName returns the MetricName field value if set, zero value otherwise.
func (*TimeseriesSpecifierMetric) GetMetricNameOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierMetric) GetMetricNameOk() (*string, bool)
GetMetricNameOk returns a tuple with the MetricName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierMetric) HasMetricName ¶ added in v0.48.0
func (o *TimeseriesSpecifierMetric) HasMetricName() bool
HasMetricName returns a boolean if a field has been set.
func (TimeseriesSpecifierMetric) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifierMetric) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifierMetric) SetMetricName ¶ added in v0.48.0
func (o *TimeseriesSpecifierMetric) SetMetricName(v string)
SetMetricName gets a reference to the given string and assigns it to the MetricName field.
func (TimeseriesSpecifierMetric) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifierMetric) ToMap() (map[string]interface{}, error)
type TimeseriesSpecifierTraces ¶ added in v0.48.0
type TimeseriesSpecifierTraces struct {
// Regular expressions to match traces
Regexes []string `json:"regexes,omitempty"`
// Regular expressions to exclude traces
ExcludeRegexes []string `json:"excludeRegexes,omitempty"`
}
TimeseriesSpecifierTraces Configuration for a traces timeseries
func NewTimeseriesSpecifierTraces ¶ added in v0.48.0
func NewTimeseriesSpecifierTraces() *TimeseriesSpecifierTraces
NewTimeseriesSpecifierTraces instantiates a new TimeseriesSpecifierTraces object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeseriesSpecifierTracesWithDefaults ¶ added in v0.48.0
func NewTimeseriesSpecifierTracesWithDefaults() *TimeseriesSpecifierTraces
NewTimeseriesSpecifierTracesWithDefaults instantiates a new TimeseriesSpecifierTraces object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeseriesSpecifierTraces) GetExcludeRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierTraces) GetExcludeRegexes() []string
GetExcludeRegexes returns the ExcludeRegexes field value if set, zero value otherwise.
func (*TimeseriesSpecifierTraces) GetExcludeRegexesOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierTraces) GetExcludeRegexesOk() ([]string, bool)
GetExcludeRegexesOk returns a tuple with the ExcludeRegexes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierTraces) GetRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierTraces) GetRegexes() []string
GetRegexes returns the Regexes field value if set, zero value otherwise.
func (*TimeseriesSpecifierTraces) GetRegexesOk ¶ added in v0.48.0
func (o *TimeseriesSpecifierTraces) GetRegexesOk() ([]string, bool)
GetRegexesOk returns a tuple with the Regexes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeseriesSpecifierTraces) HasExcludeRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierTraces) HasExcludeRegexes() bool
HasExcludeRegexes returns a boolean if a field has been set.
func (*TimeseriesSpecifierTraces) HasRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierTraces) HasRegexes() bool
HasRegexes returns a boolean if a field has been set.
func (TimeseriesSpecifierTraces) MarshalJSON ¶ added in v0.48.0
func (o TimeseriesSpecifierTraces) MarshalJSON() ([]byte, error)
func (*TimeseriesSpecifierTraces) SetExcludeRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierTraces) SetExcludeRegexes(v []string)
SetExcludeRegexes gets a reference to the given []string and assigns it to the ExcludeRegexes field.
func (*TimeseriesSpecifierTraces) SetRegexes ¶ added in v0.48.0
func (o *TimeseriesSpecifierTraces) SetRegexes(v []string)
SetRegexes gets a reference to the given []string and assigns it to the Regexes field.
func (TimeseriesSpecifierTraces) ToMap ¶ added in v0.48.0
func (o TimeseriesSpecifierTraces) ToMap() (map[string]interface{}, error)
type TraceEl ¶ added in v0.28.0
type TraceEl struct {
// The id of the trace
TraceId string `json:"traceId"`
// Status Code of the trace
StatusCode string `json:"statusCode"`
// The time that the trace was emitted in milliseconds since the epoch
Time int64 `json:"time"`
// The attributes of the trace
SpanAttributes map[string]string `json:"spanAttributes"`
// The attributes of the resource that emitted the trace
ResourceAttributes map[string]string `json:"resourceAttributes"`
// Service name
ServiceName string `json:"serviceName"`
// Display Service name
DisplayServiceName string `json:"displayServiceName"`
// Client name
ClientName string `json:"clientName"`
// Display Client name
DisplayClientName string `json:"displayClientName"`
// Span Id
SpanId string `json:"spanId"`
// Span Name
SpanName string `json:"spanName"`
// The duration of the trace
Duration int64 `json:"duration"`
// Human readable duration, e.g. "1.2s" or "500ms"
DurationReadable string `json:"durationReadable"`
// The parent span id
ParentSpanId string `json:"parentSpanId"`
// Links
Links []Link `json:"links"`
}
type TracesSummaryRequest ¶
type TracesSummaryRequest struct {
// Required: Start time of when to get the service summaries in seconds since epoch
StartTime int64 `json:"startTime"`
// Required: End time of when to get the service summaries in seconds since epoch
EndTime int64 `json:"endTime"`
// The filters to apply to the trace summary, so for example, if you want to get traces for a specific service
// you can pass in a filter like {"service_name": ["microservice_a"]}
Filters map[string][]string `json:"filters"`
// ExcludeFilters are used to exclude traces based on a filter
ExcludeFilters map[string][]string `json:"excludeFilters"`
// Regexes are used to filter traces based on a regex inclusively
Regexes []string `json:"regexes"`
// ExcludeRegexes are used to filter traces based on a regex exclusively
ExcludeRegexes []string `json:"excludeRegexes"`
// Optional: The name of the service to get the trace metrics for
// Acts as an additional filter
ServiceNames []string `json:"serviceNames"`
// Environments is the environments to get the traces for. If empty, all environments will be included
Environments []string `json:"environments"`
}
type UpdateAIIssueRequest ¶ added in v0.45.0
type UpdateInvestigationRequest ¶ added in v0.51.0
type UpdateInvestigationRequest struct {
Title *string `json:"title,omitempty"`
Summary *string `json:"summary,omitempty"`
Markdown *string `json:"markdown,omitempty"`
Tags *map[string]string `json:"tags,omitempty"`
IssueStartTime *time.Time `json:"issueStartTime,omitempty"`
IssueEndTime *time.Time `json:"issueEndTime,omitempty"`
IssueUUID *string `json:"issueUuid,omitempty"`
ParentInvestigationUUID *string `json:"parentInvestigationUuid,omitempty"`
IsVisible *bool `json:"isVisible,omitempty"`
MetoroApprovalStatus *string `json:"metoroApprovalStatus,omitempty"`
ChatHistoryUUID *string `json:"chatHistoryUuid,omitempty"`
RecommendedActions *[]string `json:"recommendedActions,omitempty"`
InProgress *bool `json:"inProgress,omitempty"`
}
type Widget ¶ added in v0.4.0
type Widget struct {
WidgetType WidgetType `json:"widgetType" jsonschema:"required,description=The type of the widget. This can be MetricChart / Group / Markdown"`
Position *WidgetPosition `json:"position,omitempty" jsonschema:"description=The position of the widget in the dashboard"`
}
Widget is the base interface for all widget types
type WidgetPosition ¶ added in v0.4.0
type WidgetPosition struct {
X *int `json:"x,omitempty"`
Y *int `json:"y,omitempty"`
W *int `` /* 170-byte string literal not displayed */
H *int `` /* 138-byte string literal not displayed */
}
WidgetPosition represents the position of a widget relative to its parent
type WidgetType ¶ added in v0.4.0
type WidgetType string
WidgetType is an enum representing different types of widgets
const ( MetricChartWidgetType WidgetType = "MetricChart" GroupWidgetType WidgetType = "Group" MarkdownWidgetType WidgetType = "Markdown" )
Source Files
¶
- model.go
- model_action.go
- model_action_email_destination.go
- model_action_pager_duty_destination.go
- model_action_slack_destination.go
- model_action_webhook_destination.go
- model_alert.go
- model_alert_type.go
- model_condition.go
- model_condition_type.go
- model_create_update_alert_request.go
- model_expression_config.go
- model_expression_config_filters_inner.go
- model_expression_config_metoro_timeseries_definition.go
- model_metadata_object.go
- model_metoro_ql_timeseries.go
- model_operator_config.go
- model_operator_type.go
- model_persistence_settings.go
- model_static_condition.go
- model_timeseries_config.go
- model_timeseries_config_expression.go
- model_timeseries_specifier.go
- model_timeseries_specifier_filters_inner.go
- model_timeseries_specifier_function.go
- model_timeseries_specifier_functions.go
- model_timeseries_specifier_functions_math_expression.go
- model_timeseries_specifier_kubernetes_resource.go
- model_timeseries_specifier_logs.go
- model_timeseries_specifier_metric.go
- model_timeseries_specifier_traces.go
- utils.go