v2

package
v0.1.108 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AomClientBuilder

func AomClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForAddActionRule added in v0.1.13

func GenReqDefForAddActionRule() *def.HttpRequestDef

func GenReqDefForAddAlarmRule

func GenReqDefForAddAlarmRule() *def.HttpRequestDef

func GenReqDefForAddEvent2alarmRule added in v0.1.13

func GenReqDefForAddEvent2alarmRule() *def.HttpRequestDef

func GenReqDefForAddMetricData

func GenReqDefForAddMetricData() *def.HttpRequestDef

func GenReqDefForAddMuteRules added in v0.1.13

func GenReqDefForAddMuteRules() *def.HttpRequestDef

func GenReqDefForAddOrUpdateMetricOrEventAlarmRule added in v0.1.103

func GenReqDefForAddOrUpdateMetricOrEventAlarmRule() *def.HttpRequestDef

func GenReqDefForAddOrUpdateServiceDiscoveryRules

func GenReqDefForAddOrUpdateServiceDiscoveryRules() *def.HttpRequestDef

func GenReqDefForCountEvents

func GenReqDefForCountEvents() *def.HttpRequestDef

func GenReqDefForCreatePromInstance added in v0.1.68

func GenReqDefForCreatePromInstance() *def.HttpRequestDef

func GenReqDefForCreateRecordingRule added in v0.1.68

func GenReqDefForCreateRecordingRule() *def.HttpRequestDef

func GenReqDefForDeleteActionRule added in v0.1.13

func GenReqDefForDeleteActionRule() *def.HttpRequestDef

func GenReqDefForDeleteAlarmRule

func GenReqDefForDeleteAlarmRule() *def.HttpRequestDef

func GenReqDefForDeleteAlarmRules

func GenReqDefForDeleteAlarmRules() *def.HttpRequestDef

func GenReqDefForDeleteEvent2alarmRule added in v0.1.13

func GenReqDefForDeleteEvent2alarmRule() *def.HttpRequestDef

func GenReqDefForDeleteMetricOrEventAlarmRule added in v0.1.103

func GenReqDefForDeleteMetricOrEventAlarmRule() *def.HttpRequestDef

func GenReqDefForDeleteMuteRules added in v0.1.13

func GenReqDefForDeleteMuteRules() *def.HttpRequestDef

func GenReqDefForDeletePromInstance added in v0.1.68

func GenReqDefForDeletePromInstance() *def.HttpRequestDef

func GenReqDefForDeleteserviceDiscoveryRules

func GenReqDefForDeleteserviceDiscoveryRules() *def.HttpRequestDef

func GenReqDefForListAccessCode added in v0.1.68

func GenReqDefForListAccessCode() *def.HttpRequestDef

func GenReqDefForListActionRule added in v0.1.13

func GenReqDefForListActionRule() *def.HttpRequestDef

func GenReqDefForListAgents added in v0.1.68

func GenReqDefForListAgents() *def.HttpRequestDef

func GenReqDefForListAlarmRule

func GenReqDefForListAlarmRule() *def.HttpRequestDef

func GenReqDefForListEvent2alarmRule added in v0.1.13

func GenReqDefForListEvent2alarmRule() *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 GenReqDefForListMetricOrEventAlarmRule added in v0.1.103

func GenReqDefForListMetricOrEventAlarmRule() *def.HttpRequestDef

func GenReqDefForListMuteRule added in v0.1.13

func GenReqDefForListMuteRule() *def.HttpRequestDef

func GenReqDefForListNotifiedHistories added in v0.1.13

func GenReqDefForListNotifiedHistories() *def.HttpRequestDef

func GenReqDefForListPermissions added in v0.1.68

func GenReqDefForListPermissions() *def.HttpRequestDef

func GenReqDefForListPromInstance added in v0.1.68

func GenReqDefForListPromInstance() *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 GenReqDefForShowActionRule added in v0.1.13

func GenReqDefForShowActionRule() *def.HttpRequestDef

func GenReqDefForShowAlarmRule

func GenReqDefForShowAlarmRule() *def.HttpRequestDef

func GenReqDefForShowMetricsData

func GenReqDefForShowMetricsData() *def.HttpRequestDef

func GenReqDefForUpdateActionRule added in v0.1.13

func GenReqDefForUpdateActionRule() *def.HttpRequestDef

