-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
canal 性能指标采集 #828
Merged
Merged
canal 性能指标采集 #828
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
大赞!! 问一下 METRICS_OPTS 这个注释了, 目前监控信息的获取方式是JMX还是HTTP ? |
建议你把监控这块的指标的概念, 以及基于指标来定位问题的case能罗列一下, 后续大家都可以共享了 |
rds的提交比较大, 和我这边的一些提交也有撞车, 需要留意看看是否被覆盖. 这次RDS的提交, 主要为解决阿里云上RDS binlog被删的问题, 会自动衔接oss的binlog 和 mysql binlog. 有了这套机制, 以后对接各类云RDS基本无障碍了 |
METRICS_OPTS 本来是用于-javaagent的,现在去掉了。
指标的概念及case会连同表达式,写一个MD,再commit,包括一些develop guide和可视化的内容。 |
赞赞赞 |
想问一下,配置变更后,这些指标会清空,这是正常的吗,在哪里处理的呀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
指标列表:
canal_instance_traffic_delay 与master的delay,单位毫秒,精度毫秒
canal_instance_transactions 接收的transaction数量
canal_instance_row_events 接收的rowdata entry数量
canal_instance_rows_counter 变更的行数
canal_instance instance列表
canal_instance_subscriptions instance订阅数量
canal_instance_publish_blocking_time parallel模式下pushlish阻塞时间,单位毫秒,精度纳秒
canal_instance_received_binlog_bytes 接收的binlog字节数
canal_instance_parser_mode parser是否parallel模式
canal_instance_client_packets client instances请求packets数量
canal_instance_client_bytes 向client instances发送字节数
canal_instance_client_empty_batches 向client instances发送空包数量
canal_instance_client_request_error client instances错误请求数量
canal_instance_client_request_latency 请求latency情况
canal_instance_sink_blocking_time sink线程put store的阻塞时间,单位毫秒,精度纳秒
canal_instance_store_produce_seq 生产entry的序号
canal_instance_store_consume_seq 消费entry的序号,与canal_instance_store_produce_seq配合使用
canal_instance_store store基本信息
canal_instance_store_produce_mem 生产的entry占用mem总量
canal_instance_store_consume_mem 消费的entry占用mem总量
待补充...
httpserver端口目前是11112
晚上和rds的提交撞车了,所以有些冲突文件merge。
protoc用的2.6.1版本。
后续会补充Prometheus表达式,可视化相关文档,test cases;将端口等参数可配置等等。
请review一下,谢谢。