710leo
2c45f9585d
Fix false alert when alert duration less than metric step
2020-05-21 23:56:17 +08:00
zengwh
1accfdf9a8
support collect process mem util, mem used and cpu util metrics ( #152 )
...
* support send to influxdb
* fix influxdb config var
* fix name error
* fix remove unused variable
* support collect proc mem util, mem used and cpu util metrics
* opt calc timestamp
* opt code
2020-05-18 19:25:54 +08:00
zengwh
7fa09f19de
Transfer backend support opentsdb ( #149 )
...
* support send to opentsdb
* fix issue
2020-05-16 14:32:32 +08:00
gaojiasheng
5207b2fcba
delete useless lock
2020-05-16 00:14:42 +08:00
710leo
e9e399de85
Update vendor
2020-05-15 17:30:07 +08:00
710leo
99bd108901
Plugin collect support different params
2020-05-15 17:23:00 +08:00
zengwh
973f94f510
support send to influxdb ( #146 )
...
* support send to influxdb
* fix influxdb config var
* fix name error
* fix remove unused variable
2020-05-15 16:41:54 +08:00
710leo
fc4fa979af
Merge branch 'master' of github.com:didi/nightingale
2020-05-14 20:38:22 +08:00
710leo
f004543ce0
Optimize nodata alert value & fix plugin collect cycle not work
2020-05-14 20:38:04 +08:00
UlricQin
29f7044695
refactor error message
2020-05-13 18:17:30 +08:00
710leo
fbb11de178
Fix parse port collect file
2020-05-13 16:09:44 +08:00
710leo
71f9aa0618
Merge branch 'master' of github.com:didi/nightingale
2020-05-12 20:07:24 +08:00
710leo
a6de4d35a9
Support operating plugin collection by web
2020-05-12 20:07:11 +08:00
UlricQin
180ee94c55
code refactor
2020-05-12 12:17:06 +08:00
UlricQin
857b905934
add debug log
2020-05-12 11:40:30 +08:00
陈键冬
9264aa6293
Version management ( #141 )
...
* Provide a better version management approach
* Fix typo
2020-05-11 20:23:53 +08:00
Ulric Qin
6e10ab4b55
mount ignore refactor
2020-05-10 19:18:46 +08:00
Ulric Qin
04e6f36cac
ignore invalid metric
2020-05-10 17:53:36 +08:00
Ulric Qin
6907ffa56c
enhance endpoint query
2020-05-09 23:44:55 +08:00
chenjiandongx
275ecdeacc
Chore
2020-05-09 21:56:32 +08:00
chenjiandongx
db0ab16315
Remove unnessary zero length
2020-05-09 21:51:23 +08:00
chenjiandongx
c1f38e5ca4
Make variable name more meaningful
2020-05-09 21:44:18 +08:00
710leo
7d774562c7
Add delete index by endpoint api
2020-05-07 22:16:35 +08:00
陈键冬
a45ca89ecb
No 'this' anymore ( #135 )
2020-05-07 21:42:39 +08:00
Ulric Qin
f609a84c18
display children node events
2020-05-06 22:09:32 +08:00
710leo
afb80933d0
fix: counter type check
2020-04-30 17:51:45 +08:00
710leo
9c129acdb4
refactor: standardized code
2020-04-28 22:42:15 +08:00
710leo
7f1a947226
refactor: add timestamp check
2020-04-28 19:26:07 +08:00
710leo
f648a6c8c2
refactor: change some log print
2020-04-27 23:36:35 +08:00
Ulric Qin
10cf6d94df
bugfix: do not update alias if alias is blank whenendpoint import
2020-04-25 17:32:09 +08:00
710leo
d9b89f24b5
refactor: sort event tags & change extra
2020-04-23 18:30:56 +08:00
710leo
12d4024710
fix: clude api get redundant tags
2020-04-23 10:35:23 +08:00
710leo
9cb07f1252
fix: nodata strategy does not work when index or tsdb down
2020-04-22 14:54:59 +08:00
710leo
2c285e63c1
optimize nodata
2020-04-21 22:41:43 +08:00
710leo
256dceb624
fix: recovery duration
2020-04-20 22:46:05 +08:00
710leo
45fe14b439
get plugin collect from monapi
2020-04-20 19:07:38 +08:00
陈键冬
747c18a076
Fix logger format bug ( #99 )
2020-04-19 21:05:33 +08:00
penggy
8790094b15
change collector readme, fix url path ( #98 )
...
* change collector readme, fix url path
* add error return
* fix word mistake
* optimization code
2020-04-19 00:11:16 +08:00
陈键冬
e32b8e44d1
Reuse the pool module ( #97 )
...
* Reuse the pool module
* Remove useless init function
* Rename variable
2020-04-18 14:19:32 +08:00
陈键冬
c14a7a170a
Try to fix broken tests ( #89 )
...
* Try to fix broken tests
* Remove uesless function
2020-04-17 18:52:32 +08:00
陈键冬
2d8ffb43e6
Standardized transfer code ( #94 )
...
* Standardized transfer code
2020-04-17 16:55:48 +08:00
710leo
b50b85f367
Merge branch 'master' of github.com:didi/nightingale
2020-04-16 15:38:51 +08:00
710leo
0b2d4d6d19
fix: concurrent map
2020-04-16 15:35:33 +08:00
sven
a3d956f780
nodata不显示judgeItem tags ( #90 )
...
Co-authored-by: litianshun <litianshun@meicai.cn>
2020-04-15 21:03:20 +08:00
710leo
56f8241ea5
fix index slice append
2020-04-14 16:02:08 +08:00
710leo
dfebb86a76
init rpc clients before collect
2020-04-13 21:27:17 +08:00
710leo
daa8ba4f48
Merge branch 'master' of github.com:didi/nightingale
2020-04-13 19:29:07 +08:00
710leo
4b7262f18d
delete strategy which does not found nid
2020-04-13 19:27:24 +08:00
Feng_Qi
12cadb218d
fix port check and push debug log ( #86 )
...
* 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
2020-04-13 19:10:04 +08:00
710leo
99ca7fb862
feat: event support extra field
2020-04-13 17:48:24 +08:00
陈键冬
0604c690d4
standardizing code ( #81 )
...
* Review index module
* Update debug info
* Update according to the reivew feedback
* Remove newline
* Micro update
* Micro fix
* Fix grammer error
2020-04-13 13:09:42 +08:00
710leo
69702e5fd6
log support more time format
2020-04-12 15:50:21 +08:00
陈键冬
6e17b9a2f1
Details fixed about model ( #80 )
...
* Details fixed
* Fix typo
* Clean code
2020-04-12 10:04:37 +08:00
陈键冬
eedab9d8c2
Optimize dataobj module ( #79 )
2020-04-11 18:41:50 +08:00
UlricQin
80a8c6900a
fix conn shutdown when transfer restart
2020-04-10 16:53:12 +08:00
UlricQin
0951f1f1af
Merge branch 'master' of github.com:didi/nightingale
2020-04-10 15:48:54 +08:00
Ulric Qin
d4b24ed573
fix rpc conn close
2020-04-09 00:31:48 +08:00
Ulric Qin
761c0fae25
code refactor
2020-04-09 00:21:28 +08:00
Ulric Qin
8f40b87bec
collector call transfer rpc use long connection
2020-04-09 00:14:22 +08:00
UlricQin
bddef26a22
Merge branch 'master' of github.com:didi/nightingale
2020-04-08 10:39:31 +08:00
UlricQin
92c0ee99d6
bugfix: genMetric
2020-04-07 18:55:23 +08:00
chenjiandongx
9f158992fc
Unify the receiver name
2020-04-06 21:07:13 +08:00
chenjiandongx
03540ac19a
Code polishing
2020-04-06 21:04:02 +08:00
chenjiandongx
1c066df6ac
Fetching data and packaging results can be handled at the same time to imporve performance
2020-04-06 20:48:10 +08:00
陈键冬
73ed8a66d3
Ploish some details ( #63 )
...
* Ploish some details
* Rename linkedlist file and make it looks more like golang style, not Java
2020-04-06 16:35:51 +08:00
710leo
59f2bb003b
Merge branch 'master' of github.com:didi/nightingale
2020-04-03 15:24:00 +08:00
710leo
d39b4af421
fix: and conditions alert recovery
2020-04-03 15:22:34 +08:00
UlricQin
58ccd2153e
fix format char
2020-04-02 17:34:51 +08:00
UlricQin
246aaa9bd7
add some comment
2020-04-02 16:12:23 +08:00
710leo
428ce391f9
fix: transfer get stra
2020-04-01 16:14:57 +08:00
710leo
5e7bfed6af
fix: rebuild judge pool
2020-03-30 17:52:39 +08:00
710leo
5931481c03
judge use lpush
2020-03-29 20:01:33 +08:00
710leo
2c5836f8c8
fix: counter type compute func
2020-03-29 10:59:07 +08:00
Ulric Qin
bf2a4b9ef5
fix counter type compute func
2020-03-29 08:08:43 +08:00
710leo
3d8d6c6886
refactor: clean history data
2020-03-29 00:15:22 +08:00
710leo
f3406af763
feat: be compatible with counter type
2020-03-29 00:09:04 +08:00
Ulric Qin
cb64d2cb98
ignore event xorm field
2020-03-28 18:50:52 +08:00
Ulric Qin
6b87069f8e
alert upgrade logic refactor
2020-03-28 18:39:29 +08:00
710leo
18e7201122
Merge branch 'master' of github.com:didi/nightingale
2020-03-27 15:04:58 +08:00
710leo
2f86831c60
refactor: change transfer stats metric
2020-03-27 14:58:36 +08:00
Ulric Qin
484480348b
use ShouldBindJSON not ShouldBind
2020-03-27 14:18:40 +08:00
Ulric Qin
14d1dec45d
use ShouldBindJSON not ShouldBind when receive data
2020-03-27 14:17:41 +08:00
710leo
aac5fd1a93
fix: collect proc by file
2020-03-27 14:10:52 +08:00
ulricqin
53f1c1e64d
Merge pull request #38 from soolaugust/remove-deprecated
...
os.SEEK_* is deprecated, use io.Seek* instead
2020-03-27 11:37:39 +08:00
soolaugust
bf7447d32a
os.SEEK_* is deprecated, use io.Seek* instead
2020-03-27 09:14:20 +08:00
soolaugust
7942662d79
move TestPatternParse into stra package && remove incorrect test file
2020-03-26 20:38:54 +08:00
710leo
6d42824c2d
refactor: change plugin workdir
2020-03-26 14:59:08 +08:00
710leo
360aa94f66
fix: collector run plugin
2020-03-26 12:31:49 +08:00
Ulric Qin
72a333fad9
fix typo
2020-03-25 19:12:01 +08:00
Ulric Qin
9cd97e4f5c
code refactor
2020-03-25 17:55:31 +08:00
ulricqin
fa7ef01a47
Merge pull request #26 from wulorn/addRedisDB
...
增加redis配置项,可通过配置文件配置指定的redis库
2020-03-25 17:45:15 +08:00
710leo
c54949cb17
Merge branch 'master' of github.com:didi/nightingale
2020-03-25 17:11:55 +08:00
710leo
a047f19ba3
fix: aggregate data by group key
2020-03-25 17:08:17 +08:00
wulorn
76fd7b38df
增加redis配置项,可通过配置文件配置指定的redis库
2020-03-25 16:36:27 +08:00
litianshun
1345ebefd4
clean
2020-03-24 22:46:44 +08:00
710leo
fb43b03b2c
refactor: change collect config path
2020-03-24 20:41:21 +08:00
Ulric Qin
19c9e4eb36
无论哪种状态都回调
2020-03-24 17:09:09 +08:00
710leo
4e5f7a56da
fix: tagkv api get redundant values
2020-03-24 11:15:00 +08:00
710leo
408b6494d8
refactor: stats use address.yml
2020-03-23 18:06:44 +08:00
710leo
2b30d8e0bd
refactor: stats default use address.yml
2020-03-23 15:32:23 +08:00