Skip to content

Commit

Permalink
remove tsdb from option
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderflow committed Dec 27, 2018
1 parent 8c7594c commit a603734
Showing 1 changed file with 67 additions and 66 deletions.
133 changes: 67 additions & 66 deletions sender/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,62 +359,63 @@ var ModeKeyOptions = map[string][]Option{
AdvanceDepend: KeyPandoraEnableLogDB,
ToolTip: `指定字段的分词方式,逗号分隔多个,如 "f1 keyword, f2 full_text"。仅在新建时生效,更改时不生效,请在日志仓库更改。`,
},
{
KeyName: KeyPandoraEnableTSDB,
Element: Radio,
ChooseOnly: true,
ChooseOptions: []interface{}{"false", "true"},
Default: "false",
DefaultNoUse: false,
Description: "自动创建并导出到时序数据库(pandora_enable_tsdb)",
AdvanceDepend: KeyPandoraRegion,
AdvanceDependValue: NBRegion,
},
{
KeyName: KeyPandoraTSDBName,
ChooseOnly: false,
Default: "",
DefaultNoUse: false,
Description: "指定时序数据库仓库名称(pandora_tsdb_name)",
AdvanceDepend: KeyPandoraEnableTSDB,
ToolTip: "若不指定使用实时仓库(pandora_repo_name)名称",
},
{
KeyName: KeyPandoraTSDBSeriesName,
ChooseOnly: false,
Default: "",
DefaultNoUse: false,
Description: "指定时序数据库序列名称(pandora_tsdb_series_name)",
AdvanceDepend: KeyPandoraEnableTSDB,
ToolTip: "若不指定使用仓库(pandora_tsdb_name)名称",
},
{
KeyName: KeyPandoraTSDBSeriesTags,
ChooseOnly: false,
Default: "",
DefaultNoUse: false,
Description: "指定时序数据库标签(pandora_tsdb_series_tags)",
AdvanceDepend: KeyPandoraEnableTSDB,
},
{
KeyName: KeyPandoraTSDBHost,
ChooseOnly: false,
Default: config.DefaultTSDBEndpoint,
DefaultNoUse: false,
Description: "时序数据库域名[私有部署才修改](pandora_tsdb_host)",
Advance: true,
AdvanceDepend: KeyPandoraEnableTSDB,
ToolTip: "时序数据库域名,私有部署请对应修改",
},
{
KeyName: KeyPandoraTSDBTimeStamp,
ChooseOnly: false,
Default: "",
DefaultNoUse: false,
Description: "指定时序数据库时间戳(pandora_tsdb_timestamp)",
Advance: true,
AdvanceDepend: KeyPandoraEnableTSDB,
},
//暂时下线时序数据库
//{
// KeyName: KeyPandoraEnableTSDB,
// Element: Radio,
// ChooseOnly: true,
// ChooseOptions: []interface{}{"false", "true"},
// Default: "false",
// DefaultNoUse: false,
// Description: "自动创建并导出到时序数据库(pandora_enable_tsdb)",
// AdvanceDepend: KeyPandoraRegion,
// AdvanceDependValue: NBRegion,
//},
//{
// KeyName: KeyPandoraTSDBName,
// ChooseOnly: false,
// Default: "",
// DefaultNoUse: false,
// Description: "指定时序数据库仓库名称(pandora_tsdb_name)",
// AdvanceDepend: KeyPandoraEnableTSDB,
// ToolTip: "若不指定使用实时仓库(pandora_repo_name)名称",
//},
//{
// KeyName: KeyPandoraTSDBSeriesName,
// ChooseOnly: false,
// Default: "",
// DefaultNoUse: false,
// Description: "指定时序数据库序列名称(pandora_tsdb_series_name)",
// AdvanceDepend: KeyPandoraEnableTSDB,
// ToolTip: "若不指定使用仓库(pandora_tsdb_name)名称",
//},
//{
// KeyName: KeyPandoraTSDBSeriesTags,
// ChooseOnly: false,
// Default: "",
// DefaultNoUse: false,
// Description: "指定时序数据库标签(pandora_tsdb_series_tags)",
// AdvanceDepend: KeyPandoraEnableTSDB,
//},
//{
// KeyName: KeyPandoraTSDBHost,
// ChooseOnly: false,
// Default: config.DefaultTSDBEndpoint,
// DefaultNoUse: false,
// Description: "时序数据库域名[私有部署才修改](pandora_tsdb_host)",
// Advance: true,
// AdvanceDepend: KeyPandoraEnableTSDB,
// ToolTip: "时序数据库域名,私有部署请对应修改",
//},
//{
// KeyName: KeyPandoraTSDBTimeStamp,
// ChooseOnly: false,
// Default: "",
// DefaultNoUse: false,
// Description: "指定时序数据库时间戳(pandora_tsdb_timestamp)",
// Advance: true,
// AdvanceDepend: KeyPandoraEnableTSDB,
//},
{
KeyName: KeyPandoraEnableKodo,
Element: Radio,
Expand Down Expand Up @@ -582,16 +583,16 @@ var ModeKeyOptions = map[string][]Option{
OptionKeyFtLongDataDiscard,
OptionMaxDiskUsedBytes,
OptionMaxSizePerSize,
{
KeyName: KeyForceMicrosecond,
Element: Radio,
ChooseOnly: true,
ChooseOptions: []interface{}{"false", "true"},
Default: "false",
DefaultNoUse: false,
Description: "扰动时间字段增加精度(force_microsecond)",
Advance: true,
},
//{
// KeyName: KeyForceMicrosecond,
// Element: Radio,
// ChooseOnly: true,
// ChooseOptions: []interface{}{"false", "true"},
// Default: "false",
// DefaultNoUse: false,
// Description: "扰动时间字段增加精度(force_microsecond)",
// Advance: true,
//},
{
KeyName: KeyForceDataConvert,
Element: Radio,
Expand Down

0 comments on commit a603734

Please sign in to comment.