func GenReqDefForUpdateAlarmRule

func GenReqDefForUpdateAlarmRule() *def.HttpRequestDef

func GenReqDefForUpdateEventRule added in v0.1.13

func GenReqDefForUpdateEventRule() *def.HttpRequestDef

func GenReqDefForUpdateMuteRule added in v0.1.13

func GenReqDefForUpdateMuteRule() *def.HttpRequestDef

Types

type AddActionRuleInvoker added in v0.1.13

type AddActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*AddActionRuleInvoker) Invoke added in v0.1.13

type AddAlarmRuleInvoker added in v0.0.90

type AddAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*AddAlarmRuleInvoker) Invoke added in v0.0.90

type AddEvent2alarmRuleInvoker added in v0.1.13

type AddEvent2alarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*AddEvent2alarmRuleInvoker) Invoke added in v0.1.13

type AddMetricDataInvoker added in v0.0.90

type AddMetricDataInvoker struct {
	*invoker.BaseInvoker
}

func (*AddMetricDataInvoker) Invoke added in v0.0.90

type AddMuteRulesInvoker added in v0.1.13

type AddMuteRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*AddMuteRulesInvoker) Invoke added in v0.1.13

type AddOrUpdateMetricOrEventAlarmRuleInvoker added in v0.1.103

type AddOrUpdateMetricOrEventAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*AddOrUpdateMetricOrEventAlarmRuleInvoker) Invoke added in v0.1.103

type AddOrUpdateServiceDiscoveryRulesInvoker added in v0.0.90

type AddOrUpdateServiceDiscoveryRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*AddOrUpdateServiceDiscoveryRulesInvoker) Invoke added in v0.0.90

type AomClient

type AomClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewAomClient

func NewAomClient(hcClient *httpclient.HcHttpClient) *AomClient

func (*AomClient) AddActionRule added in v0.1.13

func (c *AomClient) AddActionRule(request *model.AddActionRuleRequest) (*model.AddActionRuleResponse, error)

AddActionRule 新增告警行动规则

新增告警行动规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddActionRuleInvoker added in v0.1.13

func (c *AomClient) AddActionRuleInvoker(request *model.AddActionRuleRequest) *AddActionRuleInvoker

AddActionRuleInvoker 新增告警行动规则

func (*AomClient) AddAlarmRule

func (c *AomClient) AddAlarmRule(request *model.AddAlarmRuleRequest) (*model.AddAlarmRuleResponse, error)

AddAlarmRule 添加阈值规则

该接口用于添加一条阈值规则。

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) AddEvent2alarmRule added in v0.1.13

func (c *AomClient) AddEvent2alarmRule(request *model.AddEvent2alarmRuleRequest) (*model.AddEvent2alarmRuleResponse, error)

AddEvent2alarmRule 新增一条事件类告警规则

新增一条事件类告警规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddEvent2alarmRuleInvoker added in v0.1.13

func (c *AomClient) AddEvent2alarmRuleInvoker(request *model.AddEvent2alarmRuleRequest) *AddEvent2alarmRuleInvoker

AddEvent2alarmRuleInvoker 新增一条事件类告警规则

func (*AomClient) AddMetricData

func (c *AomClient) AddMetricData(request *model.AddMetricDataRequest) (*model.AddMetricDataResponse, error)

AddMetricData 添加监控数据

该接口用于向服务端添加一条或多条监控数据。

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) AddMuteRules added in v0.1.13

func (c *AomClient) AddMuteRules(request *model.AddMuteRulesRequest) (*model.AddMuteRulesResponse, error)

AddMuteRules 新增静默规则

新增静默规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddMuteRulesInvoker added in v0.1.13

func (c *AomClient) AddMuteRulesInvoker(request *model.AddMuteRulesRequest) *AddMuteRulesInvoker

AddMuteRulesInvoker 新增静默规则

func (*AomClient) AddOrUpdateMetricOrEventAlarmRule added in v0.1.103

AddOrUpdateMetricOrEventAlarmRule 添加或修改指标类或事件类告警规则

添加或修改AOM2.0指标类或事件类告警规则。(注:接口目前开放的region为:华东-上海一)

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddOrUpdateMetricOrEventAlarmRuleInvoker added in v0.1.103

