-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Metadata: ES支持Object别名,更改为新表实现方案,无需声明配置字段,QueryDataLink接口修复tran…
…sfer集群ID为空问题 --story=121013310 (#4150)
- Loading branch information
1 parent
aee66b9
commit 12df6f2
Showing
9 changed files
with
383 additions
and
94 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
bkmonitor/metadata/migrations/0199_esfieldqueryaliasoption.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by Django 3.2.15 on 2024-12-02 06:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('metadata', '0198_esstorage_archive_index_days'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ESFieldQueryAliasOption', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('creator', models.CharField(max_length=64, verbose_name='创建者')), | ||
('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), | ||
('updater', models.CharField(max_length=64, verbose_name='更新者')), | ||
('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), | ||
('table_id', models.CharField(max_length=128, verbose_name='结果表名')), | ||
('field_path', models.CharField(max_length=256, verbose_name='原始字段路径')), | ||
('query_alias', models.CharField(max_length=256, verbose_name='查询别名')), | ||
('is_deleted', models.BooleanField(default=False, verbose_name='是否已删除')), | ||
], | ||
options={ | ||
'abstract': False, | ||
}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.