Documentation ¶
Index ¶
- func AomClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAddAlarmRule() *def.HttpRequestDef
- func GenReqDefForAddMetricData() *def.HttpRequestDef
- func GenReqDefForAddOrUpdateServiceDiscoveryRules() *def.HttpRequestDef
- func GenReqDefForCountEvents() *def.HttpRequestDef
- func GenReqDefForDeleteAlarmRule() *def.HttpRequestDef
- func GenReqDefForDeleteAlarmRules() *def.HttpRequestDef
- func GenReqDefForDeleteserviceDiscoveryRules() *def.HttpRequestDef
- func GenReqDefForListAlarmRule() *def.HttpRequestDef
- func GenReqDefForListEvents() *def.HttpRequestDef
- func GenReqDefForListInstantQueryAomPromGet() *def.HttpRequestDef
- func GenReqDefForListInstantQueryAomPromPost() *def.HttpRequestDef
- func GenReqDefForListLabelValuesAomPromGet() *def.HttpRequestDef
- func GenReqDefForListLabelsAomPromGet() *def.HttpRequestDef
- func GenReqDefForListLabelsAomPromPost() *def.HttpRequestDef
- func GenReqDefForListLogItems() *def.HttpRequestDef
- func GenReqDefForListMetadataAomPromGet() *def.HttpRequestDef
- func GenReqDefForListMetricItems() *def.HttpRequestDef
- func GenReqDefForListRangeQueryAomPromGet() *def.HttpRequestDef
- func GenReqDefForListRangeQueryAomPromPost() *def.HttpRequestDef
- func GenReqDefForListSample() *def.HttpRequestDef
- func GenReqDefForListSeries() *def.HttpRequestDef
- func GenReqDefForListServiceDiscoveryRules() *def.HttpRequestDef
- func GenReqDefForPushEvents() *def.HttpRequestDef
- func GenReqDefForShowAlarmRule() *def.HttpRequestDef
- func GenReqDefForShowMetricsData() *def.HttpRequestDef
- func GenReqDefForUpdateAlarmRule() *def.HttpRequestDef
- type AddAlarmRuleInvoker
- type AddMetricDataInvoker
- type AddOrUpdateServiceDiscoveryRulesInvoker
- type AomClient
- func (c *AomClient) AddAlarmRule(request *model.AddAlarmRuleRequest) (*model.AddAlarmRuleResponse, error)
- func (c *AomClient) AddAlarmRuleInvoker(request *model.AddAlarmRuleRequest) *AddAlarmRuleInvoker
- func (c *AomClient) AddMetricData(request *model.AddMetricDataRequest) (*model.AddMetricDataResponse, error)
- func (c *AomClient) AddMetricDataInvoker(request *model.AddMetricDataRequest) *AddMetricDataInvoker
- func (c *AomClient) AddOrUpdateServiceDiscoveryRules(request *model.AddOrUpdateServiceDiscoveryRulesRequest) (*model.AddOrUpdateServiceDiscoveryRulesResponse, error)
- func (c *AomClient) AddOrUpdateServiceDiscoveryRulesInvoker(request *model.AddOrUpdateServiceDiscoveryRulesRequest) *AddOrUpdateServiceDiscoveryRulesInvoker
- func (c *AomClient) CountEvents(request *model.CountEventsRequest) (*model.CountEventsResponse, error)
- func (c *AomClient) CountEventsInvoker(request *model.CountEventsRequest) *CountEventsInvoker
- func (c *AomClient) DeleteAlarmRule(request *model.DeleteAlarmRuleRequest) (*model.DeleteAlarmRuleResponse, error)
- func (c *AomClient) DeleteAlarmRuleInvoker(request *model.DeleteAlarmRuleRequest) *DeleteAlarmRuleInvoker
- func (c *AomClient) DeleteAlarmRules(request *model.DeleteAlarmRulesRequest) (*model.DeleteAlarmRulesResponse, error)
- func (c *AomClient) DeleteAlarmRulesInvoker(request *model.DeleteAlarmRulesRequest) *DeleteAlarmRulesInvoker
- func (c *AomClient) DeleteserviceDiscoveryRules(request *model.DeleteserviceDiscoveryRulesRequest) (*model.DeleteserviceDiscoveryRulesResponse, error)
- func (c *AomClient) DeleteserviceDiscoveryRulesInvoker(request *model.DeleteserviceDiscoveryRulesRequest) *DeleteserviceDiscoveryRulesInvoker
- func (c *AomClient) ListAlarmRule(request *model.ListAlarmRuleRequest) (*model.ListAlarmRuleResponse, error)
- func (c *AomClient) ListAlarmRuleInvoker(request *model.ListAlarmRuleRequest) *ListAlarmRuleInvoker
- func (c *AomClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)
- func (c *AomClient) ListEventsInvoker(request *model.ListEventsRequest) *ListEventsInvoker
- func (c *AomClient) ListInstantQueryAomPromGet(request *model.ListInstantQueryAomPromGetRequest) (*model.ListInstantQueryAomPromGetResponse, error)
- func (c *AomClient) ListInstantQueryAomPromGetInvoker(request *model.ListInstantQueryAomPromGetRequest) *ListInstantQueryAomPromGetInvoker
- func (c *AomClient) ListInstantQueryAomPromPost(request *model.ListInstantQueryAomPromPostRequest) (*model.ListInstantQueryAomPromPostResponse, error)
- func (c *AomClient) ListInstantQueryAomPromPostInvoker(request *model.ListInstantQueryAomPromPostRequest) *ListInstantQueryAomPromPostInvoker
- func (c *AomClient) ListLabelValuesAomPromGet(request *model.ListLabelValuesAomPromGetRequest) (*model.ListLabelValuesAomPromGetResponse, error)
- func (c *AomClient) ListLabelValuesAomPromGetInvoker(request *model.ListLabelValuesAomPromGetRequest) *ListLabelValuesAomPromGetInvoker
- func (c *AomClient) ListLabelsAomPromGet(request *model.ListLabelsAomPromGetRequest) (*model.ListLabelsAomPromGetResponse, error)
- func (c *AomClient) ListLabelsAomPromGetInvoker(request *model.ListLabelsAomPromGetRequest) *ListLabelsAomPromGetInvoker
- func (c *AomClient) ListLabelsAomPromPost(request *model.ListLabelsAomPromPostRequest) (*model.ListLabelsAomPromPostResponse, error)
- func (c *AomClient) ListLabelsAomPromPostInvoker(request *model.ListLabelsAomPromPostRequest) *ListLabelsAomPromPostInvoker
- func (c *AomClient) ListLogItems(request *model.ListLogItemsRequest) (*model.ListLogItemsResponse, error)
- func (c *AomClient) ListLogItemsInvoker(request *model.ListLogItemsRequest) *ListLogItemsInvoker
- func (c *AomClient) ListMetadataAomPromGet(request *model.ListMetadataAomPromGetRequest) (*model.ListMetadataAomPromGetResponse, error)
- func (c *AomClient) ListMetadataAomPromGetInvoker(request *model.ListMetadataAomPromGetRequest) *ListMetadataAomPromGetInvoker
- func (c *AomClient) ListMetricItems(request *model.ListMetricItemsRequest) (*model.ListMetricItemsResponse, error)
- func (c *AomClient) ListMetricItemsInvoker(request *model.ListMetricItemsRequest) *ListMetricItemsInvoker
- func (c *AomClient) ListRangeQueryAomPromGet(request *model.ListRangeQueryAomPromGetRequest) (*model.ListRangeQueryAomPromGetResponse, error)
- func (c *AomClient) ListRangeQueryAomPromGetInvoker(request *model.ListRangeQueryAomPromGetRequest) *ListRangeQueryAomPromGetInvoker
- func (c *AomClient) ListRangeQueryAomPromPost(request *model.ListRangeQueryAomPromPostRequest) (*model.ListRangeQueryAomPromPostResponse, error)
- func (c *AomClient) ListRangeQueryAomPromPostInvoker(request *model.ListRangeQueryAomPromPostRequest) *ListRangeQueryAomPromPostInvoker
- func (c *AomClient) ListSample(request *model.ListSampleRequest) (*model.ListSampleResponse, error)
- func (c *AomClient) ListSampleInvoker(request *model.ListSampleRequest) *ListSampleInvoker
- func (c *AomClient) ListSeries(request *model.ListSeriesRequest) (*model.ListSeriesResponse, error)
- func (c *AomClient) ListSeriesInvoker(request *model.ListSeriesRequest) *ListSeriesInvoker
- func (c *AomClient) ListServiceDiscoveryRules(request *model.ListServiceDiscoveryRulesRequest) (*model.ListServiceDiscoveryRulesResponse, error)
- func (c *AomClient) ListServiceDiscoveryRulesInvoker(request *model.ListServiceDiscoveryRulesRequest) *ListServiceDiscoveryRulesInvoker
- func (c *AomClient) PushEvents(request *model.PushEventsRequest) (*model.PushEventsResponse, error)
- func (c *AomClient) PushEventsInvoker(request *model.PushEventsRequest) *PushEventsInvoker
- func (c *AomClient) ShowAlarmRule(request *model.ShowAlarmRuleRequest) (*model.ShowAlarmRuleResponse, error)
- func (c *AomClient) ShowAlarmRuleInvoker(request *model.ShowAlarmRuleRequest) *ShowAlarmRuleInvoker
- func (c *AomClient) ShowMetricsData(request *model.ShowMetricsDataRequest) (*model.ShowMetricsDataResponse, error)
- func (c *AomClient) ShowMetricsDataInvoker(request *model.ShowMetricsDataRequest) *ShowMetricsDataInvoker
- func (c *AomClient) UpdateAlarmRule(request *model.UpdateAlarmRuleRequest) (*model.UpdateAlarmRuleResponse, error)
- func (c *AomClient) UpdateAlarmRuleInvoker(request *model.UpdateAlarmRuleRequest) *UpdateAlarmRuleInvoker
- type CountEventsInvoker
- type DeleteAlarmRuleInvoker
- type DeleteAlarmRulesInvoker
- type DeleteserviceDiscoveryRulesInvoker
- type ListAlarmRuleInvoker
- type ListEventsInvoker
- type ListInstantQueryAomPromGetInvoker
- type ListInstantQueryAomPromPostInvoker
- type ListLabelValuesAomPromGetInvoker
- type ListLabelsAomPromGetInvoker
- type ListLabelsAomPromPostInvoker
- type ListLogItemsInvoker
- type ListMetadataAomPromGetInvoker
- type ListMetricItemsInvoker
- type ListRangeQueryAomPromGetInvoker
- type ListRangeQueryAomPromPostInvoker
- type ListSampleInvoker
- type ListSeriesInvoker
- type ListServiceDiscoveryRulesInvoker
- type PushEventsInvoker
- type ShowAlarmRuleInvoker
- type ShowMetricsDataInvoker
- type UpdateAlarmRuleInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AomClientBuilder ¶
func AomClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAddAlarmRule ¶
func GenReqDefForAddAlarmRule() *def.HttpRequestDef
func GenReqDefForAddMetricData ¶
func GenReqDefForAddMetricData() *def.HttpRequestDef
func GenReqDefForAddOrUpdateServiceDiscoveryRules ¶
func GenReqDefForAddOrUpdateServiceDiscoveryRules() *def.HttpRequestDef
func GenReqDefForCountEvents ¶
func GenReqDefForCountEvents() *def.HttpRequestDef
func GenReqDefForDeleteAlarmRule ¶
func GenReqDefForDeleteAlarmRule() *def.HttpRequestDef
func GenReqDefForDeleteAlarmRules ¶
func GenReqDefForDeleteAlarmRules() *def.HttpRequestDef
func GenReqDefForDeleteserviceDiscoveryRules ¶
func GenReqDefForDeleteserviceDiscoveryRules() *def.HttpRequestDef
func GenReqDefForListAlarmRule ¶
func GenReqDefForListAlarmRule() *def.HttpRequestDef
func GenReqDefForListEvents ¶
func GenReqDefForListEvents() *def.HttpRequestDef
func GenReqDefForListInstantQueryAomPromGet ¶
func GenReqDefForListInstantQueryAomPromGet() *def.HttpRequestDef
func GenReqDefForListInstantQueryAomPromPost ¶
func GenReqDefForListInstantQueryAomPromPost() *def.HttpRequestDef
func GenReqDefForListLabelValuesAomPromGet ¶
func GenReqDefForListLabelValuesAomPromGet() *def.HttpRequestDef
func GenReqDefForListLabelsAomPromGet ¶
func GenReqDefForListLabelsAomPromGet() *def.HttpRequestDef
func GenReqDefForListLabelsAomPromPost ¶
func GenReqDefForListLabelsAomPromPost() *def.HttpRequestDef
func GenReqDefForListLogItems ¶
func GenReqDefForListLogItems() *def.HttpRequestDef
func GenReqDefForListMetadataAomPromGet ¶
func GenReqDefForListMetadataAomPromGet() *def.HttpRequestDef
func GenReqDefForListMetricItems ¶
func GenReqDefForListMetricItems() *def.HttpRequestDef
func GenReqDefForListRangeQueryAomPromGet ¶
func GenReqDefForListRangeQueryAomPromGet() *def.HttpRequestDef
func GenReqDefForListRangeQueryAomPromPost ¶
func GenReqDefForListRangeQueryAomPromPost() *def.HttpRequestDef
func GenReqDefForListSample ¶
func GenReqDefForListSample() *def.HttpRequestDef
func GenReqDefForListSeries ¶
func GenReqDefForListSeries() *def.HttpRequestDef
func GenReqDefForListServiceDiscoveryRules ¶
func GenReqDefForListServiceDiscoveryRules() *def.HttpRequestDef
func GenReqDefForPushEvents ¶
func GenReqDefForPushEvents() *def.HttpRequestDef
func GenReqDefForShowAlarmRule ¶
func GenReqDefForShowAlarmRule() *def.HttpRequestDef
func GenReqDefForShowMetricsData ¶
func GenReqDefForShowMetricsData() *def.HttpRequestDef
func GenReqDefForUpdateAlarmRule ¶
func GenReqDefForUpdateAlarmRule() *def.HttpRequestDef
Types ¶
type AddAlarmRuleInvoker ¶ added in v0.0.90
type AddAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*AddAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *AddAlarmRuleInvoker) Invoke() (*model.AddAlarmRuleResponse, error)
type AddMetricDataInvoker ¶ added in v0.0.90
type AddMetricDataInvoker struct {
*invoker.BaseInvoker
}
func (*AddMetricDataInvoker) Invoke ¶ added in v0.0.90
func (i *AddMetricDataInvoker) Invoke() (*model.AddMetricDataResponse, error)
type AddOrUpdateServiceDiscoveryRulesInvoker ¶ added in v0.0.90
type AddOrUpdateServiceDiscoveryRulesInvoker struct {
*invoker.BaseInvoker
}
func (*AddOrUpdateServiceDiscoveryRulesInvoker) Invoke ¶ added in v0.0.90
func (i *AddOrUpdateServiceDiscoveryRulesInvoker) Invoke() (*model.AddOrUpdateServiceDiscoveryRulesResponse, error)
type AomClient ¶
type AomClient struct {
HcClient *http_client.HcHttpClient
}
func NewAomClient ¶
func NewAomClient(hcClient *http_client.HcHttpClient) *AomClient
func (*AomClient) AddAlarmRule ¶
func (c *AomClient) AddAlarmRule(request *model.AddAlarmRuleRequest) (*model.AddAlarmRuleResponse, error)
AddAlarmRule 添加阈值规则
该接口用于添加一条阈值规则。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) AddAlarmRuleInvoker ¶ added in v0.0.90
func (c *AomClient) AddAlarmRuleInvoker(request *model.AddAlarmRuleRequest) *AddAlarmRuleInvoker
AddAlarmRuleInvoker 添加阈值规则
func (*AomClient) AddMetricData ¶
func (c *AomClient) AddMetricData(request *model.AddMetricDataRequest) (*model.AddMetricDataResponse, error)
AddMetricData 添加监控数据
该接口用于向服务端添加一条或多条监控数据。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) AddMetricDataInvoker ¶ added in v0.0.90
func (c *AomClient) AddMetricDataInvoker(request *model.AddMetricDataRequest) *AddMetricDataInvoker
AddMetricDataInvoker 添加监控数据
func (*AomClient) AddOrUpdateServiceDiscoveryRules ¶
func (c *AomClient) AddOrUpdateServiceDiscoveryRules(request *model.AddOrUpdateServiceDiscoveryRulesRequest) (*model.AddOrUpdateServiceDiscoveryRulesResponse, error)
AddOrUpdateServiceDiscoveryRules 添加或修改服务发现规则
该接口用于添加或修改一条或多条服务发现规则。同一projectid下可添加的规则上限为100条。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) AddOrUpdateServiceDiscoveryRulesInvoker ¶ added in v0.0.90
func (c *AomClient) AddOrUpdateServiceDiscoveryRulesInvoker(request *model.AddOrUpdateServiceDiscoveryRulesRequest) *AddOrUpdateServiceDiscoveryRulesInvoker
AddOrUpdateServiceDiscoveryRulesInvoker 添加或修改服务发现规则
func (*AomClient) CountEvents ¶
func (c *AomClient) CountEvents(request *model.CountEventsRequest) (*model.CountEventsResponse, error)
CountEvents 统计事件告警信息
该接口用于分段统计指定条件下的事件、告警。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) CountEventsInvoker ¶ added in v0.0.90
func (c *AomClient) CountEventsInvoker(request *model.CountEventsRequest) *CountEventsInvoker
CountEventsInvoker 统计事件告警信息
func (*AomClient) DeleteAlarmRule ¶
func (c *AomClient) DeleteAlarmRule(request *model.DeleteAlarmRuleRequest) (*model.DeleteAlarmRuleResponse, error)
DeleteAlarmRule 删除阈值规则
该接口用于删除阈值规则。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) DeleteAlarmRuleInvoker ¶ added in v0.0.90
func (c *AomClient) DeleteAlarmRuleInvoker(request *model.DeleteAlarmRuleRequest) *DeleteAlarmRuleInvoker
DeleteAlarmRuleInvoker 删除阈值规则
func (*AomClient) DeleteAlarmRules ¶
func (c *AomClient) DeleteAlarmRules(request *model.DeleteAlarmRulesRequest) (*model.DeleteAlarmRulesResponse, error)
DeleteAlarmRules 批量删除阈值规则
批量删除阈值规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) DeleteAlarmRulesInvoker ¶ added in v0.0.90
func (c *AomClient) DeleteAlarmRulesInvoker(request *model.DeleteAlarmRulesRequest) *DeleteAlarmRulesInvoker
DeleteAlarmRulesInvoker 批量删除阈值规则
func (*AomClient) DeleteserviceDiscoveryRules ¶
func (c *AomClient) DeleteserviceDiscoveryRules(request *model.DeleteserviceDiscoveryRulesRequest) (*model.DeleteserviceDiscoveryRulesResponse, error)
DeleteserviceDiscoveryRules 删除服务发现规则
该接口用于删除服务发现规则。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) DeleteserviceDiscoveryRulesInvoker ¶ added in v0.0.90
func (c *AomClient) DeleteserviceDiscoveryRulesInvoker(request *model.DeleteserviceDiscoveryRulesRequest) *DeleteserviceDiscoveryRulesInvoker
DeleteserviceDiscoveryRulesInvoker 删除服务发现规则
func (*AomClient) ListAlarmRule ¶
func (c *AomClient) ListAlarmRule(request *model.ListAlarmRuleRequest) (*model.ListAlarmRuleResponse, error)
ListAlarmRule 查询阈值规则列表
该接口用于查询阈值规则列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListAlarmRuleInvoker ¶ added in v0.0.90
func (c *AomClient) ListAlarmRuleInvoker(request *model.ListAlarmRuleRequest) *ListAlarmRuleInvoker
ListAlarmRuleInvoker 查询阈值规则列表
func (*AomClient) ListEvents ¶
func (c *AomClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)
ListEvents 查询事件告警信息
该接口用于查询对应用户的事件、告警。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListEventsInvoker ¶ added in v0.0.90
func (c *AomClient) ListEventsInvoker(request *model.ListEventsRequest) *ListEventsInvoker
ListEventsInvoker 查询事件告警信息
func (*AomClient) ListInstantQueryAomPromGet ¶
func (c *AomClient) ListInstantQueryAomPromGet(request *model.ListInstantQueryAomPromGetRequest) (*model.ListInstantQueryAomPromGetResponse, error)
ListInstantQueryAomPromGet 瞬时数据查询
该接口用于查询PromQL(Prometheus Query Language)。 在特定时间点下的计算结果。(注:接口目前开放的region为:北京四、上海一和广州)。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListInstantQueryAomPromGetInvoker ¶ added in v0.0.90
func (c *AomClient) ListInstantQueryAomPromGetInvoker(request *model.ListInstantQueryAomPromGetRequest) *ListInstantQueryAomPromGetInvoker
ListInstantQueryAomPromGetInvoker 瞬时数据查询
func (*AomClient) ListInstantQueryAomPromPost ¶
func (c *AomClient) ListInstantQueryAomPromPost(request *model.ListInstantQueryAomPromPostRequest) (*model.ListInstantQueryAomPromPostResponse, error)
ListInstantQueryAomPromPost 瞬时数据查询
该接口用于查询PromQL(Prometheus Query Language) 在特定时间点下的计算结果。(注:接口目前开放的region为:北京四、上海一和广州)
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListInstantQueryAomPromPostInvoker ¶ added in v0.0.90
func (c *AomClient) ListInstantQueryAomPromPostInvoker(request *model.ListInstantQueryAomPromPostRequest) *ListInstantQueryAomPromPostInvoker
ListInstantQueryAomPromPostInvoker 瞬时数据查询
func (*AomClient) ListLabelValuesAomPromGet ¶
func (c *AomClient) ListLabelValuesAomPromGet(request *model.ListLabelValuesAomPromGetRequest) (*model.ListLabelValuesAomPromGetResponse, error)
ListLabelValuesAomPromGet 查询标签值
该接口用于查询带有指定标签的时间序列列表。(注:接口目前开放的region为:北京四、上海一和广州)。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListLabelValuesAomPromGetInvoker ¶ added in v0.0.90
func (c *AomClient) ListLabelValuesAomPromGetInvoker(request *model.ListLabelValuesAomPromGetRequest) *ListLabelValuesAomPromGetInvoker
ListLabelValuesAomPromGetInvoker 查询标签值
func (*AomClient) ListLabelsAomPromGet ¶
func (c *AomClient) ListLabelsAomPromGet(request *model.ListLabelsAomPromGetRequest) (*model.ListLabelsAomPromGetResponse, error)
ListLabelsAomPromGet 获取标签名列表
该接口用于获取标签名列表。(注:接口目前开放的region为:北京四、上海一和广州)。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListLabelsAomPromGetInvoker ¶ added in v0.0.90
func (c *AomClient) ListLabelsAomPromGetInvoker(request *model.ListLabelsAomPromGetRequest) *ListLabelsAomPromGetInvoker
ListLabelsAomPromGetInvoker 获取标签名列表
func (*AomClient) ListLabelsAomPromPost ¶
func (c *AomClient) ListLabelsAomPromPost(request *model.ListLabelsAomPromPostRequest) (*model.ListLabelsAomPromPostResponse, error)
ListLabelsAomPromPost 获取标签名列表
该接口用于获取标签名列表。(注:接口目前开放的region为:北京四、上海一和广州)。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListLabelsAomPromPostInvoker ¶ added in v0.0.90
func (c *AomClient) ListLabelsAomPromPostInvoker(request *model.ListLabelsAomPromPostRequest) *ListLabelsAomPromPostInvoker
ListLabelsAomPromPostInvoker 获取标签名列表
func (*AomClient) ListLogItems ¶
func (c *AomClient) ListLogItems(request *model.ListLogItemsRequest) (*model.ListLogItemsResponse, error)
ListLogItems 查询日志
该接口用于查询不同维度(例如集群、IP、应用等)下的日志内容,支持分页查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListLogItemsInvoker ¶ added in v0.0.90
func (c *AomClient) ListLogItemsInvoker(request *model.ListLogItemsRequest) *ListLogItemsInvoker
ListLogItemsInvoker 查询日志
func (*AomClient) ListMetadataAomPromGet ¶
func (c *AomClient) ListMetadataAomPromGet(request *model.ListMetadataAomPromGetRequest) (*model.ListMetadataAomPromGetResponse, error)
ListMetadataAomPromGet 元数据查询
该接口用于查询序列及序列标签的元数据。(注:接口目前开放的region为:北京四、上海一和广州)。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListMetadataAomPromGetInvoker ¶ added in v0.0.90
func (c *AomClient) ListMetadataAomPromGetInvoker(request *model.ListMetadataAomPromGetRequest) *ListMetadataAomPromGetInvoker
ListMetadataAomPromGetInvoker 元数据查询
func (*AomClient) ListMetricItems ¶
func (c *AomClient) ListMetricItems(request *model.ListMetricItemsRequest) (*model.ListMetricItemsResponse, error)
ListMetricItems 查询指标
该接口用于查询系统当前可监控的指标列表,可以指定指标命名空间、指标名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListMetricItemsInvoker ¶ added in v0.0.90
func (c *AomClient) ListMetricItemsInvoker(request *model.ListMetricItemsRequest) *ListMetricItemsInvoker
ListMetricItemsInvoker 查询指标
func (*AomClient) ListRangeQueryAomPromGet ¶
func (c *AomClient) ListRangeQueryAomPromGet(request *model.ListRangeQueryAomPromGetRequest) (*model.ListRangeQueryAomPromGetResponse, error)
ListRangeQueryAomPromGet 区间数据查询
该接口用于查询PromQL(Prometheus Query Language)在一段时间返回内的计算结果。(注:接口目前开放的region为:北京四、上海一和广州)。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListRangeQueryAomPromGetInvoker ¶ added in v0.0.90
func (c *AomClient) ListRangeQueryAomPromGetInvoker(request *model.ListRangeQueryAomPromGetRequest) *ListRangeQueryAomPromGetInvoker
ListRangeQueryAomPromGetInvoker 区间数据查询
func (*AomClient) ListRangeQueryAomPromPost ¶
func (c *AomClient) ListRangeQueryAomPromPost(request *model.ListRangeQueryAomPromPostRequest) (*model.ListRangeQueryAomPromPostResponse, error)
ListRangeQueryAomPromPost 区间数据查询
该接口用于查询PromQL(Prometheus Query Language)在一段时间返回内的计算结果。(注:接口目前开放的region为:北京四、上海一和广州)。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListRangeQueryAomPromPostInvoker ¶ added in v0.0.90
func (c *AomClient) ListRangeQueryAomPromPostInvoker(request *model.ListRangeQueryAomPromPostRequest) *ListRangeQueryAomPromPostInvoker
ListRangeQueryAomPromPostInvoker 区间数据查询
func (*AomClient) ListSample ¶
func (c *AomClient) ListSample(request *model.ListSampleRequest) (*model.ListSampleResponse, error)
ListSample 查询时序数据
该接口用于查询指定时间范围内的监控时序数据,可以通过参数指定需要查询的数据维度,数据周期等。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListSampleInvoker ¶ added in v0.0.90
func (c *AomClient) ListSampleInvoker(request *model.ListSampleRequest) *ListSampleInvoker
ListSampleInvoker 查询时序数据
func (*AomClient) ListSeries ¶
func (c *AomClient) ListSeries(request *model.ListSeriesRequest) (*model.ListSeriesResponse, error)
ListSeries 查询时间序列
该接口用于查询系统当前可监控的时间序列列表,可以指定时间序列命名空间、名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListSeriesInvoker ¶ added in v0.0.90
func (c *AomClient) ListSeriesInvoker(request *model.ListSeriesRequest) *ListSeriesInvoker
ListSeriesInvoker 查询时间序列
func (*AomClient) ListServiceDiscoveryRules ¶
func (c *AomClient) ListServiceDiscoveryRules(request *model.ListServiceDiscoveryRulesRequest) (*model.ListServiceDiscoveryRulesResponse, error)
ListServiceDiscoveryRules 查询系统中已有服务发现规则
该接口用于查询系统当前已存在的服务发现规则。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ListServiceDiscoveryRulesInvoker ¶ added in v0.0.90
func (c *AomClient) ListServiceDiscoveryRulesInvoker(request *model.ListServiceDiscoveryRulesRequest) *ListServiceDiscoveryRulesInvoker
ListServiceDiscoveryRulesInvoker 查询系统中已有服务发现规则
func (*AomClient) PushEvents ¶
func (c *AomClient) PushEvents(request *model.PushEventsRequest) (*model.PushEventsResponse, error)
PushEvents 上报事件告警信息
该接口用于上报对应用户的事件、告警。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) PushEventsInvoker ¶ added in v0.0.90
func (c *AomClient) PushEventsInvoker(request *model.PushEventsRequest) *PushEventsInvoker
PushEventsInvoker 上报事件告警信息
func (*AomClient) ShowAlarmRule ¶
func (c *AomClient) ShowAlarmRule(request *model.ShowAlarmRuleRequest) (*model.ShowAlarmRuleResponse, error)
ShowAlarmRule 查询单条阈值规则
该接口用于查询单条阈值规则。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ShowAlarmRuleInvoker ¶ added in v0.0.90
func (c *AomClient) ShowAlarmRuleInvoker(request *model.ShowAlarmRuleRequest) *ShowAlarmRuleInvoker
ShowAlarmRuleInvoker 查询单条阈值规则
func (*AomClient) ShowMetricsData ¶
func (c *AomClient) ShowMetricsData(request *model.ShowMetricsDataRequest) (*model.ShowMetricsDataResponse, error)
ShowMetricsData 查询监控数据
该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) ShowMetricsDataInvoker ¶ added in v0.0.90
func (c *AomClient) ShowMetricsDataInvoker(request *model.ShowMetricsDataRequest) *ShowMetricsDataInvoker
ShowMetricsDataInvoker 查询监控数据
func (*AomClient) UpdateAlarmRule ¶
func (c *AomClient) UpdateAlarmRule(request *model.UpdateAlarmRuleRequest) (*model.UpdateAlarmRuleResponse, error)
UpdateAlarmRule 修改阈值规则
该接口用于修改一条阈值规则。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*AomClient) UpdateAlarmRuleInvoker ¶ added in v0.0.90
func (c *AomClient) UpdateAlarmRuleInvoker(request *model.UpdateAlarmRuleRequest) *UpdateAlarmRuleInvoker
UpdateAlarmRuleInvoker 修改阈值规则
type CountEventsInvoker ¶ added in v0.0.90
type CountEventsInvoker struct {
*invoker.BaseInvoker
}
func (*CountEventsInvoker) Invoke ¶ added in v0.0.90
func (i *CountEventsInvoker) Invoke() (*model.CountEventsResponse, error)
type DeleteAlarmRuleInvoker ¶ added in v0.0.90
type DeleteAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteAlarmRuleInvoker) Invoke() (*model.DeleteAlarmRuleResponse, error)
type DeleteAlarmRulesInvoker ¶ added in v0.0.90
type DeleteAlarmRulesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAlarmRulesInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteAlarmRulesInvoker) Invoke() (*model.DeleteAlarmRulesResponse, error)
type DeleteserviceDiscoveryRulesInvoker ¶ added in v0.0.90
type DeleteserviceDiscoveryRulesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteserviceDiscoveryRulesInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteserviceDiscoveryRulesInvoker) Invoke() (*model.DeleteserviceDiscoveryRulesResponse, error)
type ListAlarmRuleInvoker ¶ added in v0.0.90
type ListAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ListAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *ListAlarmRuleInvoker) Invoke() (*model.ListAlarmRuleResponse, error)
type ListEventsInvoker ¶ added in v0.0.90
type ListEventsInvoker struct {
*invoker.BaseInvoker
}
func (*ListEventsInvoker) Invoke ¶ added in v0.0.90
func (i *ListEventsInvoker) Invoke() (*model.ListEventsResponse, error)
type ListInstantQueryAomPromGetInvoker ¶ added in v0.0.90
type ListInstantQueryAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstantQueryAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListInstantQueryAomPromGetInvoker) Invoke() (*model.ListInstantQueryAomPromGetResponse, error)
type ListInstantQueryAomPromPostInvoker ¶ added in v0.0.90
type ListInstantQueryAomPromPostInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstantQueryAomPromPostInvoker) Invoke ¶ added in v0.0.90
func (i *ListInstantQueryAomPromPostInvoker) Invoke() (*model.ListInstantQueryAomPromPostResponse, error)
type ListLabelValuesAomPromGetInvoker ¶ added in v0.0.90
type ListLabelValuesAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListLabelValuesAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListLabelValuesAomPromGetInvoker) Invoke() (*model.ListLabelValuesAomPromGetResponse, error)
type ListLabelsAomPromGetInvoker ¶ added in v0.0.90
type ListLabelsAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListLabelsAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListLabelsAomPromGetInvoker) Invoke() (*model.ListLabelsAomPromGetResponse, error)
type ListLabelsAomPromPostInvoker ¶ added in v0.0.90
type ListLabelsAomPromPostInvoker struct {
*invoker.BaseInvoker
}
func (*ListLabelsAomPromPostInvoker) Invoke ¶ added in v0.0.90
func (i *ListLabelsAomPromPostInvoker) Invoke() (*model.ListLabelsAomPromPostResponse, error)
type ListLogItemsInvoker ¶ added in v0.0.90
type ListLogItemsInvoker struct {
*invoker.BaseInvoker
}
func (*ListLogItemsInvoker) Invoke ¶ added in v0.0.90
func (i *ListLogItemsInvoker) Invoke() (*model.ListLogItemsResponse, error)
type ListMetadataAomPromGetInvoker ¶ added in v0.0.90
type ListMetadataAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListMetadataAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListMetadataAomPromGetInvoker) Invoke() (*model.ListMetadataAomPromGetResponse, error)
type ListMetricItemsInvoker ¶ added in v0.0.90
type ListMetricItemsInvoker struct {
*invoker.BaseInvoker
}
func (*ListMetricItemsInvoker) Invoke ¶ added in v0.0.90
func (i *ListMetricItemsInvoker) Invoke() (*model.ListMetricItemsResponse, error)
type ListRangeQueryAomPromGetInvoker ¶ added in v0.0.90
type ListRangeQueryAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListRangeQueryAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListRangeQueryAomPromGetInvoker) Invoke() (*model.ListRangeQueryAomPromGetResponse, error)
type ListRangeQueryAomPromPostInvoker ¶ added in v0.0.90
type ListRangeQueryAomPromPostInvoker struct {
*invoker.BaseInvoker
}
func (*ListRangeQueryAomPromPostInvoker) Invoke ¶ added in v0.0.90
func (i *ListRangeQueryAomPromPostInvoker) Invoke() (*model.ListRangeQueryAomPromPostResponse, error)
type ListSampleInvoker ¶ added in v0.0.90
type ListSampleInvoker struct {
*invoker.BaseInvoker
}
func (*ListSampleInvoker) Invoke ¶ added in v0.0.90
func (i *ListSampleInvoker) Invoke() (*model.ListSampleResponse, error)
type ListSeriesInvoker ¶ added in v0.0.90
type ListSeriesInvoker struct {
*invoker.BaseInvoker
}
func (*ListSeriesInvoker) Invoke ¶ added in v0.0.90
func (i *ListSeriesInvoker) Invoke() (*model.ListSeriesResponse, error)
type ListServiceDiscoveryRulesInvoker ¶ added in v0.0.90
type ListServiceDiscoveryRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ListServiceDiscoveryRulesInvoker) Invoke ¶ added in v0.0.90
func (i *ListServiceDiscoveryRulesInvoker) Invoke() (*model.ListServiceDiscoveryRulesResponse, error)
type PushEventsInvoker ¶ added in v0.0.90
type PushEventsInvoker struct {
*invoker.BaseInvoker
}
func (*PushEventsInvoker) Invoke ¶ added in v0.0.90
func (i *PushEventsInvoker) Invoke() (*model.PushEventsResponse, error)
type ShowAlarmRuleInvoker ¶ added in v0.0.90
type ShowAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *ShowAlarmRuleInvoker) Invoke() (*model.ShowAlarmRuleResponse, error)
type ShowMetricsDataInvoker ¶ added in v0.0.90
type ShowMetricsDataInvoker struct {
*invoker.BaseInvoker
}
func (*ShowMetricsDataInvoker) Invoke ¶ added in v0.0.90
func (i *ShowMetricsDataInvoker) Invoke() (*model.ShowMetricsDataResponse, error)
type UpdateAlarmRuleInvoker ¶ added in v0.0.90
type UpdateAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateAlarmRuleInvoker) Invoke() (*model.UpdateAlarmRuleResponse, error)