func (c *AomClient) AddOrUpdateMetricOrEventAlarmRuleInvoker(request *model.AddOrUpdateMetricOrEventAlarmRuleRequest) *AddOrUpdateMetricOrEventAlarmRuleInvoker

AddOrUpdateMetricOrEventAlarmRuleInvoker 添加或修改指标类或事件类告警规则

func (*AomClient) AddOrUpdateServiceDiscoveryRules

AddOrUpdateServiceDiscoveryRules 添加或修改服务发现规则

该接口用于添加或修改一条或多条服务发现规则。同一projectid下可添加的规则上限为100条。

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 统计事件告警信息

该接口用于分段统计指定条件下的事件、告警。

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) CreatePromInstance added in v0.1.68

func (c *AomClient) CreatePromInstance(request *model.CreatePromInstanceRequest) (*model.CreatePromInstanceResponse, error)

CreatePromInstance 新增Prometheus实例

该接口用于新增Prometheus实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) CreatePromInstanceInvoker added in v0.1.68

func (c *AomClient) CreatePromInstanceInvoker(request *model.CreatePromInstanceRequest) *CreatePromInstanceInvoker

CreatePromInstanceInvoker 新增Prometheus实例

func (*AomClient) CreateRecordingRule added in v0.1.68

CreateRecordingRule 创建Prometheus实例的预聚合规则

该接口用于给Prometheus实例创建预聚合规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) CreateRecordingRuleInvoker added in v0.1.68

func (c *AomClient) CreateRecordingRuleInvoker(request *model.CreateRecordingRuleRequest) *CreateRecordingRuleInvoker

CreateRecordingRuleInvoker 创建Prometheus实例的预聚合规则

func (*AomClient) DeleteActionRule added in v0.1.13

func (c *AomClient) DeleteActionRule(request *model.DeleteActionRuleRequest) (*model.DeleteActionRuleResponse, error)

DeleteActionRule 删除告警行动规则

删除告警行动规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteActionRuleInvoker added in v0.1.13

func (c *AomClient) DeleteActionRuleInvoker(request *model.DeleteActionRuleRequest) *DeleteActionRuleInvoker

DeleteActionRuleInvoker 删除告警行动规则

func (*AomClient) DeleteAlarmRule

func (c *AomClient) DeleteAlarmRule(request *model.DeleteAlarmRuleRequest) (*model.DeleteAlarmRuleResponse, error)

DeleteAlarmRule 删除阈值规则

该接口用于删除阈值规则。

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 批量删除阈值规则

该接口用于批量删除阈值规则

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) DeleteEvent2alarmRule added in v0.1.13

DeleteEvent2alarmRule 删除事件类告警规则

删除一条事件类告警规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteEvent2alarmRuleInvoker added in v0.1.13

func (c *AomClient) DeleteEvent2alarmRuleInvoker(request *model.DeleteEvent2alarmRuleRequest) *DeleteEvent2alarmRuleInvoker

DeleteEvent2alarmRuleInvoker 删除事件类告警规则

func (*AomClient) DeleteMetricOrEventAlarmRule added in v0.1.103

DeleteMetricOrEventAlarmRule 删除指标类或事件类告警规则

删除AOM2.0指标类或事件类告警规则。(注:接口目前开放的region为:华东-上海一)

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteMetricOrEventAlarmRuleInvoker added in v0.1.103

func (c *AomClient) DeleteMetricOrEventAlarmRuleInvoker(request *model.DeleteMetricOrEventAlarmRuleRequest) *DeleteMetricOrEventAlarmRuleInvoker

DeleteMetricOrEventAlarmRuleInvoker 删除指标类或事件类告警规则

func (*AomClient) DeleteMuteRules added in v0.1.13

func (c *AomClient) DeleteMuteRules(request *model.DeleteMuteRulesRequest) (*model.DeleteMuteRulesResponse, error)

DeleteMuteRules 删除静默规则

删除静默规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteMuteRulesInvoker added in v0.1.13

func (c *AomClient) DeleteMuteRulesInvoker(request *model.DeleteMuteRulesRequest) *DeleteMuteRulesInvoker

DeleteMuteRulesInvoker 删除静默规则

func (*AomClient) DeletePromInstance added in v0.1.68

func (c *AomClient) DeletePromInstance(request *model.DeletePromInstanceRequest) (*model.DeletePromInstanceResponse, error)

