ning
767482d358
refactor: optimize prom query
1 year ago
Yening Qin
da9ea67cee
feat: alert rule annotation support prom query template func ( #2314 )
Co-authored-by: Xu Bin <140785332+Reditiny@users.noreply.github.com>
1 year ago
Ulric Qin
0e5cda1cee
support proxy when call center
1 year ago
Ulric Qin
64dad19377
Merge branch 'main' of github.com:ccfos/nightingale
1 year ago
Ulric Qin
48f199f8f5
sender support ProxyFromEnvironment
1 year ago
Yening Qin
890c12f0d4
feat: alert rule query add unit ( #2299 )
Co-authored-by: Xu Bin <140785332+Reditiny@users.noreply.github.com>
1 year ago
ning
078a0c7b1c
refactor: prom query log
1 year ago
ning
95e6ea98f4
refactor: prom client query api add retry
1 year ago
ning
f89ef04e85
refactor: optimize code robustness
1 year ago
Yening Qin
f55cd9b32e
feat: config access log in web ( #2227 )
1 year ago
flashbo
65b1410b09
refactor: support output logs to one file ( #2209 )
1 year ago
Xu Bin
03f56f73b4
feat: ldap support multi basecn ( #2198 )
1 year ago
710leo
8fbe257090
docs: update i18n
1 year ago
Xu Bin
5311bf90d5
feat: trigger set support operation ( #2107 )
1 year ago
Xu Bin
19e6cfe7d2
feat: generic are supported in alert rule calculation formulas ( #2097 )
1 year ago
ning
17dbb3ec77
code refactor
1 year ago
ning
00822c8404
refactor: add ibex enable check
1 year ago
ning
20fa310ba9
refactor: sync team to duty
1 year ago
ning
0e3b08be9a
feat: ldap support defaultTeams
1 year ago
Yening Qin
1a22211a5d
feat: oidc support default team ( #1995 )
2 years ago
ning
108b729cae
Merge branch 'main' of github.com:ccfos/nightingale
2 years ago
ning
a385972fa9
refactor: add some i18n
2 years ago
yuweizzz
98a0a9d94c
feat: support sqlite ( #1978 )
* demo sqlite
2 years ago
赵尚
93159f07fd
refactor: change the task time limit from 1 day to 5 days. ( #1959 )
2 years ago
ning
48e3df2cb4
refactor: new ldap conn
2 years ago
Yening Qin
ac5d69dba4
feat: ldap support role mapping ( #1948 )
* feature: LDAP implements role mapping capabilities (#1932 )
* feature: Implement the team mapping function (#1934 )
* refactor: ldap login add timeout
---------
Co-authored-by: Ciusyan <101268302+Yziyan@users.noreply.github.com>
Co-authored-by: ciusyan <yangzhiyan_i@didiglobal.com>
2 years ago
Yening Qin
3f476d770f
feat: add builtin metrics ( #1944 )
2 years ago
Ulric Qin
8742526c7f
check configDir exists
2 years ago
ning
9cf687b73d
fix: ldap user login info sync
2 years ago
Yening Qin
22b7d20455
refactor: sync user info to duty ( #1903 )
2 years ago
ning
05b714de38
fix: cas user login
2 years ago
Yening Qin
d4f0483238
feat: ldap support sycn user and oidc suport logout ( #1893 )
* ldap user sync (#1858 )
---------
Co-authored-by: Deke Wang <94156972+wdkcc@users.noreply.github.com>
2 years ago
ning
69ad6344f5
refactor: add ldap login log
2 years ago
ning
e78e212f83
replace parser pkg
2 years ago
Ulric Qin
7d8fb7aab7
use fasttime instead of time.Now.Unix
2 years ago
Yening Qin
6c53981883
refactor: optimize sync user to duty ( #1850 )
* fix: usergroup del
* refactor user to duty
* code refactor
2 years ago
ning
30c697a3df
refactor: flashtudy sycn team
2 years ago
ning
1d50d05329
fix: sync user to flashtudy
2 years ago
Deke Wang
e52a76921f
feat: sync user and user_group to flashduty ( #1842 )
* fix build event
* fix: append labels
* Add the function of batch subscription alert rules (#1825 )
* add: docker-compose files for logs processing
* update: set restart:always
* fix: compose-host-network-metric-log
* update: regularize
* add: batch subscription
* add: sql columns for rule_ids and rule_names
* add: add migrate of AlertSubscribe
* update: Remove redundant codes
* fix: The question of 1821
* fix: Optimized for getting rule_ids and rule_names
* fix: error handle
* fix: add rule_ids for update api
* fix: Clear the rule_id to zero when updating
* refactor: Compatible with old rule_id
* refactor: rename
* fix: set rule_id=0 when updating subscription rules
---------
Co-authored-by: wdk <wdk_cc@163.com>
* feat: sync user and team to flashduty
* fix: sync to flashduty
* fix: failed to update team change to flashduty
* fix: sync default user when create team
* chore: delete the generated binary file
* refactor: user_group refact
* fix: func AddUsers(fdConf *cconf.FlashDuty, appKey string, users []User) error {
* fix: remove sync for user in router
* fix: user_grroup no change in n9e when put user_group
* chore: set default api_url=https://api.flashcat.cloud
* chore: refactor user_group
* chore: refact codes
* chore: set api=https://jira.flashcat.cloud/api for test
* chore: set api=https://api.flashcat.cloud
* chore: adjust the import order
* chore: remove excess code
* chore: refact codes
* chore: remove excess codes
* chore: adjust import order
* chore: adjust import order
* chore: adjust import order
* chore: refact code
* chore: optimized codes
* code refactor
* chore: remove excess code
---------
Co-authored-by: ning <710leo@gmail.com>
Co-authored-by: wdk <wdk_cc@163.com>
2 years ago
Yening Qin
a8c0b3bfd5
refactor: optimize oidc get user info ( #1811 )
* update oidc
2 years ago
Yening Qin
b6cf382b86
feat: optimize tplx ( #1789 )
* optimize-tplx
2 years ago
Yening Qin
fdac82b8dc
refactor: add more self metrics ( #1788 )
* add stats metrics
2 years ago
ning
de35b61b52
refactor: aop log
2 years ago
ning
0f2257b8bb
Merge branch 'main' of github.com:ccfos/nightingale
2 years ago
ning
8bd99f13c1
docs: change i18n
2 years ago
shardingHe
f8deb89592
feat: add gorm logger ( #1768 )
* add gorm logger
* add gorm logger implement, slow log save to warning-level file
* optimize gorm logger
* optimize code
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
2 years ago
Yening Qin
329249ea99
refactor: ops i18n ( #1778 )
* ops i18n
* update gomod
* code refactor
2 years ago
Yening Qin
60a2e0c963
feat: writer support mult addrs ( #1775 )
* support mult write
2 years ago
Yening Qin
d52848ab1b
feat: http support print body log ( #1757 )
* add log
2 years ago
shardingHe
bfa85cd8f1
fix: add func for tplx, avoid escape issues caused by special characters ( #1755 )
* add text/template func, avoid escape issues caused by special characters
* rename the function of template
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
2 years ago