Commit Graph

1382 Commits

Author SHA1 Message Date
jsers 1995f0b280 fix: Fix menu locale for zh 2020-04-02 15:13:03 +08:00
jsers 3139525149 web build 2020-04-02 10:16:13 +08:00
jsers c7e50f223d feat: add English translation 2020-04-02 10:16:13 +08:00
710leo 428ce391f9 fix: transfer get stra 2020-04-01 16:14:57 +08:00
Ulric Qin b88b9b670f add gzip for js and css 2020-03-31 07:07:32 +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
ulricqin bda2eae933
Merge pull request #37 from canghai908/master
use vendor
2020-03-27 11:36:34 +08:00
ulricqin def68cc572
Merge pull request #35 from soolaugust/master
move TestPatternParse into stra package && remove incorrect test file
2020-03-27 11:31:31 +08:00
soolaugust bf7447d32a os.SEEK_* is deprecated, use io.Seek* instead 2020-03-27 09:14:20 +08:00
sole 6b786f2b9a
Merge pull request #3 from canghai908/canghai908-patch-1
GitHub Actions  add
2020-03-26 23:49:12 +08:00
sole 351f1ef0db
Create n9e.yml
Create n9e.yml
2020-03-26 23:44:17 +08:00
canghai809 7c19fc22b0 use vendor 2020-03-26 22:52:41 +08:00
canghai809 16d505c622 use vendor 2020-03-26 22:42:57 +08:00
sole 0fd6176ac6
Merge pull request #1 from didi/master
update
2020-03-26 22:38:17 +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
ulricqin 3e8a6946e0
Merge pull request #12 from llitfkitfk/feature/docker
Add Docker support for local development
2020-03-25 10:35:08 +08:00
ulricqin 7f7932a741
Merge pull request #24 from lts120784620/master
clean no use parameter
2020-03-25 09:25:32 +08:00
litianshun 1345ebefd4 clean 2020-03-24 22:46:44 +08:00
llitfkitfk 3d13c44ae1 remove duplicate etc config yml && add sed scripts 2020-03-24 22:30:37 +08:00
llitfkitfk 8709136ec1 Merge branch 'master' into feature/docker 2020-03-24 21:59:24 +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
Ulric Qin 50bb36f2ed 更改获取ip的方式 2020-03-24 10:32:53 +08:00
ulricqin e12877c3fb
Merge pull request #19 from higkoo/patch-3
更新IP的获取方式
2020-03-24 10:28:39 +08:00
ulricqin 9ba38546ac
Merge pull request #18 from higkoo/patch-2
更新IP地址的获取方式
2020-03-24 10:28:21 +08:00
ulricqin 7325c7d50a
Merge pull request #17 from higkoo/patch-1
更新IP地址的获取方式
2020-03-24 10:28:06 +08:00
higkoo 060c00fa25
更新IP的获取方式
原命令也是基于 路径正确、操作系统输出格式正确,还不如 hostname -i 来得简单。  
hostname -i 在正确配置的操作系统下,都能正常获取IP地址。  
简单高效,简单就是好。
2020-03-23 19:52:19 +08:00
higkoo 16871e724f
更新IP地址的获取方式
在不同操作系统下全路径不一样,比如上述的 ifconfig / route 在 Debian 系统的 /sbin 目录下。
另外 Debian 打印出来 多 'addr:' 需要多处理 /sbin/ifconfig `/sbin/route|grep '^default'|awk '{print $NF}'`|grep inet|awk '{print $2}'|awk -F':' '{print $2}'|head -n 1
还不如直接 hostname -i 获取,正常配置下都Okay的。
2020-03-23 19:49:27 +08:00