Workstation-config » 历史记录 » 版本 2
赵鹏军, 2020-08-19 22:36
1 | 1 | 赵鹏军 | h1. Workstation-config |
---|---|---|---|
2 | |||
3 | 2 | 赵鹏军 | * 配置信息、告警等redis缓存操作接口,以下接口的ip和端口是部署config模块对应的ip和端口,可在浏览器执行,可通过postman执行,可在linux服务器执行 |
4 | 1 | 赵鹏军 | |
5 | <pre><code class="shell"> |
||
6 | #全量刷新redis |
||
7 | curl http://95.12.89.34:8414/global/refresh |
||
8 | </code></pre> |
||
9 | |||
10 | <pre><code class="shell"> |
||
11 | # 删除redis所有key(慎用) |
||
12 | curl http://95.12.89.34:8414/delete/key?key=* |
||
13 | </code></pre> |
||
14 | |||
15 | <pre><code class="shell"> |
||
16 | # 删除缓存中所有指标 |
||
17 | curl http://95.12.89.34:8414/delete/kpi |
||
18 | </code></pre> |
||
19 | |||
20 | <pre><code class="shell"> |
||
21 | # 删除缓存中所有资源 |
||
22 | curl http://95.12.89.34:8414/delete/allResource |
||
23 | </code></pre> |
||
24 | |||
25 | <pre><code class="shell"> |
||
26 | # 删除缓存中指定资源 |
||
27 | curl http://95.12.89.34:8414/delete/resource?resId=249694A485FC5D3289C38986B4F8E888 |
||
28 | </code></pre> |
||
29 | |||
30 | <pre><code class="shell"> |
||
31 | # 删除快照缓存 |
||
32 | curl http://95.12.89.34:8414/delete/lastcoll |
||
33 | </code></pre> |
||
34 | |||
35 | <pre><code class="shell"> |
||
36 | # 删除告警缓存 |
||
37 | curl http://95.12.89.34:8414/delete/currentAlarm |
||
38 | </code></pre> |
||
39 | |||
40 | |||
41 | * 其他 |