controlling-telemetry-cardinality-and-noise

controlling-telemetry-cardinality-and-noise is a skill for Claude Code, Codex from talkops-ai/talkops-mcp. It costs 176 tokens per session (1,287 once invoked), scanned A, original, Apache-2.0.

A workflow for changing how OpenTelemetry Collectors process telemetry. It can filter health checks, parse structured JSON logs, remove personal or secret data, and normalize URLs and metric attributes.

In plain words
What is it for?
Use it to configure filtering, redaction, parsing, Kubernetes metadata enrichment, and attribute normalization in telemetry pipelines.
Why use it?
It reduces noisy data, protects sensitive information, and limits high-cardinality data that can increase monitoring storage and processing costs. It also checks that processing steps are ordered safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure filtering, redaction, parsing, Kubernetes metadata enrichment, and attribute normalization in telemetry pipelines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/talkops-ai/talkops-mcp/controlling-telemetry-cardinality-and-noise
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add talkops-ai/talkops-mcp --skill controlling-telemetry-cardinality-and-noise
Clone the repo
git clone --depth 1 https://github.com/talkops-ai/talkops-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for controlling-telemetry-cardinality-and-noise

README.md
[![agentmods](https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/controlling-telemetry-cardinality-and-noise/github.svg)](https://agentmods.dev/skills/talkops-ai/talkops-mcp/controlling-telemetry-cardinality-and-noise)
Your own site
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/controlling-telemetry-cardinality-and-noise"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/controlling-telemetry-cardinality-and-noise/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for controlling-telemetry-cardinality-and-noise

Your own site · 80×15
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/controlling-telemetry-cardinality-and-noise"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/controlling-telemetry-cardinality-and-noise.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,287 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00176 $0.01287
Opus 5.5 $0.00070 $0.00515
Sonnet 5.5 $0.00035 $0.00257
Haiku 4.5 $0.00018 $0.00129

Measured 11d ago against content hash cc13ecbb51d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

controlling-telemetry-cardinality-and-noise scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/render_ottl_statements.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/opentelemetry-mcp-server/skills/controlling-telemetry-cardinality-and-noise/SKILL.md · 42 lines

How it starts

The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Controlling Telemetry Cardinality and Noise

Preconditions

  • Read otel://server/capabilities via MCP resources (never raw kubectl CLI commands when MCP is connected) to verify write permissions (allow_write) and enabled pipeline toolset.
  • Read otel://collector/{namespace}/{name}/config, otel://logs-profile/{namespace}/{collector}, and otel://k8s-enrichment/{namespace}/{collector} to inspect existing transform, filter, redaction, and k8sattributes enrichment processors and pipeline ordering.

Processor Ordering Invariant (memory_limiter -> transform/filter -> batch)

Always enforce [memory_limiter, k8sattributes, transform/*, filter/*, batch] and explain both failure modes whenever reviewing or fixing pipeline processor order:

  • transform before memory_limiter (OOMKill Risk): Running OTTL ParseJSON/regex allocations before memory_limiter allows traffic bursts to exhaust Go heap memory and OOMKill the collector pod before backpressure triggers.
  • filter after batch (Under-Filled / Fragmented Batches): Running filter after batch wastes CPU assembling batches only to strip spans/logs out afterward, emitting tiny under-filled, fragmented export batches to downstream backends.

Cardinality & Noise Reduction Workflow Checklist

  • Step 1 — Audit Existing Signal Processing, Enrichment & PII Posture:
    • Read otel://k8s-enrichment/{namespace}/{collector} and otel://logs-profile/{namespace}/{collector} to inspect extracted pod metadata/labels, JSON parsing, severity mapping, and trace-context correlation (trace_id, span_id).
    • Call otel_audit_security_posture (namespace) when checking pipelines for unredacted secrets or PII exposure.
  • Step 2 — Design OTTL Transform, Filter & Redaction Rules:
    • Consult references/ottl-cookbook.md for verified OTTL syntax across span, spanevent, metric, datapoint, and log contexts.
    • Consult references/pii-patterns-and-compliance.md for GDPR/PCI/HIPAA regex scrubbing patterns (emails, SSNs, credit cards, JWTs, API keys).
    • Consult references/metric-cardinality-playbooks.md for dropping high-cardinality attributes (http.target, url.query, user.id, container.id).
    • Run scripts/render_ottl_statements.py offline when custom composite OTTL statements are required.
  • Step 3 — Preview Processing Pipeline Changes (dry_run=True):
    • Always use otel_configure_processing (namespace, collector_name, signals=["logs", "traces", "metrics"], rules={"parse_json": True, "mask_pii": ["email", "credit_card", "ssn", "jwt", "bearer_token", "url_query_secrets"], "custom_mask_rules": [...], "drop_attributes": [...], "drop_noise_paths": ["/healthz", "/readyz", "/metrics"], "preserve_errors": True, "filter_conditions": {...}, "ottl_statements": [...]}, target_pipelines=[...], dry_run=True) to preview OTTL transform and filter rules (including "url_query_secrets" / (?i)([?&](?:api_key|access_token|code|secret)=)[^&\s"']+ for URL query secret scrubbing, http.request.header.x_api_key/authorization/cookie + http.response.header.set_cookie header deletion, and status-aware probe filtering via preserve_errors=True).
    • [GATE] Present the unified config diff, explicitly confirming error_mode: ignore on every transform/filter processor and strict processor ordering (memory_limiter first to prevent OOM before regex/JSON parsing, transform/filter in the middle, batch last so filter never creates under-filled fragmented batches after batching).
  • Step 4 — Apply & Verify Telemetry Reduction:
    • Re-run otel_configure_processing with dry_run=False.
    • Verify error_mode: ignore and pipeline ordering in otel://collector/{namespace}/{name}/config, and call otel_diagnose_collector (namespace, name, include=["metrics", "config_lint"]) to confirm zero processor syntax errors and healthy throughput.

Read the full file on GitHub · 42 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 42 lines · 176 tokens per session scan A cc13ecbb51d2

Subscribe to this mod's changes

controlling-telemetry-cardinality-and-noise is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 176 tokens to every session and 1,287 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.

Related

controlling-telemetry-cardinality-and-noise compared with skills from other repositories

controlling-telemetry-cardinality-and-noise next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
controlling-telemetry-cardinality-and-noisetalkops-ai/talkops-mcpSkill412d agoApache-2.0A176Claude Code, Codex
argocdalivirgo/Major-AI-SkillsSkill6yesterdayMITA42Claude Code
airdrop-hunting-guidenirholas/three.wsSkill287yesterdayApache-2.0A54Claude Code, Codex
opik-diagnosecomet-ml/opik-mcpSkill2274d agoApache-2.0A187Claude Code
ue-mcp-epic-routingdb-lyon/ue-mcpSkill526todayMITA81Claude Code, Codex
qa-knowledgegriddynamics/rosettaSkill3825d agoApache-2.0A32Claude Code, Codex
x-use-reviewihuzaifashoukat/x-useSkill1877d agoMITA56Claude Code