metrics

Query CPU, memory, network, and disk metrics for Railway services.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sidpalas/background-agent --skill metrics-sidpalas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics
Source: https://github.com/sidpalas/background-agent/tree/main/.opencode/skill/metrics
Command: npx skills add https://github.com/sidpalas/background-agent --skill metrics-sidpalas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps teams quickly understand and quantify resource usage for Railway services, enabling faster performance diagnosis and capacity planning.

Core Features & Use Cases

  • Metric collection: Retrieve CPU, memory, network, and disk usage for one or all services.
  • Performance debugging: Identify bottlenecks and confirm service health across deployments.
  • Use Case: When a service slows down, inspect resource utilization to determine whether to scale resources or optimize code.

Quick Start

Query CPU, memory, network, and disk metrics for Railway services and interpret the results.

Frequently Asked Questions about metrics

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

FAQPage Schema
How do I check CPU and memory usage for Railway services?

Check CPU and memory usage for Railway services by querying resource metrics with a built-in interface. Obtain measurements like CPU_USAGE and MEMORY_USAGE_GB using your environmentId and optional serviceId to diagnose performance.

What Railway metrics can I query to diagnose service performance?

Query Railway metrics including CPU_USAGE, MEMORY_USAGE_GB, network, and disk measurements to diagnose service performance. Apply these analytics across environments and deployments to identify bottlenecks and confirm service health.

Do I need a specific environment ID to retrieve Railway disk and network metrics?

Yes, you need an environmentId obtained from railway status to retrieve Railway disk and network metrics. You can optionally provide a serviceId to target resource usage queries for a specific service.

When should I monitor Railway resource utilization across deployments?

Monitor Railway resource utilization across deployments when a service slows down or requires capacity planning. Inspect CPU, memory, network, and disk analytics to determine whether to scale resources or optimize code.

What is the best way to identify resource bottlenecks on Railway?

The best way to identify resource bottlenecks on Railway is to query CPU, memory, network, and disk usage metrics. Analyzing these measurements across environments pinpoints performance issues and guides optimization decisions.