Documentation ¶
Index ¶
- type AccessAkskVo
- type AppInfo
- type AppNodeModel
- type AppSearchParam
- type BusinessNodeModel
- type ClientSpanInfo
- type CmdbTagEntity
- type CollectorCategoryInfo
- type ConfigItem
- type CreateAkSkRequest
- type CreateAkSkResponse
- type CreateAkskModel
- type DeleteAkSkRequest
- type DeleteAkSkResponse
- type DiscardInfo
- type EnvNodeModel
- type FieldItem
- type FrontCell
- type FrontLine
- type FrontPoint
- type FrontRow
- type GetClobDetailParam
- type GetEnvMonitorItemListParam
- type InstanceInfo
- type InstanceSearchParam
- type ListAkSkRequest
- type ListAkSkResponse
- type ListAppEnvsRequest
- type ListAppEnvsResponse
- type ListAppsRequest
- type ListAppsResponse
- type ListBusinessRequest
- type ListBusinessResponse
- type ListEnvInstancesRequest
- type ListEnvInstancesResponse
- type ListEnvMonitorItemRequest
- type ListEnvMonitorItemResponse
- type ListEnvTagsRequest
- type ListEnvTagsResponse
- type ListOpenRegionRequest
- type ListOpenRegionResponse
- type ListSupportedRegionRequest
- type ListSupportedRegionResponse
- type MonitorItem
- type MonitorItemEntity
- type OrderParam
- type OrderParamOrder
- type OrderParamOrderEnum
- type RawTableParam
- type RawTableView
- type RawTableViewTableDirection
- type RawTableViewTableDirectionEnum
- type RawTableViewViewType
- type RawTableViewViewTypeEnum
- type Region
- type SaveMonitorItemConfigRequest
- type SaveMonitorItemConfigResponse
- type SaveMonitorItemParam
- type SearchApplicationRequest
- type SearchApplicationResponse
- type ShowAkSksRequest
- type ShowAkSksResponse
- type ShowClobDetailRequest
- type ShowClobDetailResponse
- type ShowEnvMonitorItemsRequest
- type ShowEnvMonitorItemsResponse
- type ShowEventDetailRequest
- type ShowEventDetailResponse
- type ShowMasterAddressRequest
- type ShowMasterAddressResponse
- type ShowMonitorItemViewConfigRequest
- type ShowMonitorItemViewConfigResponse
- type ShowRawTableRequest
- type ShowRawTableResponse
- type ShowRawTableResponseTableDirection
- type ShowRawTableResponseTableDirectionEnum
- type ShowSpanSearchRequest
- type ShowSpanSearchResponse
- type ShowSumTableRequest
- type ShowSumTableResponse
- type ShowSumTableResponseTableDirection
- type ShowSumTableResponseTableDirectionEnum
- type ShowTopologyRequest
- type ShowTopologyResponse
- type ShowTopologyTreeRequest
- type ShowTopologyTreeResponse
- type ShowTraceEventsRequest
- type ShowTraceEventsResponse
- type ShowTrendRequest
- type ShowTrendResponse
- type SpanEventInfo
- type SumTableParam
- type SumTableView
- type SumTableViewTableDirection
- type SumTableViewTableDirectionEnum
- type SumTableViewViewType
- type SumTableViewViewTypeEnum
- type TagParam
- type TopologyTree
- type TraceSearchParam
- type TraceTopologyLine
- type TraceTopologyLineInfo
- type TraceTopologyNode
- type TreeNode
- type TreeNodeNodeType
- type TreeNodeNodeTypeEnum
- type TrendParam
- type TrendView
- type TrendViewTableDirection
- type TrendViewTableDirectionEnum
- type TrendViewViewType
- type TrendViewViewTypeEnum
- type ViewBase
- type ViewBaseTableDirection
- type ViewBaseTableDirectionEnum
- type ViewBaseViewType
- type ViewBaseViewTypeEnum
- type ViewRow
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 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"` }
应用信息
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 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 ClientSpanInfo ¶ added in v0.0.103
type ClientSpanInfo struct { // vTraceId,虚拟traceI GlobalTraceId *string `json:"global_trace_id,omitempty"` GlobalPath *string `json:"global_path,omitempty"` TraceId *string `json:"trace_id,omitempty"` SpanId *string `json:"span_id,omitempty"` EnvId *int64 `json:"env_id,omitempty"` InstanceId *int64 `json:"instance_id,omitempty"` AppId *int64 `json:"app_id,omitempty"` BizId *int64 `json:"biz_id,omitempty"` DomainId *int32 `json:"domain_id,omitempty"` Source *string `json:"source,omitempty"` RealSource *string `json:"real_source,omitempty"` StartTime *int64 `json:"start_time,omitempty"` TimeUsed *int64 `json:"time_used,omitempty"` Code *int32 `json:"code,omitempty"` ClassName *string `json:"class_name,omitempty"` IsAsync *bool `json:"is_async,omitempty"` 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 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"` 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 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"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteAkSkResponse) String ¶ added in v0.0.103
func (o DeleteAkSkResponse) 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 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 FieldItem ¶ added in v0.0.103
type FieldItem struct { // 表达式 Function *string `json:"function,omitempty"` // 作为 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"` }
所需展示的字段列表模型
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"` }
数据单元
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"` }
趋势图数据模型
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"` // 是否是事务 TxId *int64 `json:"tx_id,omitempty"` }
数据行
type GetClobDetailParam ¶ added in v0.0.103
type GetClobDetailParam struct { // 环境id EnvId *int64 `json:"env_id,omitempty"` // clobId ClobId *string `json:"clob_id,omitempty"` }
获取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
func (o GetEnvMonitorItemListParam) String() string
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,omitempty"` // 当前页码 Page *int32 `json:"page,omitempty"` // 每页数据容量 PageSize *int32 `json:"page_size,omitempty"` // 关键字 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 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 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 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 { XBusinessId *int64 `json:"x-business-id,omitempty"` 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
func (o ListEnvMonitorItemResponse) String() string
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
func (o ListSupportedRegionRequest) String() string
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
func (o ListSupportedRegionResponse) String() string
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 { 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"` MonitorItemId *int64 `json:"monitor_item_id,omitempty"` Disabled *bool `json:"disabled,omitempty"` 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 { Field *string `json:"field,omitempty"` 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:"lastRowId,omitempty"` ViewConfig *RawTableView `json:"view_config,omitempty"` // 当前页码 Page *int32 `json:"page,omitempty"` // 每页数据总数 PageSize *int32 `json:"page_size,omitempty"` // 排序 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,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` }
获取原始数据表格入参
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,omitempty"` // 采集器名称 CollectorName *string `json:"collector_name,omitempty"` // 视图对应的指标集的名称 MetricSet *string `json:"metric_set,omitempty"` // 图标所需展示的标题 Title *string `json:"title,omitempty"` // 表格的方向,H:默认,表头横向,V:表头纵向 TableDirection *RawTableViewTableDirection `json:"table_direction,omitempty"` // 分组规则 GroupBy *string `json:"group_by,omitempty"` // 过滤列表模型 Filter *string `json:"filter,omitempty"` // 所需展示的字段列表模型集合 FieldItemList *[]FieldItem `json:"field_item_list,omitempty"` // 跨度 Span *bool `json:"span,omitempty"` // 跨度字段 SpanField *string `json:"span_field,omitempty"` // 排序规则 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
func (c RawTableViewTableDirection) Value() string
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信息
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
func (o SaveMonitorItemConfigRequest) String() string
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
func (o SaveMonitorItemConfigResponse) String() string
type SaveMonitorItemParam ¶ added in v0.0.97
type SaveMonitorItemParam struct { // 监控项id MonitorItemId *int64 `json:"monitor_item_id,omitempty"` // 采集间隔 Interval *int32 `json:"interval,omitempty"` // 环境id EnvId *int32 `json:"env_id,omitempty"` // 配置项列表 ConfigValueList *[]ConfigItem `json:"config_value_list,omitempty"` }
func (SaveMonitorItemParam) String ¶ added in v0.0.97
func (o SaveMonitorItemParam) 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 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 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
func (o ShowEnvMonitorItemsRequest) String() string
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
func (o ShowEnvMonitorItemsResponse) String() string
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的id,英文名称。 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
func (o ShowMonitorItemViewConfigRequest) String() string
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
func (o ShowMonitorItemViewConfigResponse) String() string
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
func (c ShowRawTableResponseTableDirection) Value() string
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 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
func (c ShowSumTableResponseTableDirection) Value() string
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 { // 调用链tracId 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,omitempty"` // 环境标签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 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"` // 错误类型 主要有这么几种 ErrorType枚举的几种,可以逗号分隔多种类型 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,omitempty"` // 策略 Strategy *string `json:"strategy,omitempty"` // 当前页码 Page *int32 `json:"page,omitempty"` // 每页数据总数 PageSize *int32 `json:"page_size,omitempty"` // 排序规则 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,omitempty"` // 起始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` }
汇聚数据表格传参
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,omitempty"` // 采集器名称 CollectorName *string `json:"collector_name,omitempty"` // 视图对应的指标集的名称 MetricSet *string `json:"metric_set,omitempty"` // 图标所需展示的标题 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,omitempty"` // 跨度 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
func (c SumTableViewTableDirection) Value() string
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,omitempty"` // 环境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"` }
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,omitempty"` 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,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"` // 是否有错误 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 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"` }
拓扑树节点信息
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,omitempty"` // 实例id InstanceId *int64 `json:"instance_id,omitempty"` // 监控项id MonitorItemId *int64 `json:"monitor_item_id,omitempty"` // 环境id EnvId *int64 `json:"env_id,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` }
查询趋势图入参
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,omitempty"` // 采集器名称 CollectorName *string `json:"collector_name,omitempty"` // 视图对应的指标集名称 MetricSet *string `json:"metric_set,omitempty"` // 图标所需展示的标题 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,omitempty"` // 跨度 Span *bool `json:"span,omitempty"` // span字段属性 SpanField *string `json:"span_field,omitempty"` // 排序 OrderBy *string `json:"order_by,omitempty"` // 是否只展示最近一笔数据 Latest *string `json:"latest,omitempty"` }
视图配置信息
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 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"` }
视图基础模型类
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
Source Files ¶
- model_access_aksk_vo.go
- model_app_info.go
- model_app_node_model.go
- model_app_search_param.go
- model_business_node_model.go
- model_client_span_info.go
- model_cmdb_tag_entity.go
- model_collector_category_info.go
- model_config_item.go
- model_create_ak_sk_request.go
- model_create_ak_sk_response.go
- model_create_aksk_model.go
- model_delete_ak_sk_request.go
- model_delete_ak_sk_response.go
- model_discard_info.go
- model_env_node_model.go
- model_field_item.go
- model_front_cell.go
- model_front_line.go
- model_front_point.go
- model_front_row.go
- model_get_clob_detail_param.go
- model_get_env_monitor_item_list_param.go
- model_instance_info.go
- model_instance_search_param.go
- model_list_ak_sk_request.go
- model_list_ak_sk_response.go
- model_list_app_envs_request.go
- model_list_app_envs_response.go
- model_list_apps_request.go
- model_list_apps_response.go
- model_list_business_request.go
- model_list_business_response.go
- model_list_env_instances_request.go
- model_list_env_instances_response.go
- model_list_env_monitor_item_request.go
- model_list_env_monitor_item_response.go
- model_list_env_tags_request.go
- model_list_env_tags_response.go
- model_list_open_region_request.go
- model_list_open_region_response.go
- model_list_supported_region_request.go
- model_list_supported_region_response.go
- model_monitor_item.go
- model_monitor_item_entity.go
- model_order_param.go
- model_raw_table_param.go
- model_raw_table_view.go
- model_region.go
- model_save_monitor_item_config_request.go
- model_save_monitor_item_config_response.go
- model_save_monitor_item_param.go
- model_search_application_request.go
- model_search_application_response.go
- model_show_ak_sks_request.go
- model_show_ak_sks_response.go
- model_show_clob_detail_request.go
- model_show_clob_detail_response.go
- model_show_env_monitor_items_request.go
- model_show_env_monitor_items_response.go
- model_show_event_detail_request.go
- model_show_event_detail_response.go
- model_show_master_address_request.go
- model_show_master_address_response.go
- model_show_monitor_item_view_config_request.go
- model_show_monitor_item_view_config_response.go
- model_show_raw_table_request.go
- model_show_raw_table_response.go
- model_show_span_search_request.go
- model_show_span_search_response.go
- model_show_sum_table_request.go
- model_show_sum_table_response.go
- model_show_topology_request.go
- model_show_topology_response.go
- model_show_topology_tree_request.go
- model_show_topology_tree_response.go
- model_show_trace_events_request.go
- model_show_trace_events_response.go
- model_show_trend_request.go
- model_show_trend_response.go
- model_span_event_info.go
- model_sum_table_param.go
- model_sum_table_view.go
- model_tag_param.go
- model_topology_tree.go
- model_trace_search_param.go
- model_trace_topology_line.go
- model_trace_topology_line_info.go
- model_trace_topology_node.go
- model_tree_node.go
- model_trend_param.go
- model_trend_view.go
- model_view_base.go
- model_view_row.go