DeletePromInstance 卸载托管Prometheus实例

该接口用于卸载托管Prometheus实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeletePromInstanceInvoker added in v0.1.68

func (c *AomClient) DeletePromInstanceInvoker(request *model.DeletePromInstanceRequest) *DeletePromInstanceInvoker

DeletePromInstanceInvoker 卸载托管Prometheus实例

func (*AomClient) DeleteserviceDiscoveryRules

DeleteserviceDiscoveryRules 删除服务发现规则

该接口用于删除服务发现规则。

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) ListAccessCode added in v0.1.68

func (c *AomClient) ListAccessCode(request *model.ListAccessCodeRequest) (*model.ListAccessCodeResponse, error)

ListAccessCode 获取Prometheus实例调用凭证

该接口用于获取Prometheus实例调用凭证。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListAccessCodeInvoker added in v0.1.68

func (c *AomClient) ListAccessCodeInvoker(request *model.ListAccessCodeRequest) *ListAccessCodeInvoker

ListAccessCodeInvoker 获取Prometheus实例调用凭证

func (*AomClient) ListActionRule added in v0.1.13

func (c *AomClient) ListActionRule(request *model.ListActionRuleRequest) (*model.ListActionRuleResponse, error)

ListActionRule 获取告警行动规则列表

获取告警行动规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListActionRuleInvoker added in v0.1.13

func (c *AomClient) ListActionRuleInvoker(request *model.ListActionRuleRequest) *ListActionRuleInvoker

ListActionRuleInvoker 获取告警行动规则列表

func (*AomClient) ListAgents added in v0.1.68

func (c *AomClient) ListAgents(request *model.ListAgentsRequest) (*model.ListAgentsResponse, error)

ListAgents 查询主机安装的ICAgent信息

该接口用于查询集群主机或用户自定义主机安装的ICAgent信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListAgentsInvoker added in v0.1.68

func (c *AomClient) ListAgentsInvoker(request *model.ListAgentsRequest) *ListAgentsInvoker

ListAgentsInvoker 查询主机安装的ICAgent信息

func (*AomClient) ListAlarmRule

func (c *AomClient) ListAlarmRule(request *model.ListAlarmRuleRequest) (*model.ListAlarmRuleResponse, error)

ListAlarmRule 查询阈值规则列表

该接口用于查询阈值规则列表。

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) ListEvent2alarmRule added in v0.1.13

ListEvent2alarmRule 查询事件类告警规则列表

查询事件类告警规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListEvent2alarmRuleInvoker added in v0.1.13

func (c *AomClient) ListEvent2alarmRuleInvoker(request *model.ListEvent2alarmRuleRequest) *ListEvent2alarmRuleInvoker

ListEvent2alarmRuleInvoker 查询事件类告警规则列表

func (*AomClient) ListEvents

func (c *AomClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)

ListEvents 查询事件告警信息

该接口用于查询对应用户的事件、告警。

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

ListInstantQueryAomPromGet GET方法查询瞬时数据

该接口使用GET方法查询PromQL(Prometheus Query Language)在特定时间点下的计算结果。

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 GET方法查询瞬时数据

func (*AomClient) ListInstantQueryAomPromPost

ListInstantQueryAomPromPost (推荐)POST方法查询瞬时数据

该接口使用POST方法查询PromQL(Prometheus Query Language) 在特定时间点下的计算结果。

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 (推荐)POST方法查询瞬时数据

func (*AomClient) ListLabelValuesAomPromGet

ListLabelValuesAomPromGet 查询标签值

该接口用于查询带有指定标签的时间序列列表。

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

ListLabelsAomPromGet GET方法获取标签名列表

该接口使用GET方法获取标签名列表。

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 GET方法获取标签名列表

func (*AomClient) ListLabelsAomPromPost

ListLabelsAomPromPost (推荐)POST方法获取标签名列表

该接口使用POST方法获取标签名列表。

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 (推荐)POST方法获取标签名列表

func (*AomClient) ListLogItems

func (c *AomClient) ListLogItems(request *model.ListLogItemsRequest) (*model.ListLogItemsResponse, error)

ListLogItems 查询日志

该接口用于查询不同维度(例如集群、IP、应用等)下的日志内容,支持分页查询。

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

ListMetadataAomPromGet 元数据查询

该接口用于查询序列及序列标签的元数据。

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),分页查询的起始位置和返回的最大记录条数。

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) ListMetricOrEventAlarmRule added in v0.1.103

ListMetricOrEventAlarmRule 查询指标类或者事件类告警规则列表

查询AOM2.0指标类或者事件类告警规则列表。(注:接口目前开放的region为:华东-上海一)

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListMetricOrEventAlarmRuleInvoker added in v0.1.103

func (c *AomClient) ListMetricOrEventAlarmRuleInvoker(request *model.ListMetricOrEventAlarmRuleRequest) *ListMetricOrEventAlarmRuleInvoker

ListMetricOrEventAlarmRuleInvoker 查询指标类或者事件类告警规则列表

func (*AomClient) ListMuteRule added in v0.1.13

func (c *AomClient) ListMuteRule(request *model.ListMuteRuleRequest) (*model.ListMuteRuleResponse, error)

ListMuteRule 获取静默规则列表

获取静默规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListMuteRuleInvoker added in v0.1.13

func (c *AomClient) ListMuteRuleInvoker(request *model.ListMuteRuleRequest) *ListMuteRuleInvoker

ListMuteRuleInvoker 获取静默规则列表

func (*AomClient) ListNotifiedHistories added in v0.1.13

ListNotifiedHistories 获取告警发送结果

获取告警发送结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListNotifiedHistoriesInvoker added in v0.1.13

func (c *AomClient) ListNotifiedHistoriesInvoker(request *model.ListNotifiedHistoriesRequest) *ListNotifiedHistoriesInvoker

ListNotifiedHistoriesInvoker 获取告警发送结果

func (*AomClient) ListPermissions added in v0.1.68

func (c *AomClient) ListPermissions(request *model.ListPermissionsRequest) (*model.ListPermissionsResponse, error)

ListPermissions 查询aom2.0相关云服务授权信息

该接口用于查询aom2.0相关云服务授权信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListPermissionsInvoker added in v0.1.68

func (c *AomClient) ListPermissionsInvoker(request *model.ListPermissionsRequest) *ListPermissionsInvoker

ListPermissionsInvoker 查询aom2.0相关云服务授权信息

func (*AomClient) ListPromInstance added in v0.1.68

func (c *AomClient) ListPromInstance(request *model.ListPromInstanceRequest) (*model.ListPromInstanceResponse, error)

ListPromInstance 查询Prometheus实例

该接口用于查询Prometheus实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListPromInstanceInvoker added in v0.1.68

func (c *AomClient) ListPromInstanceInvoker(request *model.ListPromInstanceRequest) *ListPromInstanceInvoker

ListPromInstanceInvoker 查询Prometheus实例

func (*AomClient) ListRangeQueryAomPromGet

ListRangeQueryAomPromGet GET方法查询区间数据

该接口使用GET方法查询PromQL(Prometheus Query Language)在一段时间返回内的计算结果。

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 GET方法查询区间数据

func (*AomClient) ListRangeQueryAomPromPost

ListRangeQueryAomPromPost (推荐)POST方法查询区间数据

该接口使用POST方法查询PromQL(Prometheus Query Language)在一段时间返回内的计算结果。

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 (推荐)POST方法查询区间数据

func (*AomClient) ListSample

func (c *AomClient) ListSample(request *model.ListSampleRequest) (*model.ListSampleResponse, error)

ListSample 查询时序数据

该接口用于查询指定时间范围内的监控时序数据,可以通过参数指定需要查询的数据维度,数据周期等。

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),分页查询的起始位置和返回的最大记录条数。

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

ListServiceDiscoveryRules 查询系统中已有服务发现规则

该接口用于查询系统当前已存在的服务发现规则。

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 上报事件告警信息

该接口用于上报对应用户的事件、告警。

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) ShowActionRule added in v0.1.13

func (c *AomClient) ShowActionRule(request *model.ShowActionRuleRequest) (*model.ShowActionRuleResponse, error)

ShowActionRule 通过规则名称获取告警行动规则

通过规则名称获取告警行动规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ShowActionRuleInvoker added in v0.1.13

func (c *AomClient) ShowActionRuleInvoker(request *model.ShowActionRuleRequest) *ShowActionRuleInvoker

ShowActionRuleInvoker 通过规则名称获取告警行动规则

func (*AomClient) ShowAlarmRule

