- 最新动态
- 功能总览
- 产品介绍
- 计费说明
- 快速入门
-
用户指南
- 开始使用ROMA Connect
- 实例管理
- 集成应用管理
-
数据源管理
- ROMA Connect支持的数据源
- 接入API数据源
- 接入ActiveMQ数据源
- 接入ArtemisMQ数据源
- 接入DB2数据源
- 接入DIS数据源
- 接入DWS数据源
- 接入DM数据源
- 接入Gauss100数据源
- 接入FTP数据源
- 接入HL7数据源
- 接入HANA数据源
- 接入HIVE数据源
- 接入LDAP数据源
- 接入IBM MQ数据源
- 接入Kafka数据源
- 接入MySQL数据源
- 接入MongoDB数据源
- 接入MQS数据源
- 接入MRS Hive数据源
- 接入MRS HDFS数据源
- 接入MRS HBase数据源
- 接入MRS Kafka数据源
- 接入OBS数据源
- 接入Oracle数据源
- 接入PostgreSQL数据源
- 接入Redis数据源
- 接入RabbitMQ数据源
- 接入RocketMQ数据源
- 接入SAP数据源
- 接入SNMP数据源
- 接入SQL Server数据源
- 接入GaussDB(for MySQL)数据源
- 接入WebSocket数据源
- 接入自定义数据源
- 数据集成指导
- 服务集成指导
- 服务集成指导(旧版界面)
- 消息集成指导
- 设备集成指导
- 扩大资源配额
- 查看审计日志
- 查看监控指标
- 权限管理
- 用户指南(新版)
- 最佳实践
-
开发指南
- 数据集成开发指导
-
服务集成开发指导
- 开发说明
- API调用认证开发(APP认证)
- API调用认证开发(IAM认证)
-
自定义后端开发(函数后端)
- 函数后端脚本开发说明
- AesUtils类说明
- APIConnectResponse类说明
- Base64Utils类说明
- CacheUtils类说明
- CipherUtils类说明
- ConnectionConfig类说明
- DataSourceClient类说明
- DataSourceConfig类说明
- ExchangeConfig类说明
- HttpClient类说明
- HttpConfig类说明
- JedisConfig类说明
- JSON2XMLHelper类说明
- JSONHelper类说明
- JsonUtils类说明
- JWTUtils类说明
- KafkaConsumer类说明
- KafkaProducer类说明
- KafkaConfig类说明
- MD5Encoder类说明
- Md5Utils类说明
- QueueConfig类说明
- RabbitMqConfig类说明
- RabbitMqProducer类说明
- RedisClient类说明
- RomaWebConfig类说明
- RSAUtils类说明
- SapRfcClient类说明
- SapRfcConfig类说明
- SoapClient类说明
- SoapConfig类说明
- StringUtils类说明
- TextUtils类说明
- XmlUtils类说明
- 自定义后端开发(数据后端)
- 后端服务签名校验开发
- 消息集成开发指导
- 设备集成开发指导
-
API参考
- 使用前必读
- API概览
- 如何调用API
- 公共资源API
- 数据集成API
- 服务集成API
- 消息集成API
- 设备集成API
- 应用示例
- 权限和授权项
- 附录
- 历史API
- 修订记录
- SDK参考
-
常见问题
- 实例管理
-
数据集成
-
数据集成普通任务
- FDI各类数据库支持哪些数据类型?
- 跟踪号是什么,能跟踪到数据吗?
- FDI任务是否支持清空目标表?
- FDI任务只能采集单张表到单张表吗?
- 用户创建的FDI任务,同一账号的其他用户可见吗?
- FDI通过公网对接其他租户的MRS HIVE如何配置?
- 从OBS解析文件到RDS数据库,采集过一次后,后面采集会进行更新吗?
- OBS源端的CSV文件解析到关系型数据库时,列的值不对怎么办?
- MRS Hive目标字段和源端字段数据类型不匹配时,数据是否能集成到目标端?
- MRS Hive、MRS HBase和MongoDB的Mapping映射手动输入时,是否区分大小写?
- MRS Hive是否支持分区?
- 源端API类型数据源自定义周期如何设置?
- SAP是否支持分页读取视图?
- 数据集成组合任务
-
数据集成普通任务
- 服务集成
- 消息集成
- 设备集成
-
故障排除
-
数据集成任务
- MRS Hive目标端写入时出现数据乱码
- MRS Hive写入时数据全部写在第一个字段里
- 目标端任务报任务运行超时
- MySQL到MRS Hive时目标端报“could only be written to 0 of the 1 minReplication nodes. There are 2 datanode(s) running and 2 node(s) are excluded in this operation”错误
- Mysql到Mysql时源端报“Illegal mix of collations for operation 'UNION'”错误
- 源端Mysql增量采集每小时执行一次时部分数据丢失
- API到MySQL时源端报“401 unauthorized”错误
- Kafka集到Mysql目标端报“cannot find record mapping field”错误
- API到MySQL的定时任务时会出现源端报“connect timeout”错误
- Kafka到Mysql的实时任务时,MQS中的Topic下有数据,但是FDI任务没有采集到数据。
- Mysql到Mysql的定时任务,源端有类型为tinyint(1),值为2的字段,但是采集到目标端值就变成了1
- 目标端数据源为公网Kafka时,定时任务目标端报“The task executes failed.Writer data to kafka failed”错误
- 数据集成组合任务
- 数据源
- 服务集成
- 设备集成
-
数据集成任务
- 视频帮助
- 文档下载
- 通用参考
链接复制成功!
获取实例连接数
功能介绍
获取ROMA Connect实例各组件连接数使用情况
调试
您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。
URI
GET /v1/{project_id}/roma/instances/{instance_id}/statistics
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
project_id |
是 |
String |
资源集id |
instance_id |
是 |
String |
实例id |
请求参数
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
X-Auth-Token |
是 |
String |
用户Token。通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。 |
响应参数
状态码:200
参数 |
参数类型 |
描述 |
---|---|---|
fdi |
fdi object |
fdi连接数信息 |
apic |
apic object |
apic连接数信息 |
mqs |
mqs object |
mqs连接数信息 |
link |
link object |
link连接数信息 |
参数 |
参数类型 |
描述 |
---|---|---|
connect_count |
Integer |
连接数 |
all_datasource_count |
Integer |
数据源总数量 |
all_tasks_count |
Integer |
总任务数量 |
all_running_tasks_count |
Integer |
运行中的任务总数量 |
all_common_tasks_count |
Integer |
普通任务总数量 |
running_common_tasks_count |
Integer |
运行中的普通任务数量 |
abnormal_common_tasks_count |
Integer |
异常的普通任务数量 |
terminated_common_tasks_count |
Integer |
中止的普通任务数量 |
completed_common_tasks_count |
Integer |
已完成的普通任务数量 |
all_cdc_tasks_count |
Integer |
cdc任务总数量 |
running_cdc_tasks_count |
Integer |
运行中cdc任务数量 |
abnormal_cdc_tasks_count |
Integer |
异常cdc任务数量 |
terminated_cdc_tasks_count |
Integer |
中止的cdc任务数量 |
completed_cdc_tasks_count |
Integer |
已完成的cdc任务数量 |
all_flow_tasks_count |
Integer |
编排任务总数量 |
running_flow_tasks_count |
Integer |
运行中的编排任务数量 |
abnormal_flow_tasks_count |
Integer |
异常的编排任务数量 |
terminated_flow_tasks_count |
Integer |
停止的编排任务数量 |
completed_flow_tasks_count |
Integer |
已完成的编排任务数量 |
参数 |
参数类型 |
描述 |
---|---|---|
connection_num |
Integer |
连接数 |
api_num |
Integer |
api数量 |
api_num_without_livedata |
Integer |
托管类API(非自定义后端发布生成的API)数量 |
livedata_api_num |
Integer |
自定义后端(函数后端或者数据后端)数量 |
参数 |
参数类型 |
描述 |
---|---|---|
connection_numbers |
Integer |
连接数 |
topic_numbers |
Integer |
topic数量 |
partition_numbers |
Integer |
分区数量 |
consumer_group_numbers |
Integer |
消费组数量 |
total_queue_numbers |
Integer |
队列数量 |
参数 |
参数类型 |
描述 |
---|---|---|
products |
products object |
产品连接数信息 |
connections |
connections object |
连接数信息 |
product_templates |
product_templates object |
产品模板 |
devices |
devices object |
设备信息 |
参数 |
参数类型 |
描述 |
---|---|---|
total |
Integer |
总量 |
normal_products_numbers |
Integer |
普通产品数量 |
gateway_products_numbers |
Integer |
网关产品数量 |
参数 |
参数类型 |
描述 |
---|---|---|
total |
Integer |
设备总量 |
normal_devices |
normal_devices object |
普通设备信息 |
gateway_devices |
gateway_devices object |
网关设备信息 |
subsets_devices |
subsets_devices object |
网关子设备信息 |
参数 |
参数类型 |
描述 |
---|---|---|
total |
Integer |
总量 |
never_connected |
Integer |
未连接普通设备 |
online |
Integer |
在线普通设备 |
offline |
Integer |
离线普通设备 |
请求示例
无
响应示例
状态码:200
ROMA实例连接数信息
{
"fdi" : {
"connect_count" : 0,
"all_datasource_count" : 7,
"all_tasks_count" : 0,
"all_running_tasks_count" : 0,
"all_common_tasks_count" : 0,
"running_common_tasks_count" : 0,
"abnormal_common_tasks_count" : 0,
"terminated_common_tasks_count" : 0,
"completed_common_tasks_count" : 0,
"all_cdc_tasks_count" : 0,
"running_cdc_tasks_count" : 0,
"abnormal_cdc_tasks_count" : 0,
"terminated_cdc_tasks_count" : 0,
"completed_cdc_tasks_count" : 0,
"all_flow_tasks_count" : 0,
"running_flow_tasks_count" : 0,
"abnormal_flow_tasks_count" : 0,
"terminated_flow_tasks_count" : 0,
"completed_flow_tasks_count" : 0
},
"apic" : {
"connection_num" : 7,
"api_num" : 37,
"api_num_without_livedata" : 26,
"livedata_api_num" : 18
},
"mqs" : {
"connection_numbers" : 2,
"topic_numbers" : 4,
"partition_numbers" : 10,
"consumer_group_numbers" : 0,
"total_queue_numbers" : 0
},
"link" : {
"products" : {
"total" : 1,
"normal_products_numbers" : 1,
"gateway_products_numbers" : 0
},
"connections" : {
"connection_numbers" : 1
},
"product_templates" : {
"product_templates_numbers" : 0
},
"devices" : {
"total" : 1,
"normal_devices" : {
"total" : 1,
"never_connected" : 1,
"online" : 0,
"offline" : 0
},
"gateway_devices" : {
"total" : 0,
"never_connected" : 0,
"online" : 0,
"offline" : 0
},
"subsets_devices" : {
"total" : 0,
"never_connected" : 0,
"online" : 0,
"offline" : 0
}
}
}
}
状态码
状态码 |
描述 |
---|---|
200 |
ROMA实例连接数信息 |
错误码
请参见错误码。