Skip to content

Commit

Permalink
feat: BMW: 跨ES查询支持,同步BMW&Metadata模型字段结构,支持ES结果表详情路由刷新 --story=1212602…
Browse files Browse the repository at this point in the history
…82 (#671)
  • Loading branch information
EASYGOING45 authored Dec 18, 2024
1 parent 368a0f4 commit de933ca
Show file tree
Hide file tree
Showing 8 changed files with 1,126 additions and 6 deletions.
1 change: 1 addition & 0 deletions pkg/bk-monitor-worker/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ require (
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.12 // indirect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type ESStorage struct {
StorageClusterID uint `json:"storage_cluster_id" gorm:"storage_cluster_id"`
SourceType string `json:"source_type" gorm:"column:source_type"`
IndexSet string `json:"index_set" gorm:"column:index_set"`
NeedCreateIndex bool `json:"need_create_index" gorm:"column:need_create_index;default:true"`
esClient *elasticsearch.Elasticsearch `gorm:"-"`
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit de933ca

Please sign in to comment.