Commit eb56666
committed
fix(monit-query,skill): "datasource" names two unrelated surfaces — say which
Two leftovers from splitting the monit card.
The `monit-query` group description still advertised `diagnose/rows support
prometheus|victorialogs|loki|mysql`. `diagnose` never accepted mysql — it pairs
`log_patterns` with loki/victorialogs and `metric_trends` with prometheus — and
`rows` has been deprecated and hidden since `data` replaced it, so the group
blurb was pointing at a command the help output no longer lists.
The bigger one: this product uses "datasource" for two unrelated things.
`POST /monit/datasource/*` is the Flashmonit config surface — the systems
Flashmonit queries. `POST /datasource/*` is On-call, holding IM-integration
plumbing, and On-call's *integrations* — what actually receives alerts into a
channel — are a third surface again. Giving datasources their own card made this
worse, because the router now hands the bare word "数据源 / datasource" straight
to Flashmonit, and an On-call integration question matches that row.
So the card says which one it is, in the first paragraph a reader sees, and
names where the other two live. The router row is qualified the same way, and
the channel row picks up 告警来源 so the On-call sense has a keyword of its own.
The index card carries a one-line version for readers who land there first.1 parent 14ddcdf commit eb56666
4 files changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments