Commit Graph

55 Commits

Author SHA1 Message Date
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
higkoo b71847feba
更新IP地址的获取方式
ifconfig 和 route 命令,写绝对路径会导致兼容性不好。
1. Debian系统路径对应: /sbin/ifconfig 和 /sbin/route
2. 原命令获取的IP地址兼容性不好,会带“addr:”在前面。 addr:192.163.10.31
3. 本地配置正确的情况下 `hostname -i`是能拿到正确IP的
2020-03-23 19:46:59 +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
llitfkitfk ec0aeecc93 update: golang mod proxy 2020-03-23 14:41:30 +08:00
llitfkitfk cc7c280229 Merge branch 'master' into feature/docker 2020-03-23 14:40:57 +08:00
llitfkitfk 76b7237347 update: docker base image 2020-03-23 14:38:58 +08:00
llitfkitfk cbe0c28278 update: docker build 2020-03-23 14:21:27 +08:00
710leo 450f94ff32 feat: support comparison graph 2020-03-23 14:14:11 +08:00
llitfkitfk 5e2ff73e24 add: other modules 2020-03-23 13:46:52 +08:00
Ulric Qin 6f66b022bc use aliyun mirror when build 2020-03-23 13:16:28 +08:00
llitfkitfk 0f79fafa23 Merge branch 'master' into feature/docker 2020-03-23 12:38:06 +08:00
ulricqin c2d74a99dc
Merge pull request #11 from freedomkk-qfeng/master
优化 LDAP 认证部分的支持
2020-03-23 09:33:12 +08:00
llitfkitfk 553dcbd9fa update: index config & transfer 2020-03-23 01:05:17 +08:00
llitfkitfk 087333808e add nginx & update monapi 2020-03-23 00:42:22 +08:00
llitfkitfk be73d2810f add docker support 2020-03-23 00:05:53 +08:00
Feng_Qi a5be668359 ldap login support anonymous search mode 2020-03-23 00:04:15 +08:00
Feng_Qi 7c86e8f58e ldap login support auto cover attributes
1. support cover attribute by ldap
2. add ldap auto regist config
2020-03-22 23:43:06 +08:00
Ulric Qin eb03ccc271 nginx user use root 2020-03-22 07:30:08 +08:00
Ulric Qin 96af38b411 add GOPROXY export when build 2020-03-22 06:28:32 +08:00
Ulric Qin 178acfb4c2 Merge branch 'master' of github.com:didi/nightingale 2020-03-21 15:01:23 +08:00
Ulric Qin 7ef118c9f2 export GO111MODULE 2020-03-21 15:00:14 +08:00
710leo 3092b4b65d fix: recovery alert value is null & refactor stats 2020-03-19 17:20:29 +08:00
710leo 5df96d41a7 refactor: add some metrics 2020-03-19 12:45:33 +08:00
jsers 1e05be4eec web build 2020-03-19 11:32:08 +08:00
jsers feed1df8ca fix: failed to load the bind node 2020-03-19 11:31:59 +08:00
jsers 91a4648c6f [web] fix: delete root node 2020-03-19 11:30:50 +08:00
Ulric Qin 7e400f0c29 del no use comment 2020-03-18 17:39:05 +08:00