# Incenses(period calculate metric)
[中文文档](/README-zh.md)
Incenses is a statistical metrics framework based on periodic data collection, processing, aggregation and storage.
Based on the plugin system, it is easy to add support for the collection and statistics of data indicators in the cycle.
There are four different types of plugins:
- Data collection (collect) plugin: collect data according to time from third-party data storage systems and APIs, eg: mysql, es, http service
- Data filter plugin: used for data conversion, filtering indicators, eg: splitting and merging field
- Data aggregation (aggregator) plugin: statistics on data, eg: count, sum
- Data storage (output) plugin: Persist calculation results, eg: mysql
## function
- Cycle management, responsible for maintaining the current statistical cycle management. eg: cycle conversion, cycle switching
- Task management, supports horizontal expansion of tasks, distributed execution of tasks, and ensures that the same task is mutually exclusive on multiple nodes.
- Tasks are executed in batches, long task slices, task execution exceeds a certain time, and the task is suspended
- Module design. For data, business. Process logic decoupling to reduce complexity
- Data acceleration, the execution of data collection (collect) is accelerated by concurrency at the framework layer. Reduce development difficulty
- Data is automatically deduplicated
design thinking:
![设计思想](http://www.ireage.com/img/metrics/metric_plugins_config.png)
![metric_framework_function](http://www.ireage.com/img/metrics/metric_framework_function.png)
execute process:
The task execution process in the development perspective.
The data is executed in the order of collect → filter → aggregate → filter → output in one direction, and multiple plugins of the same type are executed in order
![metric_calculate_arch](http://www.ireage.com/img/metrics/metric_arch.png)
Data acceleration
![metric_framework_workers](http://www.ireage.com/img/metrics/metric_framework_workers.png)
## use
The user mainly invokes the socket through configuration.
没有合适的资源?快使用搜索试试~ 我知道了~
Incenses(period calculate metric) 基于周期数据收集、处理、聚合和存储的统计指标框架.zip
共43个文件
go:39个
md:2个
mod:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 133 浏览量
2024-01-03
00:26:43
上传
评论
收藏 51KB ZIP 举报
温馨提示
Incenses(period calculate metric) 是一个基于周期数据收集、处理、聚合和存储的统计指标框架。 基于插件系统,能够轻松添加对周期内数据指标收集及统计的支持
资源推荐
资源详情
资源评论
收起资源包目录
Incenses(period calculate metric) 是一个基于周期数据收集、处理、聚合和存储的统计指标框架。 基于插件系统,能够轻松添加对周期内数据指标收集及统计的支持; a statistical metrics framework based on pe….zip (43个子文件)
incenses-master
go.mod 2KB
src
plugins
aggregators
two_sum_field_rate
two_sum_field_rate.go 4KB
all
all.go 292B
count
count.go 4KB
register.go 450B
collects
all
all.go 131B
register.go 438B
filters
all
all.go 131B
register.go 438B
register.go 400B
outputs
mysql
mysql.go 7KB
all
all.go 207B
register.go 438B
handle
task
mysql
task_test.go 4KB
task.go 3KB
schema_sql.go 2KB
define
lock.go 372B
plugins.go 3KB
task.go 7KB
data.go 2KB
libs
retry
retry.go 1KB
retry_test.go 2KB
worker
worker_test.go 2KB
worker.go 2KB
rules
compare
equal_string.go 956B
rule
rule.go 922B
times
time.go 402B
time_cycle
times.go 7KB
define.go 2KB
redislock
lock.go 1KB
lock_test.go 2KB
context
implement_context.go 4KB
context.go 3KB
log
interface.go 705B
defalut_log.go 2KB
core
event.go 7KB
task.go 16KB
LICENSE 1KB
example
mysql_task
plugins
collect
example
test_data.go 1KB
example.go 2KB
task.go 5KB
README.md 2KB
README-zh.md 2KB
共 43 条
- 1
资源评论
马coder
- 粉丝: 1202
- 资源: 6602
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功