Commit Graph

123 Commits

Author SHA1 Message Date
ning1875 42fc0527cb
1. Move the default ql to the configuration (#764)
2. add slowLogRecordSecond to  log slow query
3. Create a slice with a specified length to avoid dynamic expansion
4. slow query print fetch series time took and the result series num
2021-08-10 15:25:54 +08:00
UlricQin 8b508fc514 code refactor 2021-08-06 18:03:36 +08:00
710leo e29407486d update service file 2021-08-04 22:33:43 +08:00
710leo e14d3eac4d refactor: get notify content by tpl 2021-08-01 18:32:36 +08:00
UlricQin 0c35f32c5c fix send_email 2021-07-27 18:31:50 +08:00
UlricQin f2e3e3dbf1 add WECOM url 2021-07-27 15:42:14 +08:00
李伟强 5045098c91
Update notify.py (#748) 2021-07-27 15:35:37 +08:00
ning1875 ec6f3098bb
notify.py add sys.encoding to avoid coding error (#744) 2021-07-27 11:38:42 +08:00
UlricQin bb148f9bea add more log 2021-07-23 21:15:23 +08:00
ning1875 2d15445482
新增blackbox_exporter支持 (#740)
* 1. notify.py 支持安装channel反射发送
2. 支持钉钉群发送
3. 生成告警模板信息

* 1. notify.py 支持安装channel反射发送
2. 支持钉钉群发送
3. 增加二开说明

* 1. notify.py 用户创建一个虚拟的用户保存上述im群 的机器人token信息 user的contacts map中

* 1. notify.py alerts目录改为原来的

* 1. notify.py dingtalk send continue匹配

* 1. push型告警支持多条件 任意一个触发就触发

* 1. prometheus查询接口 tag-keys tag-values支持 params为空的情况

* 1. prometheus查询接口 ident匹配全部改为精确匹配
2. tagKey 提示改为tag_key

* 1. prometheus查询接口 支持instance_query 对外暴露

* 1. prometheus instance_query改名为instant-query
2. page group中去掉数据查询相关path

* 1. prometheus range_query 时间戳改为秒级
2. 查询支持传入分辨率参数

* 1. 新增jmx_exporter内置大盘

* 1. 新增blackbox_exporter内置大盘
2. 新增blackbox_exporter内置告警策略
2021-07-22 15:23:49 +08:00
ning1875 bedea9eb05
添加jmx_exporter内置大盘图 (#739)
* 1. notify.py 支持安装channel反射发送
2. 支持钉钉群发送
3. 生成告警模板信息

* 1. notify.py 支持安装channel反射发送
2. 支持钉钉群发送
3. 增加二开说明

* 1. notify.py 用户创建一个虚拟的用户保存上述im群 的机器人token信息 user的contacts map中

* 1. notify.py alerts目录改为原来的

* 1. notify.py dingtalk send continue匹配

* 1. push型告警支持多条件 任意一个触发就触发

* 1. prometheus查询接口 tag-keys tag-values支持 params为空的情况

* 1. prometheus查询接口 ident匹配全部改为精确匹配
2. tagKey 提示改为tag_key

* 1. prometheus查询接口 支持instance_query 对外暴露

* 1. prometheus instance_query改名为instant-query
2. page group中去掉数据查询相关path

* 1. prometheus range_query 时间戳改为秒级
2. 查询支持传入分辨率参数

* 1. 新增jmx_exporter内置大盘
2021-07-21 14:20:01 +08:00
UlricQin c7b00ee8c6 rename default dash 2021-07-18 15:08:14 +08:00
710leo a628d5bb59 docs: change tpl and sql 2021-07-17 18:48:55 +08:00
710leo d6c6eaa064 refactor: series push api 2021-07-17 15:37:16 +08:00
710leo 258e9738f7 feat: add tpl & status api 2021-07-09 20:13:28 +08:00
ning1875 1f16bc9a7b
refactor: send dingtalk notify 2021-07-04 18:53:33 +08:00
ning1875 fd9d78061b
feat: notify support mail and dingding 2021-06-29 14:55:30 +08:00
qinyening 4e6e70c14d
release v5.0.0-rc1 (#708)
* release v5.0.0-rc1
2021-06-28 00:42:39 +08:00
moses 58860dca48
去除配置文件重复项 (#694) 2021-06-09 15:15:08 +08:00
hubo 9cf2d47eef
agent 增加默认tags功能, agent 增加正则匹配磁盘挂载类型过滤功能 (#683)
* agent 增加默认tags功能, agent 增加正则匹配磁盘挂载类型过滤功能

* agent 增加默认tags功能, agent 增加正则匹配磁盘挂载类型过滤功能

Co-authored-by: huboc <huboc@zbj.com>
2021-05-08 19:17:01 +08:00
Ulric Qin 3d3458d577 add LimitNOFILE example in service files 2021-04-24 13:25:33 +08:00
Ulric Qin e142785a9d add ams-builtin-token as server default token and refactor nginx.conf 2021-04-24 12:44:25 +08:00
yubo ddac3a9871
add connect timeout options (#664) 2021-04-20 19:10:25 +08:00
joyexpr bdb15aa0bb
perf: mem and disk size calc from %d to %.1f (#662)
Co-authored-by: 周晓明 <zhouxiaoming@star-net.cn>
2021-04-20 19:04:40 +08:00
710leo d49d40768c organize configuration 2021-04-19 21:28:02 +08:00
710leo 8f1fd17f5c add configuration 2021-04-19 16:44:07 +08:00
UlricQin 7179bb79a0
default setting: udp not enable 2021-04-17 18:47:10 +08:00
qinyening 59366e4d3a
发布v4版本 (#651)
* init
2021-04-13 11:38:40 +08:00
yubo 71984c72b5
feature: add password changed notify (#647)
* feature: add password changed notify
2021-04-09 11:21:09 +08:00
710leo c2f98583e1 add ntp in agent conf 2021-03-31 11:39:37 +08:00
Paul Chu 384e993ca1
enable promethues summary (#630) 2021-03-24 16:08:42 +00:00
yubo 111c6fc1bf
feature: support node event notify with webhook (#627)
* feature: support node event notify with webhook
2021-03-19 13:06:41 +08:00
yubo 3e426537c7
add maxSeriesPoints for config.transfer.m3db (#609) 2021-03-10 17:50:38 +08:00
Zayscott 078f7cfc90
新增n9e模块监控大盘 (#602)
* Update changelog

* Create n9e_mudules

* Update changelog
2021-03-05 12:59:52 +08:00
stiei13wangluo bd72a773f4
telegraf dns_query plugins (#601)
* dns_query

* dns_query

Co-authored-by: root <root@localhost.localdomain>
2021-03-05 11:54:13 +08:00
Feng_Qi acaa88f1a9
add ping/net_response/http_response support (#594)
* fix port check and push debug log

1:如果服务没有监听在 0.0.0.0 上,而是监听在特定地址上的话,在 127.0.0.1 上无法检测到端口。修改为如果 127.0.0.1 检测不到话,在 identity 的地址上再检测一次。
2. http push 部分缺乏 debug 日志,把 debug log 改到 push 里面以补全。

* Update cron.go

* notify add resource name and note

* Update notify.go

* Update notify.go

修复一个当 name/note 为空值且 resource 只有一台时, 由于被 config.Set 清空
因此获取下标 index out of range 导致 panic 的 bug

* add ping, net_response, http_response plugin

增加
ping
net_response
http_response
的插件支持

* Update all.go

* add example config yml

* Update notify.go
2021-02-28 07:56:35 +08:00
lynxcat 2d9bc50401
新增zookeeper,tengine采集 (#574)
* add prober plugin for elasticsearch

* 新增zookeeper,tengine插件,补齐了prober采集插件的测试

* 添加zookeeper插件描述

Co-authored-by: lynxcat <lynxcatdeng@gmail.com>
2021-02-03 14:43:39 +08:00
燕小乙 914aaa0a96
修改k8s-mon ksm,控制平面大盘 (#567)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

* 新增k8s-mon三个大盘文件

* 新增k8s-mon三个大盘文件

* 修改k8s-mon三个大盘文件
2021-01-31 11:56:44 +08:00
lynxcat 3df2536bb6
add prober plugin for elasticsearch (#562)
Co-authored-by: lynxcat <lynxcatdeng@gmail.com>
2021-01-29 23:47:50 +08:00
lynxcat 2d4e6bb8da
prober nginx 采集插件 (#557)
* add a method to get the Endpoint

* 增加nginx插件,修改control。支持./control build prober job这种多个参数

* 修改提示

Co-authored-by: lynxcat <lynxcatdeng@gmail.com>
2021-01-28 17:23:46 +08:00
燕小乙 1f4e0f5e73
新增k8s-mon三个大盘文件 (#555)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

* 新增k8s-mon三个大盘文件

* 新增k8s-mon三个大盘文件
2021-01-27 19:20:00 +08:00
yubo 8fe3457e0a
support anonymous struct field for monapi.plugins.template (#547)
* move get collectrule api from /api/mon to /v1/mon

* support anonymous struct field for monapi.plugins.template

* add tls with mysql, redis and mongodb

* add rdb.user.pwdExpiresAt
2021-01-25 20:43:15 +08:00
UlricQin b7284ada94 use more conns for mysql 2021-01-25 10:19:50 +08:00
yubo 66e2dc73f9
remove prober RPC.port from config (#543)
* remove prober rpc.port from yml config

* remove prober.config.rpcPort && add prober.plugins.config.metrics checker
2021-01-24 14:09:08 +08:00
UlricQin 25c31fcb2e +alarmEnabled true 2021-01-22 14:34:20 +08:00
UlricQin 09154e40aa 3.5.0 release 2021-01-22 11:45:05 +08:00
Ulric Qin 955fe6795d test modify screen tpl 2021-01-21 20:16:50 +08:00
yubo d640d86160
add mon.plugins.redis descriptions (#529)
* add mon.plugins.redis descriptions

* bugfix: add region field for instances/heartbeat
2021-01-21 16:35:31 +08:00
yubo 91503cfd25
update template document for mysql,mongo and redis (#526)
* update mysql document

* update template document for mysql,mongo and redis

* use TelegrafPlugin interface

* add mon.plugins.github as an exmpale
2021-01-20 23:07:56 +08:00
710leo d2be562619 add alert & screen template 2021-01-18 13:26:37 +08:00