Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

想了解下数据源的状态字段目前是起什么作用 #2250

Open
eryajf opened this issue Oct 29, 2024 · 2 comments
Open

想了解下数据源的状态字段目前是起什么作用 #2250

eryajf opened this issue Oct 29, 2024 · 2 comments

Comments

@eryajf
Copy link

eryajf commented Oct 29, 2024

Question and Steps to reproduce

我发现我在数据源当中禁用了对应的数据源,但是即时查询当中仍然能够正常使用。

如果这个字段标识了这个数据源的状态,那么是否禁用之后,就不应该再能使用了呢?

我看了下代码,如果印证我的想法,那么可能需要在这里调整:

list, err := models.GetDatasourcesGetsBy(rt.Ctx, "", "", "", "")

Relevant logs and configurations

如上

Version

夜莺版本:v7.6.0
系统:centos-v7
CPU:amd

@eryajf eryajf changed the title 想了解下数据源的状态字段目前是启什么作用 想了解下数据源的状态字段目前是起什么作用 Oct 29, 2024
@UlricQin
Copy link
Member

数据源禁用之后,应该是可以看图,不能告警了

@eryajf
Copy link
Author

eryajf commented Oct 29, 2024

那看起来应该有两个小事项可做:

  • 至少应该在文档,或者前端文案上做下说明,从而让使用者清楚自己禁用了数据源之后,有哪些影响。
  • 我测试了下,创建告警规则的时候,选择数据源列表,仍旧能看到被禁用的数据源,估计是也还会正常告警。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants