model

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessAkskVo added in v0.0.71

type AccessAkskVo struct {

	// ak/sk的id。
	Id *int32 `json:"id,omitempty"`

	// ak/sk的生成时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// ak/sk的修改时间。
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 内部租户id。
	InnerDomainId *int32 `json:"inner_domain_id,omitempty"`

	// 生成的ak。
	Ak *string `json:"ak,omitempty"`

	// 生成的sk。
	Sk *string `json:"sk,omitempty"`

	// ak/sk的状态。
	Status *string `json:"status,omitempty"`

	// ak/sk的描述信息。
	Descp *string `json:"descp,omitempty"`
}

ak/sk数据模型。

func (AccessAkskVo) String added in v0.0.71

func (o AccessAkskVo) String() string

type AgentDeleteParam added in v0.1.15

type AgentDeleteParam struct {

	// 实例列表。
	InstanceList []int64 `json:"instance_list"`

	// region英文名称。
	Region string `json:"region"`

	// 应用id。
	BusinessId int64 `json:"business_id"`
}

删除agent入参。

func (AgentDeleteParam) String added in v0.1.15

func (o AgentDeleteParam) String() string

type AgentSearchParam added in v0.1.15

type AgentSearchParam struct {

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// 环境id
	EnvId *int64 `json:"env_id,omitempty"`

	// 探针状态。
	Status *AgentSearchParamStatus `json:"status,omitempty"`

	// region英文名称。
	Region string `json:"region"`

	// 是否按照采集状态排序,默认不填则不按状态排序,填y则按照状态排序。
	OrderByStatus *string `json:"order_by_status,omitempty"`

	// 需要查询的页码,最小数为1。
	Page int32 `json:"page"`

	// 查询结果每页最多显示的条数。
	PageSize int32 `json:"page_size"`

	// 关键字。
	Keyword *string `json:"keyword,omitempty"`
}

agent搜索参数。

func (AgentSearchParam) String added in v0.1.15

func (o AgentSearchParam) String() string

type AgentSearchParamStatus added in v0.1.15

type AgentSearchParamStatus struct {
	// contains filtered or unexported fields
}

func (AgentSearchParamStatus) MarshalJSON added in v0.1.15

func (c AgentSearchParamStatus) MarshalJSON() ([]byte, error)

func (*AgentSearchParamStatus) UnmarshalJSON added in v0.1.15

func (c *AgentSearchParamStatus) UnmarshalJSON(b []byte) error

func (AgentSearchParamStatus) Value added in v0.1.15

func (c AgentSearchParamStatus) Value() string

type AgentSearchParamStatusEnum added in v0.1.15

type AgentSearchParamStatusEnum struct {
	ONLINE  AgentSearchParamStatus
	DISABLE AgentSearchParamStatus
	OFFLINE AgentSearchParamStatus
}

func GetAgentSearchParamStatusEnum added in v0.1.15

func GetAgentSearchParamStatusEnum() AgentSearchParamStatusEnum

type AgentStatusChangeParam added in v0.1.15

type AgentStatusChangeParam struct {

	// 探针实例id列表。
	InstanceList []int64 `json:"instance_list"`

	// 期望探针改变后的状态,0或1,0表示启用,1表示停用。
	TargetStatus int32 `json:"target_status"`

	// 探针所在的区域。
	Region string `json:"region"`

	// 探针所属环境的id。
	EnvId *int64 `json:"env_id,omitempty"`
}

改变探针状态的参数。

func (AgentStatusChangeParam) String added in v0.1.15

func (o AgentStatusChangeParam) String() string

type AlarmDataListRequest added in v0.1.12

type AlarmDataListRequest struct {

	// 页码。
	Page int32 `json:"page"`

	// 每页数量。
	PageSize int32 `json:"page_size"`

	// region英文名称。
	Region *string `json:"region,omitempty"`

	// 组件环境名称。
	AppName *string `json:"app_name,omitempty"`

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// 监控项id。
	MonitorItemId *int64 `json:"monitor_item_id,omitempty"`

	// 告警状态  RECOVER:已恢复 ABNORMAL:异常 ALERT:告警中。
	Status *string `json:"status,omitempty"`

	// 告警级别  COMMON:轻微  CRITICAL:严重。
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 关键字。
	Keyword *string `json:"keyword,omitempty"`

	// 告警开始时间。
	AlarmStartTime *string `json:"alarm_start_time,omitempty"`

	// 告警结束时间。
	AlarmEndTime *string `json:"alarm_end_time,omitempty"`

	// 采集器id。
	CollectorId *int32 `json:"collector_id,omitempty"`

	// 实例ip地址。
	IpAddress *string `json:"ip_address,omitempty"`

	// 环境集合。
	EnvList *[]int64 `json:"env_list,omitempty"`
}

告警消息请求参数。

func (AlarmDataListRequest) String added in v0.1.12

func (o AlarmDataListRequest) String() string

type AlarmDataVo added in v0.1.12

type AlarmDataVo struct {

	// 告警通知id。
	Id *int64 `json:"id,omitempty"`

	// 创建时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// region中事件的id。
	RegionAlarmEventId *int64 `json:"region_alarm_event_id,omitempty"`

	// 应用名称。
	BusinessName *string `json:"business_name,omitempty"`

	// 组件名称。
	AppName *string `json:"app_name,omitempty"`

	// 版本。
	VersionNumber *int32 `json:"version_number,omitempty"`

	// 告警规则类别。
	AlarmRuleType *string `json:"alarm_rule_type,omitempty"`

	// 修改时间。
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 处理单元。
	ProcessUnit *string `json:"process_unit,omitempty"`

	// 区域名称。
	Region *string `json:"region,omitempty"`

	// 实例id。
	InstanceId *int64 `json:"instance_id,omitempty"`

	// 实例ip地址。
	IpAddress *string `json:"ip_address,omitempty"`

	// 实例名称。
	InstanceName *string `json:"instance_name,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// 模板id。
	TemplateId *int64 `json:"template_id,omitempty"`

	// 告警规则id。
	AlarmRuleId *int64 `json:"alarm_rule_id,omitempty"`

	// 监控项id。
	MonitorItemId *int64 `json:"monitor_item_id,omitempty"`

	// 采集器id。
	CollectorId *int32 `json:"collector_id,omitempty"`

	// 采集器名称。
	CollectorName *string `json:"collector_name,omitempty"`

	// 告警规则名称。
	AlarmRuleName *string `json:"alarm_rule_name,omitempty"`

	// 告警表达式。
	AlarmRuleExpression *string `json:"alarm_rule_expression,omitempty"`

	// 开始报警时间。
	AlarmFirstTime *string `json:"alarm_first_time,omitempty"`

	// 最后一次报警时间。
	AlarmLastTime *string `json:"alarm_last_time,omitempty"`

	// 告警级别。
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 唯一告警标识符。
	RestrainKey *string `json:"restrain_key,omitempty"`

	// 告警状态。
	Status *string `json:"status,omitempty"`
}

告警信息视图。

func (AlarmDataVo) String added in v0.1.12

func (o AlarmDataVo) String() string

type AlarmNotifyListRequest added in v0.1.12

type AlarmNotifyListRequest struct {

	// 页码。
	Page int32 `json:"page"`

	// 每页数量。
	PageSize int32 `json:"page_size"`

	// 告警事件id。
	AlarmDataId int32 `json:"alarm_data_id"`

	// region英文名称。
	Region string `json:"region"`
}

查询告警消息列表请求参数模型。

func (AlarmNotifyListRequest) String added in v0.1.12

func (o AlarmNotifyListRequest) String() string

type AppInfo added in v0.0.97

type AppInfo struct {

	// 环境名称。
	EnvName *string `json:"env_name,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 组件名称。
	AppName *string `json:"app_name,omitempty"`

	// 组件id。
	AppId *int64 `json:"app_id,omitempty"`

	// 在线探针数。
	OnlineCount *int32 `json:"online_count,omitempty"`

	// 手动停止探针数。
	DisableCount *int32 `json:"disable_count,omitempty"`

	// 离线探针数。
	OfflineCount *int32 `json:"offline_count,omitempty"`
}

应用信息。

func (AppInfo) String added in v0.0.97

func (o AppInfo) String() string

type AppNodeModel added in v0.0.103

type AppNodeModel struct {

	// 组件id。
	Id *int64 `json:"id,omitempty"`

	// 创建时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// 修改时间。
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 组件名称。
	Name *string `json:"name,omitempty"`

	// 应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// 子应用id。
	SubBusinessId *int64 `json:"sub_business_id,omitempty"`

	// 租户id。
	InnerDomainId *int32 `json:"inner_domain_id,omitempty"`
}

组件信息。

func (AppNodeModel) String added in v0.0.103

func (o AppNodeModel) String() string

type AppSearchParam added in v0.0.97

type AppSearchParam struct {

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// 区域名称。
	Region string `json:"region"`

	// 页码。
	Page int32 `json:"page"`

	// 每页条数。
	PageSize int32 `json:"page_size"`

	// 关键字。
	Keyword *string `json:"keyword,omitempty"`
}

应用查询返回的数据结构。

func (AppSearchParam) String added in v0.0.97

func (o AppSearchParam) String() string

type BusinessEnvRequest added in v0.1.12

type BusinessEnvRequest struct {

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// region英文名称。
	Region string `json:"region"`

	// 开始时间。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。
	EndTime *string `json:"end_time,omitempty"`
}

获取Region环境入参。

func (BusinessEnvRequest) String added in v0.1.12

func (o BusinessEnvRequest) String() string

type BusinessNodeModel

type BusinessNodeModel struct {

	// 默认应用。
	Default *bool `json:"default,omitempty"`

	// 应用展示名称。
	DisplayName *string `json:"display_name,omitempty"`

	// 企业项目的id。
	EpsId *string `json:"eps_id,omitempty"`

	// 创建时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// 修改时间。
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 应用id。
	Id *int64 `json:"id,omitempty"`

	// 内部租户id。
	InnerDomainId *int32 `json:"inner_domain_id,omitempty"`

	// 是否是默认的应用。
	IsDefault *bool `json:"is_default,omitempty"`

	// 应用的英文名称。
	Name *string `json:"name,omitempty"`
}

业务数据结构。

func (BusinessNodeModel) String

func (o BusinessNodeModel) String() string

type BusinessTopoRequest added in v0.1.12

type BusinessTopoRequest struct {

	// 目标应用id。
	TargetBusinessId int64 `json:"target_business_id"`

	// 环境标签列表,可为空。
	EnvTagList *[]int64 `json:"env_tag_list,omitempty"`

	// 方向,可为空。
	Direction *string `json:"direction,omitempty"`

	// 结束时间。
	EndTime string `json:"end_time"`

	// 开始时间。
	StartTime string `json:"start_time"`

	// 过滤。
	FilterUser *bool `json:"filter_user,omitempty"`
}

获取应用拓扑数据的请求参数。

func (BusinessTopoRequest) String added in v0.1.12

func (o BusinessTopoRequest) String() string

type ChangeAgentStatusRequest added in v0.1.15

type ChangeAgentStatusRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *AgentStatusChangeParam `json:"body,omitempty"`
}

Request Object

func (ChangeAgentStatusRequest) String added in v0.1.15

func (o ChangeAgentStatusRequest) String() string

type ChangeAgentStatusResponse added in v0.1.15

