Dynatrace observability
Skill MarieLynneBlock/arcanum-artifex/skills/development/devops/dynatrace-observability
Use when investigating Dynatrace incidents, validating releases, writing DQL, triaging security findings, or operating Dynatrace with dtctl.From its SKILL.md
npx -y skills add MarieLynneBlock/arcanum-artifex --skill dynatrace-observabilityAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.4 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
Dynatrace Observability with dtctl
What this skill does
Use this skill to investigate Dynatrace telemetry and security findings with reproducible DQL and dtctl workflows. It is a standalone package: copy the whole folder when deploying it to another project.
The skill favours progressive disclosure: start here, then load only the reference, example, template, or DQL resource needed for the task.
When to use it
Use this skill for:
- production incident response and root cause analysis;
- deployment impact and release health validation;
- production error triage across Davis problems/events, spans, logs, traces, metrics, and user events;
- performance regression checks against baseline behaviour;
- vulnerability and compliance finding review;
- DQL query writing, validation, and troubleshooting;
- Dynatrace terminal workflows with
dtctl; - evidence hand-off into Dynatrace Workflows, dashboards, notebooks, or API automation.
When not to use it
Do not use this skill for:
- generic DevOps advice with no Dynatrace evidence source;
- product marketing, licensing, or procurement questions;
- architecture-only discussions with no operational validation;
- non-Dynatrace observability platforms.
Operating rules
- Evidence first: state what was queried and what the result supports.
- Always set a bounded timeframe before querying high-volume data.
- Optimise DQL in this order: narrow timeframe, filter early, select fields early, transform/parse, aggregate, then sort/limit.
- For service failures, expand
span.eventsand inspect exception records before concluding. - For Davis analysis, prefer
dt.davis.problemsanddt.davis.eventsexamples over guessed problem fields. - For security and compliance posture, use latest-scan or deduplicated current-state patterns, not broad historical counts.
- For Runtime Vulnerability Analytics, state monitoring-mode and deep-monitoring limitations when evidence is incomplete.
- Use
entityName(dt.entity.service)for readable service names while filtering by stable entity identifiers where possible. - Check
dtctlcontext, safety level, and required scopes before running mutating operations. - If access fails, diagnose context, command capability, token scopes, and safety level before changing the query or conclusion.
- If service, entity, environment, timeframe, or deployment markers are ambiguous, discover candidates or narrow scope before querying high-volume telemetry.
- If correlations are incomplete or contradictory, state evidence gaps and confidence instead of claiming confirmed root cause.
- Prefer
--plain,--output json, or--output yamlfor automation; do not parse formatted tables. - Do not include secrets, platform tokens, tenant-specific URLs, or private trace/log payloads in reports.
Reference routing
Load the smallest matching file first:
| Task | Load |
|---|---|
Set up or validate dtctl, contexts, safety levels, scopes, command discovery | references/dtctl-setup-and-safety.md |
| Resolve missing access, scope errors, ambiguous telemetry, or inconclusive correlations | references/fallback-guidance.md |
| Write, fix, validate, or optimise DQL | references/dql-query-patterns.md |
| Investigate an incident, outage, active Davis problem, or unknown failure | references/incident-response.md |
| Validate a deployment, release gate, or rollback decision | references/deployment-release-validation.md |
| Analyse latency, throughput, saturation, or regression against baseline | references/performance-regression.md |
| Triage vulnerabilities, compliance findings, or security events | references/security-compliance-triage.md |
| Produce a structured incident, deployment, or security report | references/output-contracts.md |
Bundled resources
- Reusable DQL templates live in resources/dql/.
- Report templates live in resources/templates/.
- Worked examples live in examples/.
- A portable context check helper lives at scripts/validate-dtctl-context.sh.
Validated source areas
This package is aligned to the public Dynatrace documentation areas below. Treat external docs as verification sources, not runtime dependencies.
- Dynatrace Query Language guide, reference, commands, and best practices.
- Logs on Grail examples and DQL timeseries examples.
- Dynatrace Intelligence DQL examples for Davis problems and events.
- Application Security and Runtime Vulnerability Analytics guidance.
- Dynatrace Workflows overview and Dynatrace API reference.
Default workflow
- Identify the user's intent and select the reference file from the routing table.
- Establish context: environment, timeframe, service/entity, deployment time, or finding type.
- Validate access and command capability if
dtctlis needed. - If access, scope, entity, timeframe, or correlation evidence is incomplete, use references/fallback-guidance.md.
- Build or adapt DQL from the relevant reference and
resources/dql/template. - Run the smallest safe query first, usually with
| limit 1or a narrow timeframe. - Correlate at least two relevant sources before stating root cause.
- Produce an evidence-based report using the relevant template.
Minimal setup
Before deep analysis, establish command and access context.
# Install dtctl (macOS/Linux)
brew install dynatrace-oss/tap/dtctl
# Authenticate (OAuth recommended)
dtctl auth login --context my-env --environment "https://<env>.apps.dynatrace.com"
# Verify config, context, token, connectivity, auth
dtctl doctor
For token-based contexts (for CI/CD or headless runs):
dtctl config set-context my-env \
--environment "https://<env>.apps.dynatrace.com" \
--token-ref my-token \
--safety-level readwrite-mine
dtctl config set-credentials my-token --token "$DT_API_TOKEN"
What ships with it: 28 files
49.8 KB alongside SKILL.md, 1 of them executable
examples/
- ambiguous-input-resolution.md1.6 KB
- deployment-health-check.md1.0 KB
- incident-response.md1.3 KB
- security-triage.md1.1 KB
references/
- deployment-release-validation.md4.2 KB
- dql-query-patterns.md7.3 KB
- dtctl-setup-and-safety.md4.4 KB
- fallback-guidance.md4.1 KB
- incident-response.md4.7 KB
- output-contracts.md2.6 KB
- performance-regression.md3.7 KB
- security-compliance-triage.md5.1 KB
resources/
- dql/active-problems.dql228 B
- dql/davis-affected-entities.dql258 B
- dql/davis-problem-trends.dql150 B
- dql/deployment-before-after.dql631 B
- dql/exception-analysis.dql395 B
- dql/frontend-error-id.dql416 B
- dql/latest-compliance-scan.dql410 B
- dql/log-error-correlation.dql190 B
- dql/metric-failure-rate.dql363 B
- dql/open-vulnerabilities.dql477 B
- dql/service-entity-discovery.dql635 B
- dql/service-golden-signals.dql615 B
- templates/deployment-health-report.md1.3 KB
- templates/incident-report.md1.3 KB
- templates/security-triage-report.md993 B
scripts/
- validate-dtctl-context.shruns614 B