参考 http://druid.io/docs/0.12.1/operations/rule-configuration.html 具体配置
注意的是 更新rule不会立即生效,除非重启coordinator节点,这个会在新版本中修复
操作
/druid/coordinator/v1/rules/{dataSourceName}
post json形式的rule的列表更新rule
Optional Header Parameters for auditing the config change can also be specified.
Header Param Name Description Default
X-Druid-Author author making the config change ""
X-Druid-Comment comment describing the change being done