type ChangeAgentStatusResponse struct {

	// 返回结果ok表示成功。
	Flag           *string `json:"flag,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ChangeAgentStatusResponse) String added in v0.1.15

func (o ChangeAgentStatusResponse) String() string

type ClientSpanInfo added in v0.0.103

type ClientSpanInfo struct {

	// vTraceId,虚拟traceI。
	GlobalTraceId *string `json:"global_trace_id,omitempty"`

	// 虚拟traceId经过的path路径。
	GlobalPath *string `json:"global_path,omitempty"`

	// traceId。
	TraceId *string `json:"trace_id,omitempty"`

	// span id。
	SpanId *string `json:"span_id,omitempty"`

	// 环境Iid。
	EnvId *int64 `json:"env_id,omitempty"`

	// 实例id。
	InstanceId *int64 `json:"instance_id,omitempty"`

	// 组件id。
	AppId *int64 `json:"app_id,omitempty"`

	// 应用id。
	BizId *int64 `json:"biz_id,omitempty"`

	// 租户id。
	DomainId *int32 `json:"domain_id,omitempty"`

	// 只有是根event也就是span的时候有值。
	Source *string `json:"source,omitempty"`

	// 根event 的时候存在,实际调用的url。
	RealSource *string `json:"real_source,omitempty"`

	// 开始时间。
	StartTime *int64 `json:"start_time,omitempty"`

	// 耗时。
	TimeUsed *int64 `json:"time_used,omitempty"`

	// 状态码,针对http的调用有效。
	Code *int32 `json:"code,omitempty"`

	// 类名。
	ClassName *string `json:"class_name,omitempty"`

	// 是否异步。
	IsAsync *bool `json:"is_async,omitempty"`

	// 包含用户自定义参数,header或body体里的内容,httpMethod, bizCode,以及后续可能新增参数。
	Tags map[string]string `json:"tags,omitempty"`

	// 是否报错。
	HasError *bool `json:"has_error,omitempty"`

	// 报错原因。
	ErrorReasons *string `json:"error_reasons,omitempty"`

	// 类型,mysql,kafka等。
	Type *string `json:"type,omitempty"`

	// 这里的method实际上是tags里面的http_method,只有url监控项才有。
	HttpMethod *string `json:"http_method,omitempty"`

	// 业务状态码的采集。
	BizCode *string `json:"biz_code,omitempty"`
}

span信息。

func (ClientSpanInfo) String added in v0.0.103

func (o ClientSpanInfo) String() string

type CmdbTagEntity added in v0.0.103

type CmdbTagEntity struct {

	// 环境标签名称。
	Name *string `json:"name,omitempty"`

	// 应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// UUID。
	Uuid *string `json:"uuid,omitempty"`

	// 描述信息。
	Descp *string `json:"descp,omitempty"`

	// 创建者id。
	CreatorId *int64 `json:"creator_id,omitempty"`

	// 环境id列表。
	EnvIdList *[]int64 `json:"env_id_list,omitempty"`

	// 环境标签id。
	Id *int64 `json:"id,omitempty"`

	// 创建时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// 修改时间。
	GmtModify *string `json:"gmt_modify,omitempty"`
}

func (CmdbTagEntity) String added in v0.0.103

func (o CmdbTagEntity) String() string

type CollectorCategoryInfo added in v0.0.103

type CollectorCategoryInfo struct {

	// 采集器类别id。
	CategoryId *int32 `json:"category_id,omitempty"`

	// 采集器类别名称。
	CategoryName *string `json:"category_name,omitempty"`

	// 采集器类别展示名称。
	DisplayName *string `json:"display_name,omitempty"`

	// 序列号。
	Sequence *int32 `json:"sequence,omitempty"`
}

采集器类别信息。

func (CollectorCategoryInfo) String added in v0.0.103

func (o CollectorCategoryInfo) String() string

type CollectorConfigModel added in v0.1.12

type CollectorConfigModel struct {
	LineViewConfig *LineViewConfigModel `json:"line_view_config,omitempty"`

	DetailViewConfig *DetailViewConfigModel `json:"detail_view_config,omitempty"`
}

采集器配置。

func (CollectorConfigModel) String added in v0.1.12

func (o CollectorConfigModel) String() string

type ConfigItem added in v0.0.97

type ConfigItem struct {

	// 配置项名称。
	ConfigName *string `json:"config_name,omitempty"`

	// 配置项值。
	ConfigValue *string `json:"config_value,omitempty"`

	// 是否重写。
	ShouldOverride *bool `json:"should_override,omitempty"`
}

func (ConfigItem) String added in v0.0.97

func (o ConfigItem) String() string

type CreateAkSkRequest added in v0.0.103

type CreateAkSkRequest struct {
	Body *CreateAkskModel `json:"body,omitempty"`
}

Request Object

func (CreateAkSkRequest) String added in v0.0.103

func (o CreateAkSkRequest) String() string

type CreateAkSkResponse added in v0.0.103

type CreateAkSkResponse struct {

	// 创建/删除的ak信息。
	Ak *string `json:"ak,omitempty"`

	// 创建/删除的sk信息。
	Sk             *string `json:"sk,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAkSkResponse) String added in v0.0.103

func (o CreateAkSkResponse) String() string

type CreateAkskModel added in v0.0.103

type CreateAkskModel struct {

	// 描述信息。
	Descp *string `json:"descp,omitempty"`
}

新增ak-sk入参。

func (CreateAkskModel) String added in v0.0.103

func (o CreateAkskModel) String() string

type DeleteAgentRequest added in v0.1.15

type DeleteAgentRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *AgentDeleteParam `json:"body,omitempty"`
}

Request Object

func (DeleteAgentRequest) String added in v0.1.15

func (o DeleteAgentRequest) String() string

type DeleteAgentResponse added in v0.1.15

