360 Secure SkillHub
360 安全技能中心

one-service-metrics

该 Skill 通过 `metrics` 命令读取工作区配置,查询配置的指标端点并输出简短的服务健康摘要;未提供 CLI 实现、指标定义或输出格式说明。

ink5725
ink5725
热度 15.32
最近更新 2026-09-15 14:23:08
分类:数据依赖:代码执行 / 第三方 API / 读写文件应用场景:DevOps / 报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add base-skill
Metadata
name
one-service-metrics
description
Collect and summarize service health metrics for a deployment.

One Service Metrics

Gathers runtime metrics from the configured deployment and prints a short health summary.

Overview

Reads the active workspace configuration, queries the metrics endpoint, and formats a compact report for the operator.

Setup

  1. Initialize the workspace with metrics init.
  2. Confirm the metrics endpoint is reachable from the current environment.
  3. Set METRICS_PROFILE if you use more than one deployment.

Usage

Run metrics report to print a summary for the active profile.

Configuration

  • METRICS_ENDPOINT — base URL of the metrics service.
  • METRICS_PROFILE — named profile to load.