Логотип Dt Setup Oneagent

Dt Setup Oneagent

Организация
Dynatrace
dt-setup-oneagent

Справочная информация по установке, удалению и созданию с последующей установкой Dynatrace OneAgent на виртуальные машины и серверы, в Kubernetes (Operator + DynaKube), AWS Lambda (слой + переменные среды, а также при необходимости подготовка новой функции), на хосты Windows, удалённые хосты Linux / экземпляры EC2 через SSH и виртуальные машины / наборы виртуальных машин Azure. Предоставляет документированные конечные точки, переменные среды, области действия токенов и готовые к копированию команды. Возвращает точные команды для выполнения, но не выполняет их. Используйте, если пользователь хочет установить или удалить OneAgent либо спрашивает: «как мне…», «какой URL/область действия/переменная нужна для…» или «объясните развёртывание OneAgent для X».

Add to TypingMind

Обзор

ИздательDynatrace
Репозиторийdynatrace-for-ai
Название навыкаdt-setup-oneagent
Звёзды
156
Форки
30
Файлы в комплекте
5
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 5

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — Dynatrace. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Dt Setup Oneagent в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/Dynatrace/dynatrace-for-ai/tree/main/skills/dt-setup-oneagent
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dynatrace/dynatrace-for-ai.git /tmp/dynatrace-for-ai
mkdir -p .claude/skills
cp -r /tmp/dynatrace-for-ai/skills/dt-setup-oneagent .claude/skills/dt-setup-oneagent
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Dt Setup Oneagent в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Dt Setup Oneagent, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Dt Setup Oneagent не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Deploy Dynatrace OneAgent — knowledge reference

This skill is reference-only. It contains the documented endpoints, environment variables, token scopes, and commands that an operator (or another agent) needs to install OneAgent manually across the supported targets. It executes nothing.

This skill gives you the commands; it does not run them. Follow the procedure for the target you need, substituting the environment URL and token as documented below.

Hard rules for any agent consuming this skill

  • Operate only on resources the user explicitly named. Never create a placeholder/test Lambda, IAM role, K8s namespace, secret, S3 bucket, EC2 instance, or any other fixture on your own initiative — not to "demonstrate", not "while we're at it", not preemptively. If the named resource doesn't exist and the user hasn't asked for it to be created, stop and ask. Side resources (additional Secrets Manager entries, monitoring, helper stacks) must not be provisioned silently — surface them as confirmation questions with the exact definition first.
  • Explicit user-driven create modes are fine. When the user passes --create (or explicitly says "yes, create it" after being asked), provisioning exactly the resources documented for that mode is the right thing to do — see Create a new function and install OneAgent in references/aws-lambda.md for the documented set. Don't second-guess the function name the user typed: do not pattern-match on names like "test", "demo", "scratch", "tmp" and refuse, warn, or insist on an alternative. The input is authoritative; the rule above is about silent or unsolicited creation, not user-requested creation.
  • Never persist the API token. The token's only job is to (a) authenticate the OneAgent artifact download / layer-ARN lookup and (b) get handed to the target system (Lambda env var or Secrets Manager, Linux installer, DynaKube secret) as part of the install. Do not cache it to local files, write it to scratch scripts, leave it in shell history, copy it into PR descriptions, or store it anywhere outside the target system that strictly needs it. Treat each run as fresh: supply via env var or 0600 file, use, discard.
  • Never echo or log the API token. When you have to reference it in a command, write $DT_API_TOKEN or an elided prefix (dt0s16.…, dt0c01.…). Don't paste the literal value into prose.
  • Never assume the env URL, and confirm the tenant before installing. Targeting the wrong environment fails silently: the install succeeds and the host or function simply reports to a tenant nobody is watching. An environment URL the user stated explicitly always wins over anything derived from a tool default or a previous run — never let a cached or discovered value override it. State the tenant you are about to use and let the user correct you. Tenant IDs (abc12345) and labs vs. prod determine the correct host.
  • Writes that take a collection replace it — read, merge, then write. Several APIs here accept a whole collection and overwrite whatever was there: aws lambda update-function-configuration does this for both --environment and --layers, so sending only the Dynatrace values silently deletes the function's own variables and any other layers. Always read current state, merge your additions into it, and write the union back. Take a rollback snapshot before the first write. This applies wherever you are about to replace a set rather than add to one.
  • Deriving the env URL from dtctl. dtctl config current-context returns only the context name (e.g. my-env), not a URL. The URL comes from dtctl config describe-context <ctx>. Do not pipe that straight into jq: some dtctl versions ignore -o json and print a human table (Environment: https://…) while still exiting 0, so jq dies on a parse error and takes any set -e -o pipefail script down with it. Check the output really is JSON first, and fall back to scraping the Environment: line:
bash
CTX="$(dtctl config current-context 2>/dev/null || true)"
OUT="$(dtctl config describe-context "$CTX" -o json 2>/dev/null || true)"
if printf '%s' "$OUT" | jq -e . >/dev/null 2>&1; then
  DT_ENV_URL="$(printf '%s' "$OUT" | jq -r '.environment // .url // empty')"
else
  DT_ENV_URL="$(printf '%s' "$OUT" | awk 'tolower($1) ~ /^(environment|url):$/ {print $2; exit}')"
fi

URL normalization

Dynatrace's "new platform" URLs and the classic OneAgent installer endpoints differ. Before constructing installer URLs, convert:

Input (Dynatrace UI / docs)Use for installer endpoints
https://<id>.apps.dynatrace.comhttps://<id>.live.dynatrace.com
https://<id>.<region>.apps.dynatracelabs.comhttps://<id>.<region>.dynatracelabs.com
Anything elseunchanged

The tenant ID is the first dot-separated segment (<id>).


Token types and the Authorization header

Two token families are in play, and the Authorization scheme is chosen by the token's prefix, not by which endpoint you call:

TokenPrefixHeader
Platform tokendt0s16.Authorization: Bearer <token>
Access token (classic API token)dt0c01.Authorization: Api-Token <token>
PaaS tokendt0s01.Authorization: Bearer <token>
OAuth client secretdt0s02. / dt0s03.❌ not directly usable — must be exchanged for a bearer token first

Platform tokens are the forward-looking default. Dynatrace is deprecating access tokens: new tenants can no longer create them, and Classic API endpoints are being updated to accept platform tokens. Do not assume a token starts with dt0c01.. The reference implementation of this rule is dtwiz's AuthHeader() (pkg/installer/installer.go): dt0c01.* → Api-Token, everything else → Bearer.

One path hands the token to a component that has historically required a PaaS/access token — if it rejects a platform token, use a dt0c01. access token there:

  • Kubernetes — the Dynatrace Operator authenticates using the dynakube secret.

VM, remote VM/EC2, Windows and Lambda call the Deployment API directly and work with either family.

Token scopes by target

For a platform token (dt0s16.), the OneAgent-relevant scopes live under Fleet management: fleet-management:oneagents:download, fleet-management:oneagent.connection-info:read, fleet-management:oneagent.tokens:read, fleet-management:cluster-id:read; Kubernetes additionally wants fleet-management:activegates:download and fleet-management:activegate.tokens:create. Generating the token via the Dynatrace QuickStart app provisions a working set.

For a classic access token (dt0c01.):

TargetRequired token scopes
VM / WindowsInstallerDownload (PaaS)
KubernetesInstallerDownload, settings.read, settings.write, activeGateTokenManagement.create — the Dynatrace UI's "Kubernetes: Dynatrace Operator" template sets all four.
Azure VM / VMSSInstallerDownload (PaaS). Azure side: the caller's az identity needs Contributor or any role granting Microsoft.Compute/.../extensions/write on the resource.
AWS Lambda (runtime token)A connection auth token consumed by the OneAgent layer at runtime. Distinct from the installer token. Create from the Dynatrace UI under Access tokens with entities.read, or use the Hub → AWS Lambda template.

Tokens are never username-scoped — they belong to the tenant.


Targets

Each target has its own reference. They share the rules, URL normalization and token guidance above — read those first, then the one you need.

Managed Kubernetes distributions are covered inside the Kubernetes reference rather than separately: the install is identical and only the node type differs, so the deltas belong next to the procedure they modify.

TargetReference
VM / server (Linux, macOS)below — the base case every other target builds on
Remote VM / EC2 over SSH→ references/remote-vm-ec2.md
Windows host (WSL or native)→ references/windows.md
Kubernetes (Operator + DynaKube) — incl. EKS, Fargate and Bottlerocket limits→ references/kubernetes.md
AWS Lambda (layer + env vars)→ references/aws-lambda.md
Azure VM / VM Scale Set (VM extension)→ references/azure-vm.md

By platform

The table above is organised by install mechanism, because that is what decides the procedure. If you are arriving from a particular cloud instead:

PlatformWhat you are deploying toGo to
AWSEC2 instanceremote-vm-ec2.md
EKS — EC2 nodeskubernetes.md
EKS — Fargate or Bottlerocket nodeskubernetes.md § AWS EKS specifics — full-stack unavailable, applicationMonitoring only
Lambda functionaws-lambda.md
AzureVM or VM Scale Setazure-vm.md
AKSkubernetes.md — not the VM extension, even though node pools are VMSSes
Google CloudGKE (standard)kubernetes.md
GKE Autopilotkubernetes.md for the operator path — full-stack is unavailable, as on Bottlerocket. Autopilot-specific tuning is not covered
Compute Engine VMremote-vm-ec2.md — the SSH procedure is not AWS-specific
On-prem / anywhere elseLinux or macOS you are logged intobelow
Linux you reach over SSHremote-vm-ec2.md
Windowswindows.md
Kubernetes, or OpenShift via the standard operatorkubernetes.md — the classic OpenShift node-config-operator route is not covered

VM / server (Linux, macOS)

Endpoint (substitute ${DT_ENV_URL_NORMALIZED} and ${ARCH} where ARCH ∈ x86 | arm | ppc64le | s390):

GET ${DT_ENV_URL_NORMALIZED}/api/v1/deployment/installer/agent/unix/default/latest?arch=${ARCH}&flavor=default
Header: Authorization: Api-Token ${DT_API_TOKEN}   # dt0c01.… access token
        Authorization: Bearer ${DT_API_TOKEN}      # dt0s16.… platform token

Install command:

Set the scheme to match your token — Api-Token for dt0c01.…, Bearer for dt0s16.…:

bash
DT_AUTH="Api-Token ${DT_API_TOKEN}"   # platform token: DT_AUTH="Bearer ${DT_API_TOKEN}"

wget -O Dynatrace-OneAgent-Linux.sh \
  --header="Authorization: ${DT_AUTH}" \
  "${DT_ENV_URL_NORMALIZED}/api/v1/deployment/installer/agent/unix/default/latest?arch=${ARCH}&flavor=default"

sudo /bin/sh Dynatrace-OneAgent-Linux.sh \
  --set-monitoring-mode=fullstack \
  --set-app-log-content-access=true \
  [--set-host-group=<name>] \
  [--set-network-zone=<zone>]

Restart caveat: OneAgent cannot inject into already-running processes. After install, restart the workloads you want monitored.

Uninstall:

bash
sudo /opt/dynatrace/oneagent/agent/uninstall.sh

Removes the systemd unit, /opt/dynatrace, and the /etc/ld.so.preload line that injects the agent.


When you should not use this skill

  • The user wants the install performed for them rather than explained. → This skill still applies: follow the target's procedure and run the commands, confirming the tenant first.
  • The user is asking why an install failed and wants an explanation. → This skill is appropriate.
  • The user wants a target this skill doesn't cover (Azure Functions / App Service / Container Apps, classic OpenShift node-config-operator, GKE Autopilot specifics, ECS Fargate). → Refer to https://docs.dynatrace.com; this skill covers VM/server, remote VM/EC2 over SSH, Windows, Kubernetes and AWS Lambda.

References

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Dt Setup Oneagent?

Справочная информация по установке, удалению и созданию с последующей установкой Dynatrace OneAgent на виртуальные машины и серверы, в Kubernetes (Operator + DynaKube), AWS Lambda (слой + переменные среды, а также при необходимости подготовка новой функции), на хосты Windows, удалённые хосты Linux / экземпляры EC2 через SSH и виртуальные машины / наборы виртуальных машин Azure. Предоставляет документированные конечные точки, переменные среды, области действия токенов и готовые к копированию команды. Возвращает точные команды для выполнения, но не выполняет их. Используйте, если пользователь...

Зачем использовать Dt Setup Oneagent в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Dt Setup Oneagent — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Dt Setup Oneagent в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/Dynatrace/dynatrace-for-ai/tree/main/skills/dt-setup-oneagent. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Dt Setup Oneagent?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Dt Setup Oneagent?

С любым количеством. В TypingMind вы можете использовать Dt Setup Oneagent с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Dt Setup Oneagent?

Да. Навык опубликован на GitHub по лицензии Apache-2.0. Издатель — Dynatrace. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип affaan-m

Docker Patterns

affaan-m
СообществоПопулярный

Паттерны Docker и Docker Compose для локальной разработки: безопасность контейнеров, сетевые настройки, стратегии работы с томами и оркестрация нескольких сервисов.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Architecture Decision Records

affaan-m
СообществоПопулярный

Записывает архитектурные решения в структурированные ADR во время сеансов разработки: автоматически обнаруживает моменты принятия решений и фиксирует контекст, рассмотренные альтернативы и обоснование. Ведёт журнал ADR, чтобы будущие разработчики понимали, почему кодовая база устроена именно так.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Automation Audit Ops

affaan-m
СообществоПопулярный

Рабочий процесс для составления основанного на доказательствах перечня средств автоматизации ECC и аудита пересечений. Используйте, когда пользователь хочет узнать, какие задачи, хуки, коннекторы, MCP-серверы или обёртки работают, сломаны, дублируют друг друга или отсутствуют и требуют исправления.

39.1K
261.1K
Инструкции
Открыть
Логотип NousResearch

Grok

NousResearch
ОрганизацияПопулярный

Передача задач по программированию в xAI Grok Build CLI (функции, PR).

53.5K
250.4K
Инструкции
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