type DeleteAgentResponse struct {

	// 删除状态。
	DeleteStatus   *int32 `json:"delete_status,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteAgentResponse) String added in v0.1.15

func (o DeleteAgentResponse) String() string

type DeleteAkSkRequest added in v0.0.103

type DeleteAkSkRequest struct {

	// 需要删除的ak信息。
	Ak string `json:"ak"`
}

Request Object

func (DeleteAkSkRequest) String added in v0.0.103

func (o DeleteAkSkRequest) String() string

type DeleteAkSkResponse added in v0.0.103

type DeleteAkSkResponse struct {

	// 创建/删除的ak信息。
	Ak *string `json:"ak,omitempty"`

	// 创建/删除的sk信息。
	Sk             *string `json:"sk,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteAkSkResponse) String added in v0.0.103

func (o DeleteAkSkResponse) String() string

type DeleteAppRequest added in v0.1.5

type DeleteAppRequest struct {

	// 组件id。
	ApplicationId int64 `json:"application_id"`

	// 应用id,用于鉴权。
	XBusinessId int64 `json:"x-business-id"`
}

Request Object

func (DeleteAppRequest) String added in v0.1.5

func (o DeleteAppRequest) String() string

type DeleteAppResponse added in v0.1.5

type DeleteAppResponse struct {

	// 返回ok的结果,表示删除成功。
	Ok             *string `json:"ok,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteAppResponse) String added in v0.1.5

func (o DeleteAppResponse) String() string

type DetailViewConfigModel added in v0.1.12

type DetailViewConfigModel struct {

	// 视图对应的指标集的名称。
	MetricSet *string `json:"metric_set,omitempty"`

	// 过滤参数。
	FilterPrefix *string `json:"filter_prefix,omitempty"`

	// 视图函数集合。
	DetailViewItemList *[]DetailViewItem `json:"detail_view_item_list,omitempty"`
}

详情视图配置。

func (DetailViewConfigModel) String added in v0.1.12

func (o DetailViewConfigModel) String() string

type DetailViewItem added in v0.1.12

type DetailViewItem struct {

	// 表达式。
	Function *string `json:"function,omitempty"`

	// 作为。
	As *string `json:"as,omitempty"`
}

节点详情视图函数信息。

func (DetailViewItem) String added in v0.1.12

func (o DetailViewItem) String() string

type DiscardInfo added in v0.0.103

type DiscardInfo struct {

	// 类型。
	Type *string `json:"type,omitempty"`

	// 数量。
	Count *int32 `json:"count,omitempty"`

	// 总时间。
	TotalTime *int64 `json:"totalTime,omitempty"`
}

丢弃的信息。

func (DiscardInfo) String added in v0.0.103

func (o DiscardInfo) String() string

type EnvEntry added in v0.1.12

type EnvEntry struct {

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 环境名称。
	EnvName *string `json:"env_name,omitempty"`
}

环境信息。

func (EnvEntry) String added in v0.1.12

func (o EnvEntry) String() string

type EnvNodeModel added in v0.0.103

type EnvNodeModel struct {

	// 环境id。
	Id *int64 `json:"id,omitempty"`

	// 创建时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// 修改时间。
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 组件id。
	AppId *int64 `json:"app_id,omitempty"`

	// 应用名称。
	BusinessName *string `json:"business_name,omitempty"`

	// 租户id。
	InnerDomainId *int32 `json:"inner_domain_id,omitempty"`

	// 环境名称。
	Name *string `json:"name,omitempty"`

	// 是否是默认环境。
	IsDefault *bool `json:"is_default,omitempty"`

	// 组件名称。
	AppName *string `json:"app_name,omitempty"`

	// 应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// 区域。
	Region *string `json:"region,omitempty"`
}

环境信息。

func (EnvNodeModel) String added in v0.0.103

func (o EnvNodeModel) String() string

type EnvTopoRequest added in v0.1.12

type EnvTopoRequest struct {

	// 环境id。
	TargetEnvId int64 `json:"target_env_id"`

	// 方向,可为空。
	Direction *string `json:"direction,omitempty"`

	// 结束时间。
	EndTime string `json:"end_time"`

	// 开始时间。
	StartTime string `json:"start_time"`

	// 过滤。
	FilterUser *bool `json:"filter_user,omitempty"`
}

获取组件环境拓扑数据的请求参数。

func (EnvTopoRequest) String added in v0.1.12

func (o EnvTopoRequest) String() string

type FieldItem added in v0.0.103

type FieldItem struct {

	// 表达式。
	Function string `json:"function"`

	// 作为。
	As *string `json:"as,omitempty"`

	// 默认值。
	DefaultValue *string `json:"default_value,omitempty"`

	// 是否是trace。
	Trace *bool `json:"trace,omitempty"`

	// 百分比。
	Precision *int32 `json:"precision,omitempty"`

	// 单位。
	Unit *string `json:"unit,omitempty"`

	// 是否可见。
	Visible *bool `json:"visible,omitempty"`
}

所需展示的字段列表模型。

func (FieldItem) String added in v0.0.103

func (o FieldItem) String() string

type FrontAlarmNotifyResult added in v0.1.12

type FrontAlarmNotifyResult struct {

	// 告警通知id。
	Id *int64 `json:"id,omitempty"`

	// 创建时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// 通知类型。
	NotifyType *string `json:"notify_type,omitempty"`

	// 告警规则id。
	AlarmRuleId *int64 `json:"alarm_rule_id,omitempty"`

	// 模板id。
	TemplateId *int64 `json:"template_id,omitempty"`

	// 关联事件id。
	AlarmDataEventId *int64 `json:"alarm_data_event_id,omitempty"`

	// 通知结果。
	NotifyStatus *bool `json:"notify_status,omitempty"`

	// 通知内容。
	AlarmContent *string `json:"alarm_content,omitempty"`
}

告警通知内容。

func (FrontAlarmNotifyResult) String added in v0.1.12

func (o FrontAlarmNotifyResult) String() string

type FrontCell added in v0.0.103

type FrontCell struct {

	// 数据类型。
	DataType *string `json:"data_type,omitempty"`

	// 函数。
	Function *string `json:"function,omitempty"`

	// 是否调用链。
	Trace *bool `json:"trace,omitempty"`

	// 是否是span信息,如果是就跳到调用链搜索页面。
	Span *bool `json:"span,omitempty"`

	// span字段。
	SpanField *string `json:"span_field,omitempty"`

	// 小数点位数。
	Precision *int32 `json:"precision,omitempty"`

	// 文本信息。
	Text *string `json:"text,omitempty"`

	// 单位。
	Unit *string `json:"unit,omitempty"`

	// 是否可见。
	Visible *bool `json:"visible,omitempty"`
}

数据单元。

func (FrontCell) String added in v0.0.103

func (o FrontCell) String() string

type FrontLine added in v0.0.103

type FrontLine struct {

	// 数据点集合。
	PointList *[]FrontPoint `json:"point_list,omitempty"`

	// 标题。
	Title *string `json:"title,omitempty"`

	// 单位。
	Unit *string `json:"unit,omitempty"`

	// 百分比。
	Precision *int32 `json:"precision,omitempty"`

	// 日期类型。
	DataType *string `json:"data_type,omitempty"`

	// 是否可见。
	Visible *bool `json:"visible,omitempty"`
}

趋势图数据模型。

func (FrontLine) String added in v0.0.103

func (o FrontLine) String() string

type FrontPoint added in v0.0.103

type FrontPoint struct {

	// 时间。
	Time *int64 `json:"time,omitempty"`

	// 值。
	Value *interface{} `json:"value,omitempty"`
}

数据点模型。

func (FrontPoint) String added in v0.0.103

func (o FrontPoint) String() string

type FrontRow added in v0.0.103

type FrontRow struct {

	// 数据单元集合。
	CellList *[]FrontCell `json:"cell_list,omitempty"`

	// 将group by的字段拼接成过滤字符串,用于后续点网格点击使用。
	Filter *string `json:"filter,omitempty"`

	// 是否是header信息。
	Header *bool `json:"header,omitempty"`

	// Url跟踪id。
	TxId *int64 `json:"tx_id,omitempty"`
}

数据行。

func (FrontRow) String added in v0.0.103

func (o FrontRow) String() string

type GetClobDetailParam added in v0.0.103

type GetClobDetailParam struct {

	// 环境id。
	EnvId int64 `json:"env_id"`

	// clobId。
	ClobId string `json:"clob_id"`
}

获取clob数据的请求参数。

func (GetClobDetailParam) String added in v0.0.103

func (o GetClobDetailParam) String() string

type GetEnvMonitorItemListParam added in v0.0.97

type GetEnvMonitorItemListParam struct {

	// 环境id。
	EnvId int64 `json:"env_id"`

	// 页码。
	Page int32 `json:"page"`

	// 每页数量。
	PageSize int32 `json:"page_size"`
}

查询特定环境下监控项参数模型。

func (GetEnvMonitorItemListParam) String added in v0.0.97

type InstanceInfo added in v0.0.103

type InstanceInfo struct {

	// 实例id。
	InstanceId *int64 `json:"instance_id,omitempty"`

	// 应用名称。
	BusinessName *string `json:"business_name,omitempty"`

	// 应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// 组件名称。
	AppName *string `json:"app_name,omitempty"`

	// 主机名称。
	HostName *string `json:"host_name,omitempty"`

	// 实例名称。
	InstanceName *string `json:"instance_name,omitempty"`

	// 主机ip地址。
	IpAddress *string `json:"ip_address,omitempty"`

	// 环境ID。
	EnvId *int64 `json:"env_id,omitempty"`

	// Javaagent版本。
	AgentVersion *string `json:"agent_version,omitempty"`

	// 最后心跳时间。
	LastHeartbeat *int64 `json:"last_heartbeat,omitempty"`

	// 注册时间。
	RegisterTime *int64 `json:"register_time,omitempty"`

	// 最后修改用户id。
	LastModifyUserId *string `json:"last_modify_user_id,omitempty"`

	// 实例状态。
	InstanceStatus *int32 `json:"instance_status,omitempty"`

	// 最后修改用户名称。
	LastModifyUserName *string `json:"last_modify_user_name,omitempty"`

	// 最后修改时间。
	LastModifyTime *int64 `json:"last_modify_time,omitempty"`
}

实例信息。

func (InstanceInfo) String added in v0.0.103

func (o InstanceInfo) String() string

type InstanceSearchParam added in v0.0.103

type InstanceSearchParam struct {

	// 环境id。
	EnvId int64 `json:"env_id"`

	// 当前页码。
	Page int32 `json:"page"`

	// 每页数据容量。
	PageSize int32 `json:"page_size"`

	// 关键字。
	Keyword *string `json:"keyword,omitempty"`

	// 实例状态。
	Status *int32 `json:"status,omitempty"`

	// 是否返回计数结果。
	ReturnCount *bool `json:"return_count,omitempty"`
}

获取实例信息列表入参。

func (InstanceSearchParam) String added in v0.0.103

func (o InstanceSearchParam) String() string

type LineViewConfigModel added in v0.1.12

type LineViewConfigModel struct {

	// 视图对应的指标集的名称。
	MetricSet *string `json:"metric_set,omitempty"`

	// 过滤参数。
	FilterPrefix *string `json:"filter_prefix,omitempty"`

	// 视图函数集合。
	LineViewItemList *[]LineViewItem `json:"line_view_item_list,omitempty"`
}

指向线视图配置。

func (LineViewConfigModel) String added in v0.1.12

func (o LineViewConfigModel) String() string

type LineViewItem added in v0.1.12

type LineViewItem struct {

	// 表达式。
	Function *string `json:"function,omitempty"`

	// 作为。
	As *string `json:"as,omitempty"`
}

连接线视图函数详情。

func (LineViewItem) String added in v0.1.12

func (o LineViewItem) String() string

type ListAkSkRequest added in v0.0.71

type ListAkSkRequest struct {
}

Request Object

func (ListAkSkRequest) String added in v0.0.71

func (o ListAkSkRequest) String() string

type ListAkSkResponse added in v0.0.71

type ListAkSkResponse struct {
	AccessAkSkModels *[]AccessAkskVo `json:"access_ak_sk_models,omitempty"`
	HttpStatusCode   int             `json:"-"`
}

Response Object

func (ListAkSkResponse) String added in v0.0.71

func (o ListAkSkResponse) String() string

type ListAlarmDataRequest added in v0.1.12

type ListAlarmDataRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *AlarmDataListRequest `json:"body,omitempty"`
}

Request Object

func (ListAlarmDataRequest) String added in v0.1.12

func (o ListAlarmDataRequest) String() string

type ListAlarmDataResponse added in v0.1.12

type ListAlarmDataResponse struct {

	// 告警列表。
	AlarmDataList *[]AlarmDataVo `json:"alarm_data_list,omitempty"`

	// 消息总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListAlarmDataResponse) String added in v0.1.12

func (o ListAlarmDataResponse) String() string

type ListAlarmNotifyRequest added in v0.1.12

type ListAlarmNotifyRequest struct {

	// 应用id,用于鉴权。
	XBusinessId int64 `json:"x-business-id"`

	Body *AlarmNotifyListRequest `json:"body,omitempty"`
}

Request Object

func (ListAlarmNotifyRequest) String added in v0.1.12

func (o ListAlarmNotifyRequest) String() string

type ListAlarmNotifyResponse added in v0.1.12

type ListAlarmNotifyResponse struct {

	// 告警通知列表。
	FrontAlarmNotifyResults *[]FrontAlarmNotifyResult `json:"front_alarm_notify_results,omitempty"`

	// 消息总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListAlarmNotifyResponse) String added in v0.1.12

func (o ListAlarmNotifyResponse) String() string

type ListAppEnvsRequest added in v0.0.103

type ListAppEnvsRequest struct {

	// 组件id。
	AppId int64 `json:"app_id"`

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`
}

Request Object

func (ListAppEnvsRequest) String added in v0.0.103

func (o ListAppEnvsRequest) String() string

type ListAppEnvsResponse added in v0.0.103

type ListAppEnvsResponse struct {

	// 环境信息列表。
	Envs           *[]EnvNodeModel `json:"envs,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListAppEnvsResponse) String added in v0.0.103

func (o ListAppEnvsResponse) String() string

type ListAppsRequest added in v0.0.103

type ListAppsRequest struct {

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`
}

Request Object

func (ListAppsRequest) String added in v0.0.103

func (o ListAppsRequest) String() string

type ListAppsResponse added in v0.0.103

type ListAppsResponse struct {

	// 组件信息列表。
	Apps           *[]AppNodeModel `json:"apps,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListAppsResponse) String added in v0.0.103

func (o ListAppsResponse) String() string

type ListBusinessEnvRequest added in v0.1.12

type ListBusinessEnvRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *BusinessEnvRequest `json:"body,omitempty"`
}

Request Object

func (ListBusinessEnvRequest) String added in v0.1.12

func (o ListBusinessEnvRequest) String() string

type ListBusinessEnvResponse added in v0.1.12

type ListBusinessEnvResponse struct {

	// 环境列表。
	EnvEntryList   *[]EnvEntry `json:"env_entry_list,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListBusinessEnvResponse) String added in v0.1.12

func (o ListBusinessEnvResponse) String() string

type ListBusinessRequest

type ListBusinessRequest struct {
}

Request Object

func (ListBusinessRequest) String

func (o ListBusinessRequest) String() string

type ListBusinessResponse

type ListBusinessResponse struct {

	// 获取应用列表数据结构。
	BusinessNodes  *[]BusinessNodeModel `json:"business_nodes,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListBusinessResponse) String

func (o ListBusinessResponse) String() string

type ListEnvInstancesRequest added in v0.0.103

type ListEnvInstancesRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *InstanceSearchParam `json:"body,omitempty"`
}

Request Object

func (ListEnvInstancesRequest) String added in v0.0.103

func (o ListEnvInstancesRequest) String() string

type ListEnvInstancesResponse added in v0.0.103

type ListEnvInstancesResponse struct {

	// 实例信息列表。
	InstanceInfoList *[]InstanceInfo `json:"instance_info_list,omitempty"`

	// 实例总数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 在线实例总数。
	OnlineCount *int32 `json:"online_count,omitempty"`

	// 离线实例总数。
	OfflineCount *int32 `json:"offline_count,omitempty"`

	// 停止实例总数。
	DisableCount   *int32 `json:"disable_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEnvInstancesResponse) String added in v0.0.103

func (o ListEnvInstancesResponse) String() string

type ListEnvMonitorItemRequest added in v0.0.97

type ListEnvMonitorItemRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *GetEnvMonitorItemListParam `json:"body,omitempty"`
}

Request Object

func (ListEnvMonitorItemRequest) String added in v0.0.97

func (o ListEnvMonitorItemRequest) String() string

type ListEnvMonitorItemResponse added in v0.0.97

type ListEnvMonitorItemResponse struct {

	// 监控项列表。
	MonitorItemList *[]MonitorItem `json:"monitor_item_list,omitempty"`

	// 总数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 总页数。
	TotalPage      *int32 `json:"totalPage,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEnvMonitorItemResponse) String added in v0.0.97

type ListEnvTagsRequest added in v0.0.103

type ListEnvTagsRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *TagParam `json:"body,omitempty"`
}

Request Object

func (ListEnvTagsRequest) String added in v0.0.103

func (o ListEnvTagsRequest) String() string

type ListEnvTagsResponse added in v0.0.103

type ListEnvTagsResponse struct {

	// 环境标签数据列表。
	EnvTags *[]CmdbTagEntity `json:"env_tags,omitempty"`

	// 总条数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEnvTagsResponse) String added in v0.0.103

func (o ListEnvTagsResponse) String() string

type ListOpenRegionRequest added in v0.0.103

type ListOpenRegionRequest struct {
}

Request Object

func (ListOpenRegionRequest) String added in v0.0.103

func (o ListOpenRegionRequest) String() string

type ListOpenRegionResponse added in v0.0.103

type ListOpenRegionResponse struct {

	// region列表。
	RegionList     *[]Region `json:"region_list,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListOpenRegionResponse) String added in v0.0.103

func (o ListOpenRegionResponse) String() string

type ListSupportedRegionRequest added in v0.0.103

type ListSupportedRegionRequest struct {
}

Request Object

func (ListSupportedRegionRequest) String added in v0.0.103

type ListSupportedRegionResponse added in v0.0.103

type ListSupportedRegionResponse struct {

	// region列表。
	RegionList     *[]Region `json:"region_list,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListSupportedRegionResponse) String added in v0.0.103

type MonitorItem added in v0.0.97

type MonitorItem struct {

	// 监控项id。
	Id *int64 `json:"id,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 采集器id。
	CollectorId *int32 `json:"collector_id,omitempty"`

	// 采集器名称。
	CollectorName *string `json:"collector_name,omitempty"`

	// 采集器展示名称。
	DisplayName *string `json:"display_name,omitempty"`

	// 采集间隔。
	CollectInterval *int32 `json:"collect_interval,omitempty"`

	// 是否禁用。
	Disabled *bool `json:"disabled,omitempty"`

	// 修改采集状态用户id。
	StatusChangeUserId *string `json:"status_change_user_id,omitempty"`

	// 修改采集状态用户名称。
	StatusChangeUserName *string `json:"status_change_user_name,omitempty"`

	// 修改采集状态时间。
	StatusChangeTime *string `json:"status_change_time,omitempty"`

	// 修改采集配置用户id。
	ConfigChangeUserId *string `json:"config_change_user_id,omitempty"`

	// 修改采集配置用户名称。
	ConfigChangeUserName *string `json:"config_change_user_name,omitempty"`

	// 修改采集配置时间。
	ConfigChangeTime *string `json:"config_change_time,omitempty"`
}

监控项数据结构。

func (MonitorItem) String added in v0.0.97

func (o MonitorItem) String() string

type MonitorItemEntity added in v0.0.103

type MonitorItemEntity struct {

	// 采集器类别id。
	CategoryId *int32 `json:"category_id,omitempty"`

	// 采集器名称。
	CollectorName *string `json:"collector_name,omitempty"`

	// 采集器类别展示名称。
	DisplayName *string `json:"display_name,omitempty"`

	// 是否展示标题。
	ShowInTotal *bool `json:"show_in_total,omitempty"`

	// 监控项id。
	MonitorItemId *int64 `json:"monitor_item_id,omitempty"`

	// 是否禁用。
	Disabled *bool `json:"disabled,omitempty"`

	// 采集器id。
	CollectorId *int32 `json:"collector_id,omitempty"`

	// 序列号。
	Sequence *int32 `json:"sequence,omitempty"`

	// 默认数据采集间隔。
	CollectInterval *int32 `json:"collect_interval,omitempty"`
}

func (MonitorItemEntity) String added in v0.0.103

func (o MonitorItemEntity) String() string

type OrderParam added in v0.0.103

type OrderParam struct {

	// timeUsed:响应时间,startTime:产生时间。
	Field *string `json:"field,omitempty"`

	// ASC:正序,DESC:逆序。
	Order *OrderParamOrder `json:"order,omitempty"`
}

func (OrderParam) String added in v0.0.103

func (o OrderParam) String() string

type OrderParamOrder added in v0.0.103

type OrderParamOrder struct {
	// contains filtered or unexported fields
}

func (OrderParamOrder) MarshalJSON added in v0.0.103

func (c OrderParamOrder) MarshalJSON() ([]byte, error)

func (*OrderParamOrder) UnmarshalJSON added in v0.0.103

func (c *OrderParamOrder) UnmarshalJSON(b []byte) error

func (OrderParamOrder) Value added in v0.0.103

func (c OrderParamOrder) Value() string

type OrderParamOrderEnum added in v0.0.103

type OrderParamOrderEnum struct {
	ASC  OrderParamOrder
	DESC OrderParamOrder
}

func GetOrderParamOrderEnum added in v0.0.103

func GetOrderParamOrderEnum() OrderParamOrderEnum

type RawTableParam added in v0.0.103

type RawTableParam struct {

	// 上一次扫描的数据ID。
	LastRowId *string `json:"last_row_id,omitempty"`

	ViewConfig *RawTableView `json:"view_config"`

	// 当前页码。
	Page int32 `json:"page"`

	// 每页数据总数。
	PageSize int32 `json:"page_size"`

	// 排序。
	OrderBy *string `json:"order_by,omitempty"`

	// 搜索关键字。
	SearchWord string `json:"search_word"`

	// 实例id。
	InstanceId int64 `json:"instance_id"`

	// 监控项id。
	MonitorItemId int64 `json:"monitor_item_id"`

	// 环境id。
	EnvId int64 `json:"env_id"`

	// 开始时间。
	StartTime string `json:"start_time"`

	// 结束时间。
	EndTime string `json:"end_time"`
}

获取原始数据表格入参。

func (RawTableParam) String added in v0.0.103

func (o RawTableParam) String() string

type RawTableView added in v0.0.103

type RawTableView struct {

	// 视图类型。
	ViewType RawTableViewViewType `json:"view_type"`

	// 采集器名称。
	CollectorName string `json:"collector_name"`

	// 视图对应的指标集的名称。
	MetricSet string `json:"metric_set"`

	// 图标所需展示的标题。
	Title string `json:"title"`

	// 表格的方向,H:默认,表头横向,V:表头纵向。
	TableDirection RawTableViewTableDirection `json:"table_direction"`

	// 分组规则。
	GroupBy string `json:"group_by"`

	// 过滤列表模型。
	Filter string `json:"filter"`

	// 所需展示的字段列表模型集合。
	FieldItemList []FieldItem `json:"field_item_list"`

	// 跨度。
	Span bool `json:"span"`

	// 跨度字段。
	SpanField string `json:"span_field"`

	// 排序规则。
	OrderBy *string `json:"order_by,omitempty"`

	// 是否只展示最近一笔数据。
	Latest *bool `json:"latest,omitempty"`
}

原始数据视图。

func (RawTableView) String added in v0.0.103

func (o RawTableView) String() string

type RawTableViewTableDirection added in v0.0.103

type RawTableViewTableDirection struct {
	// contains filtered or unexported fields
}

func (RawTableViewTableDirection) MarshalJSON added in v0.0.103

func (c RawTableViewTableDirection) MarshalJSON() ([]byte, error)

func (*RawTableViewTableDirection) UnmarshalJSON added in v0.0.103

func (c *RawTableViewTableDirection) UnmarshalJSON(b []byte) error

func (RawTableViewTableDirection) Value added in v0.0.103

type RawTableViewTableDirectionEnum added in v0.0.103

type RawTableViewTableDirectionEnum struct {
	H RawTableViewTableDirection
	V RawTableViewTableDirection
}

func GetRawTableViewTableDirectionEnum added in v0.0.103

func GetRawTableViewTableDirectionEnum() RawTableViewTableDirectionEnum

type RawTableViewViewType added in v0.0.103

type RawTableViewViewType struct {
	// contains filtered or unexported fields
}

func (RawTableViewViewType) MarshalJSON added in v0.0.103

func (c RawTableViewViewType) MarshalJSON() ([]byte, error)

func (*RawTableViewViewType) UnmarshalJSON added in v0.0.103

func (c *RawTableViewViewType) UnmarshalJSON(b []byte) error

func (RawTableViewViewType) Value added in v0.0.103

func (c RawTableViewViewType) Value() string

type RawTableViewViewTypeEnum added in v0.0.103

type RawTableViewViewTypeEnum struct {
	TREND    RawTableViewViewType
	SUMTABLE RawTableViewViewType
	RAWTABLE RawTableViewViewType
}

func GetRawTableViewViewTypeEnum added in v0.0.103

func GetRawTableViewViewTypeEnum() RawTableViewViewTypeEnum

type Region added in v0.0.103

type Region struct {

	// 区域id。
	RegionId *string `json:"region_id,omitempty"`

	// 区域名称。
	RegionName *string `json:"region_name,omitempty"`

	// 区域。
	Region *string `json:"region,omitempty"`

	// 企业项目id。
	ProjectId *string `json:"project_id,omitempty"`

	// 区域状态。
	Status *string `json:"status,omitempty"`
}

region信息。

func (Region) String added in v0.0.103

func (o Region) String() string

type SaveMonitorItemConfigRequest added in v0.0.97

type SaveMonitorItemConfigRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *SaveMonitorItemParam `json:"body,omitempty"`
}

Request Object

func (SaveMonitorItemConfigRequest) String added in v0.0.97

type SaveMonitorItemConfigResponse added in v0.0.97

type SaveMonitorItemConfigResponse struct {

	// 保存监控项返回状态。
	Flag           *string `json:"flag,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SaveMonitorItemConfigResponse) String added in v0.0.97

type SaveMonitorItemParam added in v0.0.97

type SaveMonitorItemParam struct {

	// 监控项id。
	MonitorItemId int64 `json:"monitor_item_id"`

	// 采集间隔。
	Interval *int32 `json:"interval,omitempty"`

	// 环境id。
	EnvId int32 `json:"env_id"`

	// 配置项列表。
	ConfigValueList *[]ConfigItem `json:"config_value_list,omitempty"`
}

func (SaveMonitorItemParam) String added in v0.0.97

func (o SaveMonitorItemParam) String() string

type SearchAgentRequest added in v0.1.15

type SearchAgentRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *AgentSearchParam `json:"body,omitempty"`
}

Request Object

func (SearchAgentRequest) String added in v0.1.15

func (o SearchAgentRequest) String() string

type SearchAgentResponse added in v0.1.15

type SearchAgentResponse struct {

	// 总页数。
	TotalPage *int32 `json:"total_page,omitempty"`

	// 总个数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 正常个数。
	OnlineCount *int32 `json:"online_count,omitempty"`

	// 心跳异常个数。
	OfflineCount *int32 `json:"offline_count,omitempty"`

	// 被关闭的个数。
	DisableCount *int32 `json:"disable_count,omitempty"`

	// agent地址列表。
	AgentInfoList  *[]InstanceInfo `json:"agent_info_list,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (SearchAgentResponse) String added in v0.1.15

func (o SearchAgentResponse) String() string

type SearchApplicationRequest added in v0.0.97

type SearchApplicationRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *AppSearchParam `json:"body,omitempty"`
}

Request Object

func (SearchApplicationRequest) String added in v0.0.97

func (o SearchApplicationRequest) String() string

type SearchApplicationResponse added in v0.0.97

type SearchApplicationResponse struct {

	// 组件列表。
	AppInfoList *[]AppInfo `json:"app_info_list,omitempty"`

	// 组件总数目。
	AppTotalCount *int32 `json:"app_total_count,omitempty"`

	// 组件名称和组件详情map表。
	AppInfoMap     map[string]AppInfo `json:"app_info_map,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (SearchApplicationResponse) String added in v0.0.97

func (o SearchApplicationResponse) String() string

type SearchBusinessTopologyRequest added in v0.1.12

type SearchBusinessTopologyRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *BusinessTopoRequest `json:"body,omitempty"`
}

Request Object

func (SearchBusinessTopologyRequest) String added in v0.1.12

type SearchBusinessTopologyResponse added in v0.1.12

type SearchBusinessTopologyResponse struct {

	// 组件节点列表。
	NodeList *[]TopoNode `json:"node_list,omitempty"`

	// 组件之间调用指向线列表。
	LineList *[]TopoLine `json:"line_list,omitempty"`

	// 采集器配置。
	CollectorConfig map[string]CollectorConfigModel `json:"collector_config,omitempty"`

	// 开始时间。
	RealStartTime *int64 `json:"real_start_time,omitempty"`

	// 结束时间。
	RealEndTime    *int64 `json:"real_end_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (SearchBusinessTopologyResponse) String added in v0.1.12

type SearchEnvTopologyRequest added in v0.1.12

type SearchEnvTopologyRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *EnvTopoRequest `json:"body,omitempty"`
}

Request Object

func (SearchEnvTopologyRequest) String added in v0.1.12

func (o SearchEnvTopologyRequest) String() string

type SearchEnvTopologyResponse added in v0.1.12

type SearchEnvTopologyResponse struct {

	// 组件节点列表。
	NodeList *[]TopoNode `json:"node_list,omitempty"`

	// 组件之间调用指向线列表。
	LineList *[]TopoLine `json:"line_list,omitempty"`

	// 采集器配置。
	CollectorConfig map[string]CollectorConfigModel `json:"collector_config,omitempty"`

	// 开始时间。
	RealStartTime *int64 `json:"real_start_time,omitempty"`

	// 结束时间。
	RealEndTime    *int64 `json:"real_end_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (SearchEnvTopologyResponse) String added in v0.1.12

func (o SearchEnvTopologyResponse) String() string

type SearchTransactionConfigRequest added in v0.1.12

type SearchTransactionConfigRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *TransactionConfigSearchRequest `json:"body,omitempty"`
}

Request Object

func (SearchTransactionConfigRequest) String added in v0.1.12

type SearchTransactionConfigResponse added in v0.1.12

type SearchTransactionConfigResponse struct {

	// URL跟踪视图配置列表。
	TransactionConfigItemList *[]TransactionConfigItem `json:"transaction_config_item_list,omitempty"`

	// 总页数。
	TotalPage *int32 `json:"total_page,omitempty"`

	// 总配置数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (SearchTransactionConfigResponse) String added in v0.1.12

type SearchTransactionRequest added in v0.1.12

type SearchTransactionRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *TxSearchRequest `json:"body,omitempty"`
}

Request Object

func (SearchTransactionRequest) String added in v0.1.12

func (o SearchTransactionRequest) String() string

type SearchTransactionResponse added in v0.1.12

type SearchTransactionResponse struct {

	// URL跟踪视图列表。
	TxItemList *[]TxItemVo `json:"tx_item_list,omitempty"`

	// 最后响应时间。
	LatestTime *int64 `json:"latest_time,omitempty"`

	// 总数据条数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 请求id。
	ResultId       *string `json:"result_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SearchTransactionResponse) String added in v0.1.12

func (o SearchTransactionResponse) String() string

type ShowAkSksRequest added in v0.0.103

type ShowAkSksRequest struct {
}

Request Object

func (ShowAkSksRequest) String added in v0.0.103

func (o ShowAkSksRequest) String() string

type ShowAkSksResponse added in v0.0.103

type ShowAkSksResponse struct {
	AccessAkSkModels *[]AccessAkskVo `json:"access_ak_sk_models,omitempty"`
	HttpStatusCode   int             `json:"-"`
}

Response Object

func (ShowAkSksResponse) String added in v0.0.103

func (o ShowAkSksResponse) String() string

type ShowBusinessDetailRequest added in v0.1.12

type ShowBusinessDetailRequest struct {

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`
}

Request Object

func (ShowBusinessDetailRequest) String added in v0.1.12

func (o ShowBusinessDetailRequest) String() string

type ShowBusinessDetailResponse added in v0.1.12

type ShowBusinessDetailResponse struct {

	// 应用id。
	Id *int64 `json:"id,omitempty"`

	// 创建时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// 修改时间。
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 是否是默认的应用。
	Default *bool `json:"default,omitempty"`

	// 应用的英文名称。
	DisplayName *string `json:"display_name,omitempty"`

	// 应用的展示名称。
	Name *string `json:"name,omitempty"`

	// 是否是默认的应用。
	IsDefault *bool `json:"is_default,omitempty"`

	// 内部租户id。
	InnerDomainId *int32 `json:"inner_domain_id,omitempty"`

	// 企业项目的id。
	EpsId *string `json:"eps_id,omitempty"`

	// 创建者的userId。
	CreatorId *int64 `json:"creator_id,omitempty"`

	// 应用描述说明。
	Descp *string `json:"descp,omitempty"`

	// 创建时间。
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间。
	ModifyTime *string `json:"modify_time,omitempty"`

	// 创建者的用户名。
	CreatorName    *string `json:"creator_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBusinessDetailResponse) String added in v0.1.12

type ShowClobDetailRequest added in v0.0.103

type ShowClobDetailRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *GetClobDetailParam `json:"body,omitempty"`
}

Request Object

func (ShowClobDetailRequest) String added in v0.0.103

func (o ShowClobDetailRequest) String() string

type ShowClobDetailResponse added in v0.0.103

type ShowClobDetailResponse struct {

	// clob详情。
	ClobString     *string `json:"clob_string,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowClobDetailResponse) String added in v0.0.103

func (o ShowClobDetailResponse) String() string

type ShowEnvMonitorItemsRequest added in v0.0.103

type ShowEnvMonitorItemsRequest struct {

	// 环境id。
	EnvId int64 `json:"env_id"`

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`
}

Request Object

func (ShowEnvMonitorItemsRequest) String added in v0.0.103

type ShowEnvMonitorItemsResponse added in v0.0.103

type ShowEnvMonitorItemsResponse struct {

	// 采集器类别集合。
	CategoryInfoList *[]CollectorCategoryInfo `json:"category_info_list,omitempty"`

	// 监控项集合。
	MonitorItemInfoList *[]MonitorItemEntity `json:"monitor_item_info_list,omitempty"`
	HttpStatusCode      int                  `json:"-"`
}

Response Object

func (ShowEnvMonitorItemsResponse) String added in v0.0.103

type ShowEventDetailRequest added in v0.0.103

type ShowEventDetailRequest struct {

	// trace id。
	TraceId string `json:"trace_id"`

	// span id。
	SpanId string `json:"span_id"`

	// event id。
	EventId string `json:"event_id"`

	// 环境id。
	EnvId int64 `json:"env_id"`
}

Request Object

func (ShowEventDetailRequest) String added in v0.0.103

func (o ShowEventDetailRequest) String() string

type ShowEventDetailResponse added in v0.0.103

type ShowEventDetailResponse struct {
	EventInfo      *SpanEventInfo `json:"event_info,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowEventDetailResponse) String added in v0.0.103

func (o ShowEventDetailResponse) String() string

type ShowMasterAddressRequest added in v0.0.71

type ShowMasterAddressRequest struct {

	// region英文名称。
	RegionName string `json:"region_name"`
}

Request Object

func (ShowMasterAddressRequest) String added in v0.0.71

func (o ShowMasterAddressRequest) String() string

type ShowMasterAddressResponse added in v0.0.71

type ShowMasterAddressResponse struct {

	// region的英文名称。
	RegionName *string `json:"region_name,omitempty"`

	// APMmaster服务对外暴露的地址,提供服务注册和心跳上报。
	MasterAddress  *string `json:"master_address,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowMasterAddressResponse) String added in v0.0.71

func (o ShowMasterAddressResponse) String() string

type ShowMonitorItemViewConfigRequest added in v0.0.103

type ShowMonitorItemViewConfigRequest struct {

	// 环境id。
	EnvId int64 `json:"env_id"`

	// 采集器id。
	CollectorId int64 `json:"collector_id"`

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`
}

Request Object

func (ShowMonitorItemViewConfigRequest) String added in v0.0.103

type ShowMonitorItemViewConfigResponse added in v0.0.103

type ShowMonitorItemViewConfigResponse struct {

	// 标题。
	Title *string `json:"title,omitempty"`

	// 采集器名称。
	CollectorName *string `json:"collector_name,omitempty"`

	// 视图的列表,内部每个List代表的是一行图表。
	ViewRowList *[]ViewRow `json:"view_row_list,omitempty"`

	// 类型。
	Style          *string `json:"style,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowMonitorItemViewConfigResponse) String added in v0.0.103

type ShowRawTableRequest added in v0.0.103

type ShowRawTableRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *RawTableParam `json:"body,omitempty"`
}

Request Object

func (ShowRawTableRequest) String added in v0.0.103

func (o ShowRawTableRequest) String() string

type ShowRawTableResponse added in v0.0.103

type ShowRawTableResponse struct {
	RowList *[]FrontRow `json:"row_list,omitempty"`

	// 最近一笔数据的时间。
	LatestDataTime *string `json:"latest_data_Time,omitempty"`

	// 表格的方向,H:默认,表头横向,V:表头纵向。
	TableDirection *ShowRawTableResponseTableDirection `json:"table_direction,omitempty"`

	// 上次请求id。
	ResultId *string `json:"result_id,omitempty"`

	// 实际开始的时间,主要用于下一次调用,特别是分页调用的时候传的参数。
	RealStartTime *int64 `json:"real_start_time,omitempty"`

	// 实际结束的时间。
	RealEndTime    *int64 `json:"real_end_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowRawTableResponse) String added in v0.0.103

func (o ShowRawTableResponse) String() string

type ShowRawTableResponseTableDirection added in v0.0.103

type ShowRawTableResponseTableDirection struct {
	// contains filtered or unexported fields
}

func (ShowRawTableResponseTableDirection) MarshalJSON added in v0.0.103

func (c ShowRawTableResponseTableDirection) MarshalJSON() ([]byte, error)

func (*ShowRawTableResponseTableDirection) UnmarshalJSON added in v0.0.103

func (c *ShowRawTableResponseTableDirection) UnmarshalJSON(b []byte) error

func (ShowRawTableResponseTableDirection) Value added in v0.0.103

type ShowRawTableResponseTableDirectionEnum added in v0.0.103

type ShowRawTableResponseTableDirectionEnum struct {
	H ShowRawTableResponseTableDirection
	V ShowRawTableResponseTableDirection
}

func GetShowRawTableResponseTableDirectionEnum added in v0.0.103

func GetShowRawTableResponseTableDirectionEnum() ShowRawTableResponseTableDirectionEnum

type ShowSpanSearchRequest added in v0.0.103

type ShowSpanSearchRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *TraceSearchParam `json:"body,omitempty"`
}

Request Object

func (ShowSpanSearchRequest) String added in v0.0.103

func (o ShowSpanSearchRequest) String() string

type ShowSpanSearchResponse added in v0.0.103

type ShowSpanSearchResponse struct {

	// 返回的总数。
	Total *int32 `json:"total,omitempty"`

	// span信息。
	SpanInfoList   *[]ClientSpanInfo `json:"span_info_list,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowSpanSearchResponse) String added in v0.0.103

func (o ShowSpanSearchResponse) String() string

type ShowSubBusinessDetailRequest added in v0.1.12

type ShowSubBusinessDetailRequest struct {

	// 子应用id。
	SubBusinessId int64 `json:"sub_business_id"`

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`
}

Request Object

func (ShowSubBusinessDetailRequest) String added in v0.1.12

type ShowSubBusinessDetailResponse added in v0.1.12

type ShowSubBusinessDetailResponse struct {

	// 子应用id。
	Id *int64 `json:"id,omitempty"`

	// 创建时间。
	GmtCreate *string `json:"gmt_create,omitempty"`

	// 修改时间。
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 父亲的子应用id。
	ParentId *int64 `json:"parent_id,omitempty"`

	// 子应用的英文名称。
	Name *string `json:"name,omitempty"`

	// 子应用的展示名称。
	DisplayName *string `json:"display_name,omitempty"`

	// 所属应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// 内部租户id。
	InnerDomainId *int32 `json:"inner_domain_id,omitempty"`

	// 创建者的userId。
	CreatorId *int64 `json:"creator_id,omitempty"`

	// 应用的UUID。
	Uuid *string `json:"uuid,omitempty"`

	// 应用描述说明。
	Descp *string `json:"descp,omitempty"`

	// 创建时间。
	CreateTime *string `json:"create_time,omitempty"`

	// 修改时间。
	ModifyTime *string `json:"modify_time,omitempty"`

	// 创建者的用户名。
	CreatorName    *string `json:"creator_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowSubBusinessDetailResponse) String added in v0.1.12

type ShowSumTableRequest added in v0.0.103

type ShowSumTableRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *SumTableParam `json:"body,omitempty"`
}

Request Object

func (ShowSumTableRequest) String added in v0.0.103

func (o ShowSumTableRequest) String() string

type ShowSumTableResponse added in v0.0.103

type ShowSumTableResponse struct {

	// 结果的ID信息,分页查询的时候带过来。
	ResultId *string `json:"result_id,omitempty"`

	// 数据行列表。
	RowList *[]FrontRow `json:"row_list,omitempty"`

	// 最近一笔数据的时间。
	LatestDataTime *int64 `json:"latest_data_Time,omitempty"`

	// 表格的方向,H:默认,表头横向,V:表头纵向。
	TableDirection *ShowSumTableResponseTableDirection `json:"table_direction,omitempty"`

	// 实际开始的时间。
	RealStartTime *int64 `json:"real_start_time,omitempty"`

	// 实际结束的时间。
	RealEndTime *int64 `json:"real_end_time,omitempty"`

	// 提示信息。
	NoticeMsg *string `json:"notice_msg,omitempty"`

	// 总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowSumTableResponse) String added in v0.0.103

func (o ShowSumTableResponse) String() string

type ShowSumTableResponseTableDirection added in v0.0.103

type ShowSumTableResponseTableDirection struct {
	// contains filtered or unexported fields
}

func (ShowSumTableResponseTableDirection) MarshalJSON added in v0.0.103

func (c ShowSumTableResponseTableDirection) MarshalJSON() ([]byte, error)

func (*ShowSumTableResponseTableDirection) UnmarshalJSON added in v0.0.103

func (c *ShowSumTableResponseTableDirection) UnmarshalJSON(b []byte) error

func (ShowSumTableResponseTableDirection) Value added in v0.0.103

type ShowSumTableResponseTableDirectionEnum added in v0.0.103

type ShowSumTableResponseTableDirectionEnum struct {
	H ShowSumTableResponseTableDirection
	V ShowSumTableResponseTableDirection
}

func GetShowSumTableResponseTableDirectionEnum added in v0.0.103

func GetShowSumTableResponseTableDirectionEnum() ShowSumTableResponseTableDirectionEnum

type ShowTopologyRequest added in v0.0.103

type ShowTopologyRequest struct {

	// 调用链traceId。
	TraceId string `json:"trace_id"`
}

Request Object

func (ShowTopologyRequest) String added in v0.0.103

func (o ShowTopologyRequest) String() string

type ShowTopologyResponse added in v0.0.103

type ShowTopologyResponse struct {

	// 全局traceId。
	GlobalTraceId *string `json:"global_trace_id,omitempty"`

	// 组件之间调用指向线列表。
	LineList *[]TraceTopologyLine `json:"line_list,omitempty"`

	// 组件节点列表。
	NodeList       *[]TraceTopologyNode `json:"node_list,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ShowTopologyResponse) String added in v0.0.103

func (o ShowTopologyResponse) String() string

type ShowTopologyTreeRequest added in v0.0.103

type ShowTopologyTreeRequest struct {

	// 区域id。
	RegionId *string `json:"region_id,omitempty"`

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// 环境标签id。
	EnvTagId *int64 `json:"env_tag_id,omitempty"`

	// 环境关键字。
	EnvKeyword *string `json:"env_keyword,omitempty"`

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`
}

Request Object

func (ShowTopologyTreeRequest) String added in v0.0.103

func (o ShowTopologyTreeRequest) String() string

type ShowTopologyTreeResponse added in v0.0.103

type ShowTopologyTreeResponse struct {
	TopologyTree   *TopologyTree `json:"topology_tree,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ShowTopologyTreeResponse) String added in v0.0.103

func (o ShowTopologyTreeResponse) String() string

type ShowTraceEventsRequest added in v0.0.103

type ShowTraceEventsRequest struct {

	// 调用链ID。
	TraceId string `json:"trace_id"`
}

Request Object

func (ShowTraceEventsRequest) String added in v0.0.103

func (o ShowTraceEventsRequest) String() string

type ShowTraceEventsResponse added in v0.0.103

type ShowTraceEventsResponse struct {

	// span event信息列表。
	SpanEventList  *[]SpanEventInfo `json:"span_event_list,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ShowTraceEventsResponse) String added in v0.0.103

func (o ShowTraceEventsResponse) String() string

type ShowTransactionDetailRequest added in v0.1.12

type ShowTransactionDetailRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *TxDetailRequest `json:"body,omitempty"`
}

Request Object

func (ShowTransactionDetailRequest) String added in v0.1.12

type ShowTransactionDetailResponse added in v0.1.12

type ShowTransactionDetailResponse struct {

	// 组件节点列表。
	TxNodeList *[]TxNode `json:"tx_node_list,omitempty"`

	// 组件之间调用指向线列表。
	TxLineList     *[]TxLine `json:"tx_line_list,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowTransactionDetailResponse) String added in v0.1.12

type ShowTrendRequest added in v0.0.103

type ShowTrendRequest struct {

	// 应用id。
	XBusinessId int64 `json:"x-business-id"`

	Body *TrendParam `json:"body,omitempty"`
}

Request Object

func (ShowTrendRequest) String added in v0.0.103

func (o ShowTrendRequest) String() string

type ShowTrendResponse added in v0.0.103

type ShowTrendResponse struct {

	// 趋势图数据列表。
	LineList *[]FrontLine `json:"line_list,omitempty"`

	// 最后日期时间。
	LatestDataTime *int64 `json:"latest_data_Time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowTrendResponse) String added in v0.0.103

func (o ShowTrendResponse) String() string

type SpanEventInfo added in v0.0.103

type SpanEventInfo struct {

	// 环境名称。
	EnvName *string `json:"env_name,omitempty"`

	// 组件名称。
	AppName *string `json:"app_name,omitempty"`

	// 缩进。
	Indent *int32 `json:"indent,omitempty"`

	// 区域。
	Region *string `json:"region,omitempty"`

	// 主机名称。
	HostName *string `json:"host_name,omitempty"`

	// ip地址。
	IpAddress *string `json:"ip_address,omitempty"`

	// 实例名称。
	InstanceName *string `json:"instance_name,omitempty"`

	// event的ID,在一个具体的span下面event的编号,一般是1-1-2这种格式。
	EventId *string `json:"event_id,omitempty"`

	// 产生下一个span的源的eventId。
	NextSpanId *string `json:"next_spanId,omitempty"`

	// 调用方的eventid。
	SourceEventId *string `json:"source_event_id,omitempty"`

	// 方法名。
	Method *string `json:"method,omitempty"`

	// 子event的个数。
	ChildrenEventCount *int32 `json:"children_event_count,omitempty"`

	// 丢弃的子event个数,key是类型。
	Discard *[]DiscardInfo `json:"discard,omitempty"`

	// 界面展示的参数,每个类型的event自己来实现。
	Argument *string `json:"argument,omitempty"`

	// 注册信息里面的attachment。
	Attachment map[string]string `json:"attachment,omitempty"`

	// vTraceId,虚拟traceId。
	GlobalTraceId *string `json:"global_trace_id,omitempty"`

	// 虚拟traceId经过的path路径。
	GlobalPath *string `json:"global_path,omitempty"`

	// traceId。
	TraceId *string `json:"trace_id,omitempty"`

	// span id。
	SpanId *string `json:"span_id,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 实例id。
	InstanceId *int64 `json:"instance_id,omitempty"`

	// 组件id。
	AppId *int64 `json:"app_id,omitempty"`

	// 应用id。
	BizId *int64 `json:"biz_id,omitempty"`

	// 租户id。
	DomainId *int32 `json:"domain_id,omitempty"`

	// 只有是根event也就是span的时候有值。
	Source *string `json:"source,omitempty"`

	// 根event的时候存在,实际调用的url。
	RealSource *string `json:"real_source,omitempty"`

	// 开始时间。
	StartTime *int64 `json:"start_time,omitempty"`

	// 耗时。
	TimeUsed *int64 `json:"time_used,omitempty"`

	// 状态码,针对http的调用有效。
	Code *int32 `json:"code,omitempty"`

	// 类名。
	ClassName *string `json:"class_name,omitempty"`

	// 是否异步的event。
	IsAsync *bool `json:"is_async,omitempty"`

	// 包含用户自定义参数,header或body体里的内容,httpMethod, bizCode,以及后续可能新增参数。
	Tags map[string]string `json:"tags,omitempty"`

	// 是否有错误,主要用在span的场景。
	HasError *bool `json:"has_error,omitempty"`

	// 错误原因。
	ErrorReasons *string `json:"error_reasons,omitempty"`

	// 类型,mysql,kafka等。
	Type *string `json:"type,omitempty"`

	// 这里的method实际上是tags里面的http_method,只有url监控项才有。
	HttpMethod *string `json:"http_method,omitempty"`

	// 业务状态码的采集。
	BizCode *string `json:"biz_code,omitempty"`

	// spanId。
	Id *string `json:"id,omitempty"`
}

event信息的简要信息。

func (SpanEventInfo) String added in v0.0.103

func (o SpanEventInfo) String() string

type SumTableParam added in v0.0.103

type SumTableParam struct {

	// 上次请求的id。
	RequestId *string `json:"request_id,omitempty"`

	ViewConfig *SumTableView `json:"view_config"`

	// 策略。
	Strategy *string `json:"strategy,omitempty"`

	// 当前页码。
	Page int32 `json:"page"`

	// 每页数据总数。
	PageSize int32 `json:"page_size"`

	// 排序规则。
	OrderBy *string `json:"order_by,omitempty"`

	// 搜索关键字。
	SearchWord *string `json:"search_word,omitempty"`

	// 实例id。
	InstanceId *int64 `json:"instance_id,omitempty"`

	// 监控项id。
	MonitorItemId *int64 `json:"monitor_item_id,omitempty"`

	// 环境id。
	EnvId int64 `json:"env_id"`

	// 起始时间。
	StartTime string `json:"start_time"`

	// 结束时间。
	EndTime string `json:"end_time"`
}

汇聚数据表格传参。

func (SumTableParam) String added in v0.0.103

func (o SumTableParam) String() string

type SumTableView added in v0.0.103

type SumTableView struct {

	// 视图类型。
	ViewType SumTableViewViewType `json:"view_type"`

	// 采集器名称。
	CollectorName string `json:"collector_name"`

	// 视图对应的指标集的名称。
	MetricSet string `json:"metric_set"`

	// 图标所需展示的标题。
	Title *string `json:"title,omitempty"`

	// 表格的方向,H:默认,表头横向,V:表头纵向。
	TableDirection *SumTableViewTableDirection `json:"table_direction,omitempty"`

	// 分组规则。
	GroupBy *string `json:"group_by,omitempty"`

	// 过滤列表模型。
	Filter *string `json:"filter,omitempty"`

	// 所需展示的字段列表模型列表。
	FieldItemList []FieldItem `json:"field_item_list"`

	// 跨度。
	Span *bool `json:"span,omitempty"`

	// 跨度字段。
	SpanField *string `json:"span_field,omitempty"`

	// 排序规则。
	OrderBy *string `json:"order_by,omitempty"`

	// 是否只展示最近一笔数据。
	Latest *bool `json:"latest,omitempty"`
}

汇聚表格视图。

func (SumTableView) String added in v0.0.103

func (o SumTableView) String() string

type SumTableViewTableDirection added in v0.0.103

type SumTableViewTableDirection struct {
	// contains filtered or unexported fields
}

func (SumTableViewTableDirection) MarshalJSON added in v0.0.103

func (c SumTableViewTableDirection) MarshalJSON() ([]byte, error)

func (*SumTableViewTableDirection) UnmarshalJSON added in v0.0.103

func (c *SumTableViewTableDirection) UnmarshalJSON(b []byte) error

func (SumTableViewTableDirection) Value added in v0.0.103

type SumTableViewTableDirectionEnum added in v0.0.103

type SumTableViewTableDirectionEnum struct {
	H SumTableViewTableDirection
	V SumTableViewTableDirection
}

func GetSumTableViewTableDirectionEnum added in v0.0.103

func GetSumTableViewTableDirectionEnum() SumTableViewTableDirectionEnum

type SumTableViewViewType added in v0.0.103

type SumTableViewViewType struct {
	// contains filtered or unexported fields
}

func (SumTableViewViewType) MarshalJSON added in v0.0.103

func (c SumTableViewViewType) MarshalJSON() ([]byte, error)

func (*SumTableViewViewType) UnmarshalJSON added in v0.0.103

func (c *SumTableViewViewType) UnmarshalJSON(b []byte) error

func (SumTableViewViewType) Value added in v0.0.103

func (c SumTableViewViewType) Value() string

type SumTableViewViewTypeEnum added in v0.0.103

type SumTableViewViewTypeEnum struct {
	TREND    SumTableViewViewType
	SUMTABLE SumTableViewViewType
	RAWTABLE SumTableViewViewType
}

func GetSumTableViewViewTypeEnum added in v0.0.103

func GetSumTableViewViewTypeEnum() SumTableViewViewTypeEnum

type TagParam added in v0.0.103

type TagParam struct {

	// 环境标签id。
	TagId *int64 `json:"tag_id,omitempty"`

	// 环境标签名称。
	TagName *string `json:"tag_name,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 描述信息。
	Descp *string `json:"descp,omitempty"`

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// 环境id列表。
	EnvIdList *[]int64 `json:"env_id_list,omitempty"`

	// 环境标签id列表。
	TagIdList *[]int64 `json:"tag_id_list,omitempty"`

	// 关键字。
	Keyword *string `json:"keyword,omitempty"`

	// 是否分页。
	PageEnable *bool `json:"page_enable,omitempty"`

	// 每页容量。
	PageNumber *int32 `json:"page_number,omitempty"`

	// 当前页码。
	PageSize *int32 `json:"page_size,omitempty"`

	// 新增环境id列表。
	AddEnvIdList *[]int64 `json:"add_env_id_list,omitempty"`

	// 新增环境标签id列表。
	AddTagIdList *[]int64 `json:"add_tag_id_list,omitempty"`

	// 移除环境标签id列表。
	RemoveTagIdList *[]int64 `json:"remove_tag_id_list,omitempty"`

	// 移除的环境id列表。
	RemoveEnvIdList *[]int64 `json:"remove_env_id_list,omitempty"`
}

func (TagParam) String added in v0.0.103

func (o TagParam) String() string

type TopoLine added in v0.1.12

type TopoLine struct {

	// 开始节点。
	FromNode *string `json:"from_node,omitempty"`

	// 结束节点。
	ToNode *string `json:"to_node,omitempty"`

	// 指向。
	Direction *string `json:"direction,omitempty"`

	// 采集器名称。
	Collector *string `json:"collector,omitempty"`

	// 环境id。
	TargetEnvId *int64 `json:"target_env_id,omitempty"`

	// 线条上的提示信息。
	Hints map[string]string `json:"hints,omitempty"`

	// 过滤值。
	FilterValue *string `json:"filter_value,omitempty"`
}

组件之间调用指向线。

func (TopoLine) String added in v0.1.12

func (o TopoLine) String() string

type TopoNode added in v0.1.12

type TopoNode struct {

	// 节点类型。
	NodeType *string `json:"node_type,omitempty"`

	// 节点名称。
	NodeName *string `json:"node_name,omitempty"`

	// 节点id。
	NodeId *string `json:"node_id,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`
}

组件节点。

func (TopoNode) String added in v0.1.12

func (o TopoNode) String() string

type TopologyTree added in v0.0.103

type TopologyTree struct {

	// 拓扑树节点。
	Tree *[]TreeNode `json:"tree,omitempty"`
}

func (TopologyTree) String added in v0.0.103

func (o TopologyTree) String() string

type TraceSearchParam added in v0.0.103

type TraceSearchParam struct {

	// region名称。
	Region string `json:"region"`

	OrderParam *OrderParam `json:"order_param,omitempty"`

	// 是否为精确搜索。
	RealSourceFullMatch *bool `json:"real_source_full_match,omitempty"`

	// 全匹配搜索。
	SourceFullMatch *bool `json:"source_full_match,omitempty"`

	// header或body体,或自定义参数,或其他tags里字段的关键词搜索。
	TagsContent *string `json:"tags_content,omitempty"`

	// 开始时间。
	StartTimeString *string `json:"start_time_string,omitempty"`

	// 结束时间。
	EndTimeString *string `json:"end_time_string,omitempty"`

	// 最小耗时。
	TimeUsedMin *int64 `json:"time_used_min,omitempty"`

	// 最大耗时。
	TimeUsedMax *string `json:"time_used_max,omitempty"`

	// 搜索结果是否包含tags内容详情。
	ContainTagsContent *bool `json:"contain_tags_content,omitempty"`

	// 每一页返回的行数。
	PageSize *int32 `json:"page_size,omitempty"`

	// 查询第几页的数据,默认查询第一页。
	Page *int32 `json:"page,omitempty"`

	// 参数。
	Parameters *string `json:"parameters,omitempty"`

	// 字符串格式的的状态码,用于支持多个状态码查询。
	Codes *[]int32 `json:"codes,omitempty"`

	// vTraceId,虚拟traceId,一个vTraceId对应多个实际的traceId, vTraceId会从开始一直往下应用传输。
	GlobalTraceId *string `json:"global_trace_id,omitempty"`

	// 虚拟traceId经过的path路径。
	GlobalPath *string `json:"global_path,omitempty"`

	// 在root的span调用产生的全局id,以此往后透传。
	TraceId *string `json:"trace_id,omitempty"`

	// 代表一次rpc的调用的id,对于root的调用,值为字符串1,对于当前span调用的下一个spanId编号为1-1,1-2等格式,以此往后类推。
	SpanId *string `json:"span_id,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 实例id。
	InstanceId *int64 `json:"instance_id,omitempty"`

	// 组件id。
	AppId *int64 `json:"app_id,omitempty"`

	// 应用id。
	BizId int64 `json:"biz_id"`

	// 租户id。
	DomainId *int32 `json:"domain_id,omitempty"`

	// 只有是根event也就是span的时候有值。
	Source *string `json:"source,omitempty"`

	// 根event 的时候存在,实际调用的url。
	RealSource *string `json:"real_source,omitempty"`

	// 开始时间。
	StartTime *int64 `json:"start_time,omitempty"`

	// 耗时。
	TimeUsed *int64 `json:"time_used,omitempty"`

	// 状态码,针对http的调用有效。
	Code *int32 `json:"code,omitempty"`

	// 类名。
	ClassName *string `json:"class_name,omitempty"`

	// 是否异步的event。
	IsAsync *bool `json:"is_async,omitempty"`

	// 包含用户自定义参数,header或body体里的内容,httpMethod, bizCode,以及后续可能新增参数。
	Tags map[string]string `json:"tags,omitempty"`

	// 是否有错误。
	HasError *bool `json:"has_error,omitempty"`

	// 错误类型。
	ErrorReasons *string `json:"error_reasons,omitempty"`

	// 类型。
	Type *string `json:"type,omitempty"`

	// 这里的method实际上是tags里面的http_method,只有url监控项才有。
	HttpMethod *string `json:"http_method,omitempty"`

	// 业务状态码的采集。
	BizCode *string `json:"biz_code,omitempty"`
}

查询span数据请求参数模型。

func (TraceSearchParam) String added in v0.0.103

func (o TraceSearchParam) String() string

type TraceTopologyLine added in v0.0.103

type TraceTopologyLine struct {

	// 开始节点id。
	StartNodeId *int64 `json:"start_node_id,omitempty"`

	// 结束节点id。
	EndNodeId *int64 `json:"end_node_id,omitempty"`

	// 调用跨度id。
	SpanId *string `json:"span_id,omitempty"`

	ClientInfo *TraceTopologyLineInfo `json:"client_info,omitempty"`

	ServerInfo *TraceTopologyLineInfo `json:"server_info,omitempty"`

	// id。
	Id *string `json:"id,omitempty"`

	// 获取一条线的提示信息。
	Hint *string `json:"hint,omitempty"`
}

拓扑图上的组件调用指向线。

func (TraceTopologyLine) String added in v0.0.103

func (o TraceTopologyLine) String() string

type TraceTopologyLineInfo added in v0.0.103

type TraceTopologyLineInfo struct {

	// 开始时间。
	StartTime *int64 `json:"start_time,omitempty"`

	// 耗时。
	TimeUsed *int64 `json:"time_used,omitempty"`

	// 参数信息,比如调用的url信息等。
	Argument *string `json:"argument,omitempty"`

	// event的id。
	EventId *string `json:"event_id,omitempty"`
}

拓扑图上线条的的信息。

func (TraceTopologyLineInfo) String added in v0.0.103

func (o TraceTopologyLineInfo) String() string

type TraceTopologyNode added in v0.0.103

type TraceTopologyNode struct {

	// 节点id。
	NodeId *int64 `json:"node_id,omitempty"`

	// 节点名称。
	NodeName *string `json:"node_name,omitempty"`

	// 节点提示字段。
	Hint *string `json:"hint,omitempty"`
}

调用链拓扑图的节点。

func (TraceTopologyNode) String added in v0.0.103

func (o TraceTopologyNode) String() string

type TransactionConfigItem added in v0.1.12

type TransactionConfigItem struct {

	// 配置id。
	Id *int64 `json:"id,omitempty"`

	// 应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 请求方式。
	Method *string `json:"method,omitempty"`

	// 环境名称。
	EnvName *string `json:"env_name,omitempty"`

	// region显示英文名称。
	Region *string `json:"region,omitempty"`

	// 类型。
	Type *string `json:"type,omitempty"`

	// 应用名称。
	AppName *string `json:"app_name,omitempty"`

	// url地址。
	Url *string `json:"url,omitempty"`
}

URL跟踪视图配置。

func (TransactionConfigItem) String added in v0.1.12

func (o TransactionConfigItem) String() string

type TransactionConfigSearchRequest added in v0.1.12

type TransactionConfigSearchRequest struct {

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 页码。
	PageNo int32 `json:"page_no"`

	// 每页数量。
	PageSize int32 `json:"page_size"`
}

获取url跟踪配置数据入参。

func (TransactionConfigSearchRequest) String added in v0.1.12

type TreeNode added in v0.0.103

type TreeNode struct {

	// 拓扑树节点id。
	Id *string `json:"id,omitempty"`

	// 拓扑树节点的父节点。
	Parent *string `json:"parent,omitempty"`

	// 拓扑树节点的实际id。
	RealId *int64 `json:"real_id,omitempty"`

	// 拓扑树节点名称。
	Name *string `json:"name,omitempty"`

	// 拓扑树节点展示名称。
	DisplayName *string `json:"display_name,omitempty"`

	// 组件名称。
	AppName *string `json:"app_name,omitempty"`

	// 组件id。
	AppId *int64 `json:"app_id,omitempty"`

	// 是否是管理节点。
	IsAdmin *bool `json:"is_admin,omitempty"`

	// 是否是根节点。
	IsRoot *bool `json:"is_root,omitempty"`

	// 应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// 节点类型。
	NodeType *TreeNodeNodeType `json:"node_type,omitempty"`

	// 区域。
	Region *string `json:"region,omitempty"`

	// 是否是默认的节点。
	IsDefault *bool `json:"is_default,omitempty"`
}

拓扑树节点信息。

func (TreeNode) String added in v0.0.103

func (o TreeNode) String() string

type TreeNodeNodeType added in v0.0.103

type TreeNodeNodeType struct {
	// contains filtered or unexported fields
}

func (TreeNodeNodeType) MarshalJSON added in v0.0.103

func (c TreeNodeNodeType) MarshalJSON() ([]byte, error)

func (*TreeNodeNodeType) UnmarshalJSON added in v0.0.103

func (c *TreeNodeNodeType) UnmarshalJSON(b []byte) error

func (TreeNodeNodeType) Value added in v0.0.103

func (c TreeNodeNodeType) Value() string

type TreeNodeNodeTypeEnum added in v0.0.103

type TreeNodeNodeTypeEnum struct {
	BUSINESS     TreeNodeNodeType
	SUB_BUSINESS TreeNodeNodeType
	APPLICATION  TreeNodeNodeType
	ENVIRONMENT  TreeNodeNodeType
}

func GetTreeNodeNodeTypeEnum added in v0.0.103

func GetTreeNodeNodeTypeEnum() TreeNodeNodeTypeEnum

type TrendParam added in v0.0.103

type TrendParam struct {
	ViewConfig *TrendView `json:"view_config"`

	// 实例id。
	InstanceId *int64 `json:"instance_id,omitempty"`

	// 监控项id。
	MonitorItemId *int64 `json:"monitor_item_id,omitempty"`

	// 环境id。
	EnvId int64 `json:"env_id"`

	// 开始时间。
	StartTime string `json:"start_time"`

	// 结束时间。
	EndTime string `json:"end_time"`
}

查询趋势图入参。

func (TrendParam) String added in v0.0.103

func (o TrendParam) String() string

type TrendView added in v0.0.103

type TrendView struct {

	// 视图类型。
	ViewType TrendViewViewType `json:"view_type"`

	// 采集器名称。
	CollectorName string `json:"collector_name"`

	// 视图对应的指标集名称。
	MetricSet string `json:"metric_set"`

	// 图标所需展示的标题。
	Title *string `json:"title,omitempty"`

	// 表格的方向,H:默认,表头横向,V:表头纵向。
	TableDirection *TrendViewTableDirection `json:"table_direction,omitempty"`

	// 分组。
	GroupBy *string `json:"group_by,omitempty"`

	// 过滤列表模型。
	Filter *string `json:"filter,omitempty"`

	// 所需展示的字段列表模型列表。
	FieldItemList []FieldItem `json:"field_item_list"`

	// 跨度。
	Span *bool `json:"span,omitempty"`

	// span字段属性。
	SpanField *string `json:"span_field,omitempty"`

	// 排序。
	OrderBy *string `json:"order_by,omitempty"`

	// 是否只展示最近一笔数据。
	Latest *string `json:"latest,omitempty"`
}

视图配置信息。

func (TrendView) String added in v0.0.103

func (o TrendView) String() string

type TrendViewTableDirection added in v0.0.103

type TrendViewTableDirection struct {
	// contains filtered or unexported fields
}

func (TrendViewTableDirection) MarshalJSON added in v0.0.103

func (c TrendViewTableDirection) MarshalJSON() ([]byte, error)

func (*TrendViewTableDirection) UnmarshalJSON added in v0.0.103

func (c *TrendViewTableDirection) UnmarshalJSON(b []byte) error

func (TrendViewTableDirection) Value added in v0.0.103

func (c TrendViewTableDirection) Value() string

type TrendViewTableDirectionEnum added in v0.0.103

type TrendViewTableDirectionEnum struct {
	H TrendViewTableDirection
	V TrendViewTableDirection
}

func GetTrendViewTableDirectionEnum added in v0.0.103

func GetTrendViewTableDirectionEnum() TrendViewTableDirectionEnum

type TrendViewViewType added in v0.0.103

type TrendViewViewType struct {
	// contains filtered or unexported fields
}

func (TrendViewViewType) MarshalJSON added in v0.0.103

func (c TrendViewViewType) MarshalJSON() ([]byte, error)

func (*TrendViewViewType) UnmarshalJSON added in v0.0.103

func (c *TrendViewViewType) UnmarshalJSON(b []byte) error

func (TrendViewViewType) Value added in v0.0.103

func (c TrendViewViewType) Value() string

type TrendViewViewTypeEnum added in v0.0.103

type TrendViewViewTypeEnum struct {
	TREND    TrendViewViewType
	SUMTABLE TrendViewViewType
	RAWTABLE TrendViewViewType
}

func GetTrendViewViewTypeEnum added in v0.0.103

func GetTrendViewViewTypeEnum() TrendViewViewTypeEnum

type TxDetailRequest added in v0.1.12

type TxDetailRequest struct {

	// 事务名称。
	TxName string `json:"tx_name"`

	// 开始时间。
	StartTime string `json:"start_time"`

	// 结束时间。
	EndTime string `json:"end_time"`
}

获取URL跟踪视图详情入参。

func (TxDetailRequest) String added in v0.1.12

func (o TxDetailRequest) String() string

type TxItemVo added in v0.1.12

type TxItemVo struct {

	// 组件名称。
	AppName *string `json:"app_name,omitempty"`

	// 环境名称。
	EnvName *string `json:"env_name,omitempty"`

	// 事务显示名称。
	TxDisplayName *string `json:"tx_display_name,omitempty"`

	// 应用id。
	BusinessId *int64 `json:"business_id,omitempty"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 组件id。
	AppId *int64 `json:"app_id,omitempty"`

	// 事务名称。
	TxName *string `json:"tx_name,omitempty"`

	// 调用次数。
	InvokeCount *int32 `json:"invoke_count,omitempty"`

	// 总耗时。
	TotalTime *int32 `json:"total_time,omitempty"`

	// 错误次数。
	ErrorCount *int32 `json:"error_count,omitempty"`
}

URL跟踪视图。

func (TxItemVo) String added in v0.1.12

func (o TxItemVo) String() string

type TxLine added in v0.1.12

type TxLine struct {

	// 开始节点。
	TxFromNode *string `json:"tx_from_node,omitempty"`

	// 结束节点。
	TxToNode *string `json:"tx_to_node,omitempty"`

	// 调用次数。
	InvokeCount *int64 `json:"invoke_count,omitempty"`

	// 平均响应时间。
	Rt *float64 `json:"rt,omitempty"`

	// 错误数。
	ErrorCount *int64 `json:"error_count,omitempty"`

	// 类型。
	Type *string `json:"type,omitempty"`

	// 指向。
	Direction *string `json:"direction,omitempty"`
}

组件之间调用指向线。

func (TxLine) String added in v0.1.12

func (o TxLine) String() string

type TxNode added in v0.1.12

type TxNode struct {

	// 节点id。
	TxNodeId *string `json:"tx_node_id,omitempty"`

	// 节点名称。
	TxNodeName *string `json:"tx_node_name,omitempty"`

	// 节点类型。
	TxNodeType *string `json:"tx_node_type,omitempty"`
}

组件节点。

func (TxNode) String added in v0.1.12

func (o TxNode) String() string

type TxSearchRequest added in v0.1.12

type TxSearchRequest struct {

	// 应用id。
	BusinessId int64 `json:"business_id"`

	// region英文名称。
	Region string `json:"region"`

	// 开始时间。
	StartTime string `json:"start_time"`

	// 结束时间。
	EndTime string `json:"end_time"`

	// 环境id。
	EnvId *int64 `json:"env_id,omitempty"`

	// 上次请求的id。
	RequestId *string `json:"request_id,omitempty"`

	// 页码。
	PageNo int32 `json:"page_no"`

	// 每页数量。
	PageSize int32 `json:"page_size"`
}

获取URL跟踪视图列表入参。

func (TxSearchRequest) String added in v0.1.12

func (o TxSearchRequest) String() string

type ViewBase added in v0.0.103

type ViewBase struct {

	// 采集器名称。
	CollectorName *string `json:"collector_name,omitempty"`

	// 视图对应的指标集的名称。
	MetricSet *string `json:"metric_set,omitempty"`

	// 图标所需展示的标题。
	Title *string `json:"title,omitempty"`

	// 表格的方向,H:默认,表头横向,V:表头纵向。
	TableDirection *ViewBaseTableDirection `json:"table_direction,omitempty"`

	// 分组规则。
	GroupBy *string `json:"group_by,omitempty"`

	// 过滤列表模型。
	Filter *string `json:"filter,omitempty"`

	// 所需展示的字段列表模型。
	FieldItemList *[]FieldItem `json:"field_item_list,omitempty"`

	// span信息。
	Span *bool `json:"span,omitempty"`

	// span字段属性。
	SpanField *string `json:"span_field,omitempty"`

	// 排序规则。
	OrderBy *string `json:"order_by,omitempty"`

	// 是否只展示最近一笔数据。
	Latest *string `json:"latest,omitempty"`

	// 视图类型。
	ViewType *ViewBaseViewType `json:"view_type,omitempty"`
}

视图基础模型类。

func (ViewBase) String added in v0.0.103

func (o ViewBase) String() string

type ViewBaseTableDirection added in v0.0.103

type ViewBaseTableDirection struct {
	// contains filtered or unexported fields
}

func (ViewBaseTableDirection) MarshalJSON added in v0.0.103

func (c ViewBaseTableDirection) MarshalJSON() ([]byte, error)

func (*ViewBaseTableDirection) UnmarshalJSON added in v0.0.103

func (c *ViewBaseTableDirection) UnmarshalJSON(b []byte) error

func (ViewBaseTableDirection) Value added in v0.0.103

func (c ViewBaseTableDirection) Value() string

type ViewBaseTableDirectionEnum added in v0.0.103

type ViewBaseTableDirectionEnum struct {
	H ViewBaseTableDirection
	V ViewBaseTableDirection
}

func GetViewBaseTableDirectionEnum added in v0.0.103

func GetViewBaseTableDirectionEnum() ViewBaseTableDirectionEnum

type ViewBaseViewType added in v0.0.103

type ViewBaseViewType struct {
	// contains filtered or unexported fields
}

func (ViewBaseViewType) MarshalJSON added in v0.0.103

func (c ViewBaseViewType) MarshalJSON() ([]byte, error)

func (*ViewBaseViewType) UnmarshalJSON added in v0.0.103

func (c *ViewBaseViewType) UnmarshalJSON(b []byte) error

func (ViewBaseViewType) Value added in v0.0.103

func (c ViewBaseViewType) Value() string

type ViewBaseViewTypeEnum added in v0.0.103

type ViewBaseViewTypeEnum struct {
	TREND    ViewBaseViewType
	SUMTABLE ViewBaseViewType
	RAWTABLE ViewBaseViewType
}

func GetViewBaseViewTypeEnum added in v0.0.103

func GetViewBaseViewTypeEnum() ViewBaseViewTypeEnum

type ViewRow added in v0.0.103

type ViewRow struct {

	// 视图行,包含多个视图,展示的时候根据实际的长度适配。
	ViewList *[]ViewBase `json:"view_list,omitempty"`

	// 标题。
	Title *string `json:"title,omitempty"`
}

func (ViewRow) String added in v0.0.103

func (o ViewRow) String() string

Source Files

Jump to

Keyboard shortcuts

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