dynatrace

dynatrace is a command for Claude Code from nitinjain999/platform-skills. It costs 59 tokens per session (1,870 once invoked), scanned A, original, Apache-2.0.

A command set for installing and configuring Dynatrace, a system for monitoring applications and infrastructure. It covers Kubernetes monitoring, logs, metrics, service goals, dashboards, alerts, and live incident investigation.

In plain words
What is it for?
Use it to install the Dynatrace Kubernetes Operator and OneAgent, add custom application tracing, configure logs and metrics, create service-level objectives and dashboards, detect anomalies, and investigate incidents through the Dynatrace MCP server.
Why use it?
It brings deployment and monitoring setup into one guided workflow instead of requiring separate manual configuration. It also helps connect application behavior and Kubernetes data when investigating problems.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the platform-skills plugin — 1 skill, 43 commands shipped together

Good fit Use it to install the Dynatrace Kubernetes Operator and OneAgent, add custom application tracing, configure logs and metrics, create service-level objectives and dashboards, detect anomalies, and investigate incidents through the Dynatrace MCP server.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nitinjain999/platform-skills/dynatrace
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.

Clone the repo
git clone --depth 1 https://github.com/nitinjain999/platform-skills

Made for: Claude Code.

Or install platform-skills, the plugin that ships this one along with the rest of its 1 skill, 43 commands.

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 dynatrace

README.md
[![agentmods](https://agentmods.dev/badge/commands/nitinjain999/platform-skills/dynatrace/github.svg)](https://agentmods.dev/commands/nitinjain999/platform-skills/dynatrace)
Your own site
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/dynatrace"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/dynatrace/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 dynatrace

Your own site · 80×15
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/dynatrace"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/dynatrace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00059 $0.01870
Opus 5 $0.00030 $0.00935
Sonnet 5 $0.00012 $0.00374
Haiku 4.5 $0.00006 $0.00187

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

Security

Grade A, and why

dynatrace scanned grade A with 1 finding 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 10d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "https://{env}.live.dynatrace.com/api/v2/metrics/query?metricSelector=<your.metric>" \
commands/dynatrace.md · 190 lines

How it starts

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

Configure, troubleshoot, or investigate incidents in Dynatrace.

Mode: setup

Deploy the Dynatrace Operator and OneAgent on Kubernetes.

Steps:

  1. Ask for: environment ID, Kubernetes distribution (EKS/AKS/GKE), monitoring mode (fullStack / cloudNativeFullStack)
  2. Install Operator: kubectl apply -f .../dynatrace-operator/releases/latest/download/kubernetes.yaml
  3. Create Secret with apiToken and dataIngestToken (store in Kubernetes Secret or secrets manager — never plain values)
  4. Generate DynaKube CR with cloudNativeFullStack for automatic injection — no pod restarts required
  5. Enable metadataEnrichment: true for Kubernetes metadata on all telemetry
  6. Verify injection: kubectl describe pod <app-pod> | grep dynatrace

Required token scopes:

  • apiToken: ReadConfig WriteConfig DataExport LogExport ReadSyntheticData WriteAnomalyDetection
  • dataIngestToken: metrics.ingest logs.ingest

Reference: references/dynatrace.md → Deployment, Token Scopes

Mode: instrument

Add custom spans or business transaction tracing to a service.

Steps:

  1. OneAgent auto-instruments HTTP, database, cache, and messaging — code changes only needed for custom business spans
  2. Ask for: language (Node.js / Python / Java), business operations to trace (payment, checkout, data pipeline)
  3. Generate SDK code for custom spans using @dynatrace/oneagent-sdk (Node.js), oneagent-sdk (Python), or OneAgent Java SDK
  4. For cross-service propagation: forward and extract the x-dynatrace header between services
  5. Verify in Distributed Traces UI: service appears in Service Map with custom spans

Reference: references/dynatrace.md → Code-Level Instrumentation

Mode: monitor

Configure anomaly detection and alerting for a service.

Steps:

  1. Ask for: service entity ID (from Smartscape or Settings API), alerting thresholds (auto-detection or fixed), notification target
  2. Generate Terraform dynatrace_service_anomalies_v2 resource for failure rate and response time
  3. Generate Terraform dynatrace_alerting profile linking anomalies to the team
  4. Davis AI will auto-detect baseline anomalies — custom thresholds override only when auto-detection is too noisy
  5. Wire alerting profile to notification integration (PagerDuty, Slack, Opsgenie)

Read the full file on GitHub · 190 lines

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. 10d ago First seen · 190 lines · 59 tokens per session scan A fcfc0c2b2ad5

Subscribe to this mod's changes

dynatrace is a command published in the GitHub repository nitinjain999/platform-skills (41 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 1,870 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.