Parses Blocky's /metrics (Prometheus text) endpoint to show: - Blocking status (Enabled/Disabled) - Blocked domains count (denylist entries) - Total queries served - Cache hit rate % No REST stats endpoint exists in Blocky, so the proxy handler fetches and parses the Prometheus text format directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
203 B
JSON
10 lines
203 B
JSON
{
|
|
"blocky": {
|
|
"status": "Status",
|
|
"enabled": "Enabled",
|
|
"disabled": "Disabled",
|
|
"domains": "Blocked Domains",
|
|
"queries": "Total Queries",
|
|
"cacheHitRate": "Cache Hit Rate"
|
|
}
|
|
}
|