Commit Graph

35 Commits

Author SHA1 Message Date
ning1875 61bd28db31
日志采集字段变更 whether_attache_one_log_line--> whether_attach_one_log_line (#619)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

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

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

* 修改k8s-mon三个大盘文件

* 日志采集新增带上最后一条日志 到extra字段中,为后续报警做准备

* 日志采集字段变更 whether_attache_one_log_line--> whether_attach_one_log_line

* 日志采集带上日志
2021-03-15 16:03:02 +08:00
ning1875 7bb93e8351
日志采集新增带上最后一条日志 到extra字段中,为后续报警做准备 (#614)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

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

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

* 修改k8s-mon三个大盘文件

* 日志采集新增带上最后一条日志 到extra字段中,为后续报警做准备
2021-03-13 13:19:45 +08:00
UlricQin 08dbc3c035
Delete n9e_rdb-v3.4.0.sql 2021-03-02 17:03:41 +08:00
UlricQin 3fba4390c5 generate upgrade sql for 3.7.0 2021-03-02 16:58:09 +08:00
yubo e839c6bd6b
bugfix: update session param has a mistake (#576)
* add cache counter for login part.1

* add login counter api

* feature: prober support multi-metric with different tags

* bugfix: session counter reset

* add models.stats for counter

* bugfix: update session param has a mistake
2021-02-03 15:00:14 +08:00
Ulric Qin d254e5670b rebuild table collect_rule 2021-01-23 17:02:37 +08:00
yubo c53a66d20e
remove sql.mon.collect_rule.created (#542) 2021-01-23 13:28:45 +08:00
UlricQin 2e9b236406 3.5.0 release 2021-01-22 11:29:49 +08:00
yubo 8204641656
add logger with monapi.plugins as telegraf.Logger interface (#522) 2021-01-18 19:25:47 +08:00
UlricQin 312c2d1574 move patch sql to 3.4.0 2021-01-08 16:11:38 +08:00
yubo 543d345aea
Dev (#487)
* add rdb config auth.debug for white_list

* update prober config support mode param

* feature: support access-token control with max connection, idle time, ...

* add token/session delete with auth check

* enable debug user for auth

* skip init sso db if not enable
2021-01-07 09:13:04 +08:00
Ulric Qin eddd77d2d9 add patch sql for hbs 2021-01-01 11:42:17 +08:00
Ulric Qin e85debddfc upgrade 3.4.0 2021-01-01 10:46:59 +08:00
yubo d45ea02562
Rdb (#479)
* use collector interface

* mysql can work fine

* add basecollector

* add prober & monapi.plugins

* enable mysql plugins work

* rename collector -> manager

* add white list access check for rdb

* add cache module for authConfig & session

* rollback n9e_rdb_3.3.0.sql

* add sql ddl document

* add white_list, pwd, login access control

* add email code for login & reset password

* use sessionUsername instead of cookieUsername

* remove cookie name and data from session

* rename userName to username

* add remote_addr with session connection

* add get user by sid with cache

* enable cookie life time could be zero

* go mod tidy

* Rdb with session & monapi with telegraf (#456)

* use collector interface

* mysql can work fine

* add basecollector

* add prober & monapi.plugins

* enable mysql plugins work

* rename collector -> manager

* add white list access check for rdb

* add cache module for authConfig & session

* rollback n9e_rdb_3.3.0.sql

* add sql ddl document

* add white_list, pwd, login access control

* add email code for login & reset password

* use sessionUsername instead of cookieUsername

* remove cookie name and data from session

* rename userName to username

* add remote_addr with session connection

* add get user by sid with cache

* enable cookie life time could be zero

* go mod tidy

* add plugins config for prober

* add prober plugin expression parse

* update transfer default config for m3

* Rdb (#458)

* bugfix: session gc

* use flag for pwdMustInclude

* change user login function

* delete invite token after use

* bugfix: login response

* add sessionStart middle ware

* add auth module

* add i18n for rdb

* add i18n.zh for rdb.auth

* add mon plugins(redis, mongodb)

* update config

* add sub struct into definitions

* clean up sid cache after session destory

* bugfix: get user return nil when not found

* update i18n

* bugfix: ignore cache nologin user

* add user for callback output

* add password change api

* update default configfile & sql patch

* merge mon http middleware from rdb

* remove sso logout, sso already supporte one time auth
2021-01-01 10:41:30 +08:00
710leo d5430256c7 fix rdb sql 2020-11-20 18:21:10 +08:00
710leo 6e5dff6454 update sql 2020-11-18 16:17:21 +08:00
710leo fa263eb68d fix sql 2020-11-18 16:14:01 +08:00
710leo bddd93cd80 udpate rdb sql 2020-11-17 18:32:52 +08:00
qinyening a659820b07
refactor judge (#405)
* refactor judge
* rdb user add organization typ status
2020-11-17 18:27:22 +08:00
Ulric Qin 49e8dbe5f6 准备发版3.3.0 2020-11-14 17:23:30 +08:00
alick-liming ffc98f31c9
rdb新增用户添加时间代码调整 (#398)
* rdb资源增加volume

* rdb用户增加创建时间

* rdb用户添加时间

* rdb新增添加用户时间代码调整

* test

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-13 14:18:49 +08:00
alick-liming 1a71de851a
rdb新增用户添加时间 (#397)
* rdb资源增加volume

* rdb用户增加创建时间

* rdb用户添加时间

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-13 13:39:28 +08:00
yubo b2baef0643
Auth with SSO (#387)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state

* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file

* add username to sms-code api

* disable captcha by default in rdb.yml
2020-11-10 13:23:37 +08:00
yubo 9bef8ddee3
login with sso,captcha,sms-code (#374)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state
2020-11-02 12:47:41 +08:00
yubo 1fdcbd848c
Dev (#361)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code
2020-10-27 17:51:39 +08:00
Ulric Qin 282aede691 upgrade 3.1.6 2020-10-25 20:20:10 +08:00
Ulric Qin 6987b3b4d4 add host fields 2020-10-25 19:33:34 +08:00
UlricQin 2d19a1e86a code refactor 2020-10-15 20:29:06 +08:00
UlricQin ceb86a2d5f bugfix: sql schema 2020-09-28 10:07:10 +08:00
710leo ed35ddc388 3.0.0 2020-09-26 16:53:10 +08:00
710leo 86b31575eb clean code 2020-09-26 16:28:27 +08:00
710leo 0d2860dd8e Plugin collect support stdin and env 2020-05-27 21:05:38 +08:00
710leo a6de4d35a9 Support operating plugin collection by web 2020-05-12 20:07:11 +08:00
Ulric Qin 29a0dbe193 use varchar(255) not varchar(256) 2020-03-16 18:11:03 +08:00
710leo 5f00489392 init project 2020-03-11 18:25:20 +08:00