metrics

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

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/heinschulie/babylon --skill metrics-heinschulie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics
Source: https://github.com/heinschulie/babylon/tree/main/.agents/skills/metrics
Command: npx skills add https://github.com/heinschulie/babylon --skill metrics-heinschulie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps you quickly query and monitor resource usage metrics for Railway services, enabling insight into performance and health.

Core Features & Use Cases

  • Retrieve CPU, memory, network, and disk metrics for a given environment and service.
  • Support grouping and time-based queries to compare deployments and regions.
  • Use case: diagnose performance issues by analyzing resource consumption over a selected interval.

Quick Start

Query the current CPU and memory usage for a given environment and service.

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 a Railway service?

To check CPU and memory usage for a Railway service, query resource metrics using an environment ID and optional service ID. You retrieve CPU_USAGE and MEMORY_USAGE_GB measurements to monitor service health and diagnose performance issues.

What resource metrics can I monitor for Railway deployments?

You can monitor CPU_USAGE, MEMORY_USAGE_GB, NETWORK_RX_GB, NETWORK_TX_GB, and DISK_USAGE_GB metrics for Railway deployments. These measurements cover core resource consumption needed to diagnose service performance and health.

How do I get the environment ID needed to query Railway service metrics?

You obtain the environment ID needed to query Railway service metrics by running railway status --json. You can also optionally provide a service ID to narrow down the resource usage metrics to a specific service.

Can I group Railway resource metrics by time range or deployment?

Yes, you can group Railway resource metrics by time range or deployment using optional groupBy and time-range parameters. This allows you to compare resource consumption and diagnose performance issues across selected intervals.

Do I need jq to query Railway service resource metrics?

Yes, you need jq installed to query Railway service resource metrics. It is a required dependency used by the skill scripts to process and format the JSON metric data returned from your environment and services.