Skip to content
Back to skills

Nano Remove Metrics

ASecurity

Remove Nano's built-in OpenTelemetry metrics (App:Metrics) from a Nano API or Web application - removes the config and the Kubernetes ServiceMonitor. Use when the user asks to remove metrics, Prometheus, OpenTelemetry, or the /metrics endpoint from a Nano API or Web application.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 4, 2026
content-marketinggokubernetesapi

Works with

  • api

Security analysis

A100/100

Scanned October 4, 2026

npx -y skills add Nano-Core/Nano.Templates --skill nano-remove-metrics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nano Remove Metrics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nano Remove Metrics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nano-core-nano-remove-metrics/badge)](https://www.skillsdirectory.com/skills/nano-core-nano-remove-metrics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nano-remove-metrics
description: Remove Nano's built-in OpenTelemetry metrics (App:Metrics) from a Nano API or Web application - removes the config and the Kubernetes ServiceMonitor. Use when the user asks to remove metrics, Prometheus, OpenTelemetry, or the /metrics endpoint from a Nano API or Web application.
---

# Nano remove metrics

Removes Nano's `/metrics` endpoint from an existing Nano API or Web application — the counterpart
to `nano-add-metrics`.

## Before making any change, determine

1. **Is `App:Metrics` currently configured?** Check the base `appsettings.json`. If absent, say
   so and stop.
2. **What depends on it?** Nothing in the app itself — Metrics has no dependents (confirmed
   against `nano-add-metrics`'s own verification that it's independent of Health Checks, and
   nothing else in the framework reads `App:Metrics`). The only external dependent is whatever
   scrapes it — if Prometheus/Grafana dashboards are actively built on this endpoint, removing it
   silently breaks that monitoring, with no error on the app side. Ask before removing if that
   seems likely, since this app has no way to know it's being scraped.

## Kubernetes

Delete `.kubernetes/service-monitor.yaml`, and remove its apply block from the `Kubernetes
Deploy` workflow step.

## appsettings.json

Remove `App:Metrics` from the base `appsettings.json`.

## After making the change

- Show the user every file touched/deleted.
- If step 2's external-scraping concern applies, restate it — removing this leaves no error
  anywhere in the app, only a monitoring dashboard that goes quiet.
- If step 1 stopped the skill early, that's the whole response.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…