Commit 6bbc17f
committed
Solr per-container monitoring (v0.11.0)
New solr_services: block + Solr-specific probe. Each container
is hit at /solr/<core>/admin/system (JVM memory, system load,
host memory, FDs, Solr version) and
/solr/<core>/admin/mbeans?stats=true&key=/select&key=/update
(cumulative request counts and mean rates for the query and
update handlers).
Same Rancher v1 API enumeration we use for caches / apps /
Neo4j. Per-container rows in a new solr_history table (23
metric columns). Falls back to the LB-fronted probe when
RANCHER_API_KEY / RANCHER_API_SECRET aren't set.
Two services seeded: SOLR (solr.virtualflybrain.org, 1s103)
and SOLR -- ServerONLY (1s263). Both scale 1 today; the
per-container path is ready when they're scaled out.
Page card shows cluster summary plus a per-container breakdown
and four sparklines: JVM memory %, delta query requests per
check, delta update requests per check, and system load.
New /api/solr endpoint follows the same shape as /api/neo4j.
Verified end-to-end against the live Solr LB: 935,249 queries
served, mean 9.48/sec, JVM 33%, system load 2.14, Solr 8.11.4.1 parent 59fd7e9 commit 6bbc17f
4 files changed
Lines changed: 656 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
5 | 22 | | |
6 | 23 | | |
7 | 24 | | |
| |||
233 | 250 | | |
234 | 251 | | |
235 | 252 | | |
| 253 | + | |
236 | 254 | | |
237 | 255 | | |
238 | 256 | | |
| |||
0 commit comments