nitinjain999/platform-skills/dynatrace
Claude Code and agent skill by nitinjain999/platform-skills
- community
Checking that the SKILL.md file is still in the repository.
Deploy and configure Dynatrace — OneAgent Kubernetes Operator, code-level instrumentation, Log Monitoring, custom metrics, SLOs, Dashboards, anomaly detection, Davis AI, and live incident investigation using the Dynatrace MCP server. Covers Terraform-managed Dynatrace resources.
Install
npx vskill@latest install nitinjain999/platform-skills/dynatraceSKILL.md
Configure, troubleshoot, or investigate incidents in Dynatrace.
Mode: setup
Deploy the Dynatrace Operator and OneAgent on Kubernetes.
Steps:
- Ask for: environment ID, Kubernetes distribution (EKS/AKS/GKE), monitoring mode (fullStack / cloudNativeFullStack)
- Install Operator from a pinned release, never
releases/latest:kubectl apply -f .../dynatrace-operator/releases/download/v1.11.0/kubernetes.yaml - Create Secret with
apiTokenanddataIngestToken(store in Kubernetes Secret or secrets manager — never plain values) - Generate
DynaKubeCR withcloudNativeFullStackfor automatic injection — no pod restarts required - Enable
metadataEnrichment: truefor Kubernetes metadata on all telemetry - Verify injection:
kubectl describe pod <app-pod> | grep dynatrace
Required token scopes:
apiToken:ReadConfig WriteConfig DataExport LogExport ReadSyntheticData WriteAnomalyDetectiondataIngestToken:metrics.ingest logs.ingest
Reference: references/dynatrace.md → Deployment, Token Scopes
Mode: instrument
Add custom spans or business transaction tracing to a service.
Steps:
- OneAgent auto-instruments HTTP, database, cache, and messaging — code changes only needed for custom business spans
- Ask for: language (Node.js / Python / Java), business operations to trace (payment, checkout, data pipeline)
- Generate SDK code for custom spans using
@dynatrace/oneagent-sdk(Node.js),oneagent-sdk(Python), or OneAgent Java SDK - For cross-service propagation: forward and extract the
x-dynatraceheader between services - 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:
- Ask for: service entity ID (from Smartscape or Settings API), alerting thresholds (auto-detection or fixed), notification target
- Generate Terraform
dynatrace_service_anomalies_v2resource for failure rate and response time - Generate Terraform
dynatrace_alertingprofile linking anomalies to the team - Davis AI will auto-detect baseline anomalies — custom thresholds override only when auto-detection is too noisy
- Wire alerting profile to notification integration (PagerDuty, Slack, Opsgenie)
Reference: references/dynatrace.md → Terraform Provider, Davis AI Problem Feeds
Mode: slo
Define a Dynatrace SLO.
Steps:
- Ask for: SLI expression (availability / latency / custom), target %, timeframe
- Generate Terraform
dynatrace_slo_v2resource - Use built-in metrics for availability:
builtin:service.errors.server.successCount/builtin:service.requestCount.server - Validate the metric expression returns data in the Metrics Explorer before applying
- Set both
target_successandtarget_warningthresholds
Reference: references/dynatrace.md → SLOs
Mode: dashboard
Create a Dynatrace dashboard.
Steps:
- Ask for: service entity ID, key metrics to show (availability, latency, throughput, error rate)
- Generate Terraform
dynatrace_json_dashboardresource pointing to a JSON dashboard file - Use built-in service metrics:
builtin:service.requestCount.server,builtin:service.response.time,builtin:service.errors.server.rate - Provide dashboard JSON with tiles for each metric using
DATA_EXPLORERtile type
Reference: references/dynatrace.md → Terraform Provider
Mode: investigate
Live incident investigation using the Dynatrace MCP server.
Requires the Dynatrace MCP server connected to Claude Code. See setup in references/dynatrace.md → MCP Server Setup.
Cost note: execute_dql queries scan Grail data and may incur costs based on your Dynatrace consumption model. Start with short timeframes (last 1h–24h). Set DT_GRAIL_QUERY_BUDGET_GB to cap session spend.
Phase 1 — Triage (what is Davis AI seeing?)
Ask Claude to run these via the MCP server:
- List all open Problems — Davis AI auto-detects anomalies and groups related symptoms
- Fetch full problem details including root cause entity, impact, and affected services
- Check recent Kubernetes events for the affected namespace
Phase 2 — Signals (logs, traces, exceptions)
Use DQL via the MCP to query Grail directly:
- Fetch error logs for the affected service in the incident window
- List recent exceptions with stack traces
- Find distributed traces with errors to identify the failing call
Example DQL the MCP can generate and execute:
Phase 3 — Root cause with Davis AI
Let Davis AI perform automated analysis:
- Ask Davis Copilot to explain the problem in plain English
- Run a Davis Analyzer on the affected service for automated root cause analysis
- Find the entity (service, host, process group) at the root of the problem
Phase 4 — Resolution and follow-up
- Create a Dynatrace Notebook capturing the timeline, DQL queries, and evidence
- Send a Slack message or email via the MCP notification tools
- Close the Problem with a resolution note once fix is validated
Reference: references/dynatrace.md → MCP Server Setup, Incident Investigation Workflow
Mode: debug
Diagnose Dynatrace data gaps or injection failures without the MCP server.
Classify the failure:
- Injection — OneAgent not injecting into pods
- Traces — service not in Service Map or distributed traces broken
- Metrics — custom metrics not appearing
- SLO — SLO shows 0% or "No data"
- Davis AI — Problems not being created for known issues
Evidence to collect:
Provide: symptom → root cause hypothesis → evidence command → fix → validation step
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dynatrace/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nitinjain999/platform-skills/dynatrace)