guide-monitoring

Inspect and export usage stats, request logs, and runtime system logs for proxies.

4|Updated May 9, 2026
One-click install
npx skills add https://github.com/liaoxinjie666/protocol-proxy --skill guide-monitoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: guide-monitoring
Source: https://github.com/liaoxinjie666/protocol-proxy/tree/main/skills/system/guide-monitoring
Command: npx skills add https://github.com/liaoxinjie666/protocol-proxy --skill guide-monitoring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps you quickly locate where to view API usage statistics, request logs, and system logs so you can diagnose throttling, failures, and performance issues without guesswork.

Core Features & Use Cases

  • Usage statistics: Track total/input/output tokens, request counts, and model-level breakdown by day/month/year with proxy and date filters, including CSV export and notes about estimated values.
  • Request logs: Filter by proxy, status (success/fail/429), and model, then inspect per-request details like time, protocol, model, tokens, latency, supplier, and partially masked API key, with real-time updates via WebSocket plus export/clear actions.
  • System logs: Review runtime events and errors by configuring displayed line count and refresh behavior, and interpret log levels (INFO/WARN/ERROR) to decide next troubleshooting steps.

Quick Start

Ask the assistant: "Show me how to check my token usage statistics, find the request logs for a failed call, and locate related system log errors with the right log level explanations."

Frequently Asked Questions about guide-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check API usage statistics and token consumption for my proxies?

To check API usage statistics, you can track total, input, and output tokens alongside request counts. The system provides model-level breakdowns filtered by proxy and date, supporting day, month, or year views with CSV export.

How can I find request logs for a failed API call or a 429 rate limiting error?

You can find failed API call logs by filtering request logs using status filters like fail or 429. The logs display per-request details including time, protocol, model, latency, and supplier, with real-time updates via WebSocket.

What do INFO, WARN, and ERROR log levels mean when diagnosing system runtime events?

INFO, WARN, and ERROR log levels indicate the severity of runtime events to help decide troubleshooting steps. INFO tracks normal operation, WARN highlights potential issues, and ERROR signals failures requiring immediate attention.

Can I export my request logs and API usage data to a CSV file?

Yes, you can export both API usage statistics and request logs to a CSV file. This allows you to save token consumption records and detailed request data locally for further offline analysis.

Does the request log viewer support real-time WebSocket updates for live monitoring?

Yes, the request log viewer supports real-time WebSocket updates for live monitoring. This delivers instant visibility into proxy behavior, request latency, and status changes without manual page refreshes.