1111 #1

Open
innov wants to merge 243 commits from main into master
Owner

111

111
innov added 243 commits 2022-12-01 11:36:58 +08:00
f6591e80ea
Feat:提供基于Postgres的数据库初始化脚本 (#967)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
a4ef5fca46
pg数据库初始化脚本字段同步 (#969)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
c62b9edf87
fix:pg数据库脚本同步 (#974)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
0581e02cf3
Feat:add common template functions (#976)
* Feat:增加常用模板函数

* Feat:修改增加模板函数的实现方式

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
60c842c704
fix: NotifyMaxNumber for postgres db (#978)
* fix: NotifyMaxNumber for postgres db

* fix: sql for pg

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
5ec14c588b
Feat:update docker-compose from telegraf to categraf (#992)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2e8ea354d7
refactor: now categraf v0.1.6 is fine (#993)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
Co-authored-by: ulricqin <ulric.qin@gmail.com>
90dacd0085
fix typo (#1004)
* 修改拼写错误

修改拼写错误
exsits -> exists

* Update router_login.go
64a671ae13
update kafka alerts and dashboard (#1012)
* update kafka alerts and dashboard

* update kafka dashboard

Co-authored-by: yushuangyu <yushuangyu@flashcat.cloud>
a9288e376d
feat: persist notify cur number (#1013)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
1304a4630b
Add recording rule (#1015)
* add prometheus recording rules

* fix recording rule sql

* add record rule note

* fix copy error

* add some regx

Co-authored-by: 尚承志 <chengzhi.shang@longbridge.sg>
6b1d283cda
Merge pull request #1019 from ccfos/community-guide
add community guide and governance docs (draft)
32e6993eea
fix: fix event api for service (#1026)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
fe82886f09
report sample queue size (#1027)
* report sample queue size

* report sample channel size
18a9288b75
fix mute bug (#1025)
Co-authored-by: tripitakav <chengzhi.shang@longbridge.sg>
01e611a9f9
auto release with github action (#1032)
* auto release with github action

* build arm64 artifacts
f4368302ea
fix: pg sql for recording rule (#1034)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
43343182e4
[feature] add proxy auth support (#1035)
Co-authored-by: ziv <xiazoheng@tuya.com>
04d64d09d7
fix: fix version info (#1036)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
7359a69223
fix: fix plugin error (#1038)
* fix: fix plugin error

* fix-plugin

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
5bc8f0b9b1
Feature mute enhancement (#1041)
* [feature(#1029)] alert mute enhancement

* handle error of proxy user Add
9c69362650
[feat(#984)] multiple cluster support (#1045)
* [feat(#984)] multiple cluster support

* add stats ClusterAll handle
538880b0e0
[feature] support multiple cluster config with mute&subscribe (#1046)
* [feature] support multiple cluster config with mute&subscribe

* [feature] support multiple cluster config with mute&subscribe
05651ad744
Query batch feature (#1052)
* batch query prom for single panel

* make code better:

1.extract server/api.go

2.make webapi reading prom with reusing server's API,not a new prom client

* clear code

* clear code

* format code
clear code

* move reader.go,reuse webapi/prom/prom.go clusterTypes clients cache

* clear code,extract common method
b6436b09ce
update community governance (#1056)
* update readme to add badge
* update community gov
04cb501ab4
[fix] fix the docker problem of apple chip (#1060)
Co-authored-by: huanwei <huanwei@huanweideMacBook-Pro.local>
896f85efdf
refactor: add error log (#1076)
* refactor: add error log

* refactor: update error log

* refactor: fix error log

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
c78c8d07f2
refactor: error info return (#1077)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
1ed8f38833
feat: add first trigger time (#1086)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
04a9161f75
feat: support rule convert from prometheus/vmalert (#1087)
* feat: support rule convert from prometheus/vmalert

* Update rule_converter.py

* Update rule_converter.py

Co-authored-by: ulricqin <ulricqin@qq.com>
58e777eb00
support graph url (#1088)
Co-authored-by: ziv <xiaozheng@tuya.com>
ea46401db2
remove record rule check (#1090)
Co-authored-by: ziv <xiaozheng@tuya.com>
bd0480216c
feat: support i18n request headerkey (#1094)
Co-authored-by: ziv <xiaozheng@tuya.com>
fd3e51cbb1
fix i18n header bug (#1095)
Co-authored-by: ziv <xiaozheng@tuya.com>
fd93fd7182
feat: support i18n metric desc (#1097)
* support i18n metric desc

* code refactor

* code refactor

Co-authored-by: ziv <xiaozheng@tuya.com>
c1e92b56b9
feat: add write_relabel action before n9e remote writing to multi tsdb (#1098)
* add write relabel config

* change parse relabel Regex field time when config loaded
b1b2c7d6b0
feat: support ident disk usage metric (#1100)
* feat: support ident disk usage metric

* code refactor

Co-authored-by: ziv <xiaozheng@tuya.com>
c6a1761a7b
support tpls reload (#1104)
Co-authored-by: ziv <xiaozheng@tuya.com>
48d24c79d6
use slim base image (#1105)
Co-authored-by: ziv <xiaozheng@tuya.com>
635369e3fd
Update docker-compose.yaml (#1107)
* Update docker-compose.yaml

* Update docker-compose.yaml

Co-authored-by: ulricqin <ulricqin@qq.com>
3b5c8d8357
optimize error report (#1109)
* optimize error report

* code refactor

* add /-/reload as reload route like prometheus

Co-authored-by: ziv <xiaozheng@tuya.com>
37711ea6b2
add ping监控指标中文说明 (#1110)
add ping监控指标中文说明
be89fde030
add aws cloudwatch rds metrics descriptions
Co-authored-by: e <hackermofrom@gmail.com>
b92e4abf86
feat: support handle event api (#1113)
* support handle event service api
b4ddd03691
read prom url from database (#1119)
* add model alerting_engine

* heartbeat using db

* reader.Client from database

* fix sql
fe68cebbf9
docs: sync pg init sql (#1122)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
80ee54898a
feat: alert rule support cate (#1123)
* alert rule support cate

* his_event add cate

* change RecoverEvent time

* add get event api

* event query by cate
e7d2c45f9d
Manage bindings of n9e-server and datasource in web (#1127)
* manage bindings of n9e-server and datasource

* fix sync memsto
640b6e6825
fix: add board check when del group (#1124)
* fix: add board check when del group

* Update busi_group.go

Co-authored-by: Ziv <xiaozheng@tuya.com>
Co-authored-by: ulricqin <ulricqin@qq.com>
89f66dd5d1
improve commuinity guide (#1133)
* improve community governance

* improve guide

* update contributors guide
09f37b8076
refactor: change alert mute clean (#1140)
refactor: change alert mute clean
bdc1c1c60b
feat: compatible with redis4 to 7 (#1141)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
e4e48cfda0
docs: pg init sql (#1142)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
a7bad003f5
feat: alert-mute support edit and disable (#1144)
* batch query prom for single panel

* make code better:

1.extract server/api.go

2.make webapi reading prom with reusing server's API,not a new prom client

* clear code

* clear code

* format code
clear code

* move reader.go,reuse webapi/prom/prom.go clusterTypes clients cache

* clear code,extract common method

* feat: add edit and disabled for alert mute

* fix cr problem

* disabled add default 0
23eb766c14
feat: alert_subscribe add name and disabled (#1145)
* feat: alert_subscribe add name and disabled

* feat: alert_subscribe add name and disabled

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
7209da192f
docs: fix pg init sql (#1154)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
95727e9c00
feat: support for sharing dashboards (#1150)
* feat: support for sharing dashboards

* merge dashboard get interface

* update read-only permission verification
562f98ddaf
bug: user update by multifields, param need '...' (#1170)
bug: 多字段更新用户时,参数作为slice接受,需要拆包之后再往下传入。该bug导致user.Update方法只能成功更新第一个参数对应的字段
b893483d26
prom client support add header (#1203)
* prom client support add header
62867ddbf2
feat: conf file password supports ciphertext (#1207)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
fbff60eefb
docs: pg init sql (#1210)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
15892d6e57
规则名称支持变量 (#1217)
* 规则名称支持变量

* parse rule_name
106a8e490a
alert mute cannot refresh the bug (#1242)
bugfix:mute cannot be refreshed after being modified
352415662a
feat:CAS and OAuth2 login (#1236)
* Feat(cas login):Add CAS login

Signed-off-by: root <foursevenlove@gmail.com>

* Fix(CAS login):1.print logs of CAS Authentication Response's Attributes 2.modify fileds of ssoClient and CAS config.

Signed-off-by: root <foursevenlove@gmail.com>

* Fix(CAS login):Fields modifing

Signed-off-by: root <foursevenlove@gmail.com>

* Feat(OAuth Login):1.Add OAuth2 login 2.Add display name

Signed-off-by: root <foursevenlove@gmail.com>

* Fix(webapi.conf):Add example

Signed-off-by: root <foursevenlove@gmail.com>

* fix(webapi.conf):Modify default value of username in OAuth2

Signed-off-by: root <foursevenlove@gmail.com>

* Fix:Error handling

Signed-off-by: root <foursevenlove@gmail.com>

Signed-off-by: root <foursevenlove@gmail.com>
8a145d5ba2
feat: 报警脚本超时时间改为可配置 (#1253)
* Update docker-compose.yaml

* Update docker-compose.yaml

* feat: 报警脚本超时时间改为可配置

* feat: docker 镜像Alerting 增加 超时时间

Co-authored-by: ulricqin <ulricqin@qq.com>
Co-authored-by: JeffreyBool <zhanggaoyuan@mediatrack.cn>
aa26ddfb48
Merge pull request #1263 from ccfos/router_easyjson
regenerate easyjson file for router_opentsdb
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b main master
git pull origin main

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff main
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: innov/nightingale1#1
No description provided.