Compare commits

..

4 Commits

Author SHA1 Message Date
Hardy 92008a2139
fix: sync reflactor with framework (#170)
Co-authored-by: hardy <luohf@infinilabs.com>
2025-03-03 09:39:37 +08:00
Hardy 51bda50108
chore: update release notes template for next publish (#169)
Co-authored-by: github-actions <github-actions@github.com>
2025-02-28 13:58:13 +08:00
Hardy 76352dbc2d
chore: update release notes for publish 1.29.0-1992 (#168)
Co-authored-by: github-actions <github-actions@github.com>
2025-02-28 09:59:19 +08:00
silenceqi 9e643ebfbc
style: update styling for request copying (#167) 2025-02-26 10:49:38 +08:00
5 changed files with 28 additions and 18 deletions

View File

@ -1,22 +1,22 @@
path.data: data
path.logs: log
allow_multi_instance: false
configs.auto_reload: true
allow_multi_instance: true
configs.auto_reload: false
entry:
- name: agent_es_entry
- name: my_es_entry
enabled: true
router: agent_metrics_router
router: my_router
max_concurrency: 200000
network:
binding: 0.0.0.0:8765
tls: #for mTLS connection with config servers
enabled: true
binding: 0.0.0.0:8081
# tls: #for mTLS connection with config servers
# enabled: true
# ca_file: /xxx/ca.crt
# cert_file: /xxx/server.crt
# key_file: /xxx/server.key
skip_insecure_verify: false
# skip_insecure_verify: false
flow:
- name: deny_flow
@ -28,7 +28,7 @@ flow:
filter:
- basic_auth:
valid_users:
$[[SETUP_AGENT_USERNAME]]: $[[SETUP_AGENT_PASSWORD]]
ingest: n
- rewrite_to_bulk:
type_removed: false
- bulk_request_mutate:
@ -50,7 +50,7 @@ flow:
fix_null_id: true
router:
- name: agent_metrics_router
- name: my_router
default_flow: deny_flow
rules:
- method:
@ -65,8 +65,8 @@ elasticsearch:
- name: prod
enabled: true
basic_auth:
username: $[[SETUP_AGENT_USERNAME]]
password: $[[SETUP_AGENT_PASSWORD]]
username: ingest
password: password
endpoints: $[[SETUP_ENDPOINTS]]
pipeline:

View File

@ -7,7 +7,13 @@ title: "Release Notes"
Information about release notes of INFINI Console is provided here.
## Latest (In development)
## Latest (In development)
### Breaking changes
### Features
### Bug fix
### Improvements
## 1.29.0 (2025-02-27)
### Breaking changes
@ -23,7 +29,6 @@ Information about release notes of INFINI Console is provided here.
- Fixed Devtools `_sql` support for elasticsearch 6.x (#158)
- Fixed audit log default sorting across pagination (#161)
- Fixed mapping type conflict error (#164)
- Fixed `Gateway` template config for mTLS#166
### Improvements
- Update agent config with cluster name (#148)

View File

@ -7,7 +7,13 @@ title: "版本历史"
这里是 INFINI Console 历史版本发布的相关说明。
## Latest (In development)
## Latest (In development)
### Breaking changes
### Features
### Bug fix
### Improvements
## 1.29.0 (2025-02-27)
### Breaking changes
@ -23,7 +29,6 @@ title: "版本历史"
- 修复开发工具 `_sql` 查询支撑 Elasticsearch 6.x 版本 (#158)
- 修复审计日志默认排序翻页之后丢失的问题 (#161)
- 修复 `Mapping` 冲突问题 (#161)
- 修复配置文件模板中 `Gateway` mTLS 配置(#166
### Improvements
- 优化下发给 Agent 的配置,增加集群名称 (#148)

2
ui.go
View File

@ -63,7 +63,7 @@ func (h UI) InitUI() {
// w.Write(buf)
//})
api.HandleUIFunc("/api/", func(w http.ResponseWriter, req *http.Request) {
api.HandleAPIFunc("/api/", func(w http.ResponseWriter, req *http.Request) {
log.Warn("api: ", req.URL, " not implemented")
request, err := h.GetRawBody(req)
if err != nil {

View File

@ -25,7 +25,7 @@
}
}
.vizChartContainer{
.vizChartContainer, .metric-item{
position: relative;
.copyReq {
cursor: pointer;