Comments (4)
使用模板继承的方式,子模板里面设置自定义阈值,你说的这种方式就是原生支持的
from portal.
@hackstoic 嗯,只能是子模板继承覆盖父模板,子模板设置一个不会触发的阈值,来覆盖掉父模板对应的项。
from portal.
@laiwei 谢谢。如果strategy增加一个state字段,当state为false的时候, 就可以把strategy disable掉。使用这种方式会不会更好, 个人觉得这样的话比起想办法去设置一个不会触发的阈值更简洁明了,没有歧义。
from portal.
@laiwei 既然子模板可以改父模板的值, 是否也应该直接提供删除父模板的值的机制? 您觉得在strategy增加一个state字段的方式是否有不合理的地方?
from portal.
Related Issues (18)
- 可以创建一个名称为空的HostGroup HOT 1
- user可以edit/delete 不属于自己(组)的template & expressions
- Portal 报错 Internal Server Error HOT 5
- 没有用户管理功能,只有用户组管理
- 是否可以支持直接在host上挂策略? HOT 1
- 是否支持客户端自动注册和批量添加主机到Hostgroup HOT 3
- portal使用中的疑问 HOT 1
- portal 运行两天后报Internal Server Error HOT 1
- portal callback能否修改为metric级别,报警屏蔽能否支持metric级别屏蔽
- Portal报错。 HOT 1
- 非超级管理员创建的报警组,报警时经常不生效 HOT 1
- Portal 报错 Internal Server Error
- [BUG] API "/host/remove" 处理逻辑错误
- child template是继承parent template的告警人配置还是override
- 自定义的Endpoint,无法添加到某个主机组 HOT 10
- Portal 报错 Internal Server Error
- 单点登录,登出后cookie继续生效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from portal.