func (c *AomClient) ShowAlarmRule(request *model.ShowAlarmRuleRequest) (*model.ShowAlarmRuleResponse, error)

ShowAlarmRule 查询单条阈值规则

该接口用于查询单条阈值规则。

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 查询监控数据

该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。

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) UpdateActionRule added in v0.1.13

func (c *AomClient) UpdateActionRule(request *model.UpdateActionRuleRequest) (*model.UpdateActionRuleResponse, error)

UpdateActionRule 修改告警行动规则

修改告警行动规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) UpdateActionRuleInvoker added in v0.1.13

func (c *AomClient) UpdateActionRuleInvoker(request *model.UpdateActionRuleRequest) *UpdateActionRuleInvoker

UpdateActionRuleInvoker 修改告警行动规则

func (*AomClient) UpdateAlarmRule

func (c *AomClient) UpdateAlarmRule(request *model.UpdateAlarmRuleRequest) (*model.UpdateAlarmRuleResponse, error)

UpdateAlarmRule 修改阈值规则

该接口用于修改一条阈值规则。

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 修改阈值规则

func (*AomClient) UpdateEventRule added in v0.1.13

func (c *AomClient) UpdateEventRule(request *model.UpdateEventRuleRequest) (*model.UpdateEventRuleResponse, error)

UpdateEventRule 更新事件类告警规则

更新事件类告警规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) UpdateEventRuleInvoker added in v0.1.13

func (c *AomClient) UpdateEventRuleInvoker(request *model.UpdateEventRuleRequest) *UpdateEventRuleInvoker

UpdateEventRuleInvoker 更新事件类告警规则

func (*AomClient) UpdateMuteRule added in v0.1.13

func (c *AomClient) UpdateMuteRule(request *model.UpdateMuteRuleRequest) (*model.UpdateMuteRuleResponse, error)

UpdateMuteRule 修改静默规则

修改静默规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) UpdateMuteRuleInvoker added in v0.1.13

func (c *AomClient) UpdateMuteRuleInvoker(request *model.UpdateMuteRuleRequest) *UpdateMuteRuleInvoker

UpdateMuteRuleInvoker 修改静默规则

type CountEventsInvoker added in v0.0.90

type CountEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*CountEventsInvoker) Invoke added in v0.0.90

type CreatePromInstanceInvoker added in v0.1.68

type CreatePromInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePromInstanceInvoker) Invoke added in v0.1.68

type CreateRecordingRuleInvoker added in v0.1.68

type CreateRecordingRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRecordingRuleInvoker) Invoke added in v0.1.68

type DeleteActionRuleInvoker added in v0.1.13

type DeleteActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteActionRuleInvoker) Invoke added in v0.1.13

type DeleteAlarmRuleInvoker added in v0.0.90

type DeleteAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAlarmRuleInvoker) Invoke added in v0.0.90

type DeleteAlarmRulesInvoker added in v0.0.90

type DeleteAlarmRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAlarmRulesInvoker) Invoke added in v0.0.90

type DeleteEvent2alarmRuleInvoker added in v0.1.13

type DeleteEvent2alarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteEvent2alarmRuleInvoker) Invoke added in v0.1.13

type DeleteMetricOrEventAlarmRuleInvoker added in v0.1.103

type DeleteMetricOrEventAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMetricOrEventAlarmRuleInvoker) Invoke added in v0.1.103

type DeleteMuteRulesInvoker added in v0.1.13

type DeleteMuteRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMuteRulesInvoker) Invoke added in v0.1.13

type DeletePromInstanceInvoker added in v0.1.68

type DeletePromInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePromInstanceInvoker) Invoke added in v0.1.68

type DeleteserviceDiscoveryRulesInvoker added in v0.0.90

type DeleteserviceDiscoveryRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteserviceDiscoveryRulesInvoker) Invoke added in v0.0.90

type ListAccessCodeInvoker added in v0.1.68

type ListAccessCodeInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAccessCodeInvoker) Invoke added in v0.1.68

type ListActionRuleInvoker added in v0.1.13

type ListActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListActionRuleInvoker) Invoke added in v0.1.13

type ListAgentsInvoker added in v0.1.68

type ListAgentsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAgentsInvoker) Invoke added in v0.1.68

type ListAlarmRuleInvoker added in v0.0.90

type ListAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmRuleInvoker) Invoke added in v0.0.90

type ListEvent2alarmRuleInvoker added in v0.1.13

type ListEvent2alarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEvent2alarmRuleInvoker) Invoke added in v0.1.13

type ListEventsInvoker added in v0.0.90

type ListEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEventsInvoker) Invoke added in v0.0.90

type ListInstantQueryAomPromGetInvoker added in v0.0.90

type ListInstantQueryAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstantQueryAomPromGetInvoker) Invoke added in v0.0.90

type ListInstantQueryAomPromPostInvoker added in v0.0.90

type ListInstantQueryAomPromPostInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstantQueryAomPromPostInvoker) Invoke added in v0.0.90

type ListLabelValuesAomPromGetInvoker added in v0.0.90

type ListLabelValuesAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLabelValuesAomPromGetInvoker) Invoke added in v0.0.90

type ListLabelsAomPromGetInvoker added in v0.0.90

type ListLabelsAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLabelsAomPromGetInvoker) Invoke added in v0.0.90

type ListLabelsAomPromPostInvoker added in v0.0.90

type ListLabelsAomPromPostInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLabelsAomPromPostInvoker) Invoke added in v0.0.90

type ListLogItemsInvoker added in v0.0.90

type ListLogItemsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLogItemsInvoker) Invoke added in v0.0.90

type ListMetadataAomPromGetInvoker added in v0.0.90

type ListMetadataAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMetadataAomPromGetInvoker) Invoke added in v0.0.90

type ListMetricItemsInvoker added in v0.0.90

type ListMetricItemsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMetricItemsInvoker) Invoke added in v0.0.90

type ListMetricOrEventAlarmRuleInvoker added in v0.1.103

type ListMetricOrEventAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMetricOrEventAlarmRuleInvoker) Invoke added in v0.1.103

type ListMuteRuleInvoker added in v0.1.13

type ListMuteRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMuteRuleInvoker) Invoke added in v0.1.13

type ListNotifiedHistoriesInvoker added in v0.1.13

type ListNotifiedHistoriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNotifiedHistoriesInvoker) Invoke added in v0.1.13

type ListPermissionsInvoker added in v0.1.68

type ListPermissionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPermissionsInvoker) Invoke added in v0.1.68

type ListPromInstanceInvoker added in v0.1.68

type ListPromInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPromInstanceInvoker) Invoke added in v0.1.68

type ListRangeQueryAomPromGetInvoker added in v0.0.90

type ListRangeQueryAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRangeQueryAomPromGetInvoker) Invoke added in v0.0.90

type ListRangeQueryAomPromPostInvoker added in v0.0.90

type ListRangeQueryAomPromPostInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRangeQueryAomPromPostInvoker) Invoke added in v0.0.90

type ListSampleInvoker added in v0.0.90

type ListSampleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSampleInvoker) Invoke added in v0.0.90

type ListSeriesInvoker added in v0.0.90

type ListSeriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSeriesInvoker) Invoke added in v0.0.90

type ListServiceDiscoveryRulesInvoker added in v0.0.90

type ListServiceDiscoveryRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListServiceDiscoveryRulesInvoker) Invoke added in v0.0.90

type PushEventsInvoker added in v0.0.90

type PushEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*PushEventsInvoker) Invoke added in v0.0.90

type ShowActionRuleInvoker added in v0.1.13

type ShowActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowActionRuleInvoker) Invoke added in v0.1.13

type ShowAlarmRuleInvoker added in v0.0.90

type ShowAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAlarmRuleInvoker) Invoke added in v0.0.90

type ShowMetricsDataInvoker added in v0.0.90

type ShowMetricsDataInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMetricsDataInvoker) Invoke added in v0.0.90

type UpdateActionRuleInvoker added in v0.1.13

type UpdateActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateActionRuleInvoker) Invoke added in v0.1.13

type UpdateAlarmRuleInvoker added in v0.0.90

type UpdateAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAlarmRuleInvoker) Invoke added in v0.0.90

type UpdateEventRuleInvoker added in v0.1.13

type UpdateEventRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateEventRuleInvoker) Invoke added in v0.1.13

type UpdateMuteRuleInvoker added in v0.1.13

type UpdateMuteRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateMuteRuleInvoker) Invoke added in v0.1.13

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL