Skip to content

Releases

dt-mac-agent 0.1.5

Choose a tag to compare

@github-actions github-actions released this 05 Oct 04:12

Fixed

  • Installer and auto-update could hang for minutes at "Downloading" when the network cannot reach one of
    GitHub's CDN nodes (curl waited about 45s per attempt). All GitHub downloads now use an 8s connect timeout
    with retries, so they move to a reachable node within seconds. Documented install commands do the same.

dt-mac-agent 0.1.4

Choose a tag to compare

@github-actions github-actions released this 04 Oct 22:33

Added

  • MacOS Health Center dashboard (Dashboard/) shipped with the agent and installed under <prefix>/dashboards/.
  • Installer can upload the dashboard to Dynatrace (prompt, or DTMA_DASHBOARD=1 + DTMA_DASHBOARD_TOKEN).
    It uses the Document API with a fixed ID (dt-mac-agent-health-center), so re-uploads update in place.
    Requires a platform token with document:documents:write. The token is used once and never stored.
  • sudo dtmacctl dashboard to upload or refresh the dashboard at any time.
  • Troubleshooting guide entries for dashboard upload.

dt-mac-agent 0.1.3

Choose a tag to compare

@github-actions github-actions released this 04 Oct 22:13

Changed

  • DT_ENV_URL examples, prompts and docs use https://<env-id>.live.dynatrace.com. The agent accepts .live. or
    .apps. and derives the correct host for the token type (API token → live, platform token → apps).
  • README: token section lists the required scopes per feature (metrics.ingest, settings.write, logs.ingest).

dt-mac-agent 0.1.2

Choose a tag to compare

@github-actions github-actions released this 04 Oct 22:08

Added

  • Metric definitions now declare their dimensions, with display names (e.g. process.executable.name → "Process"),
    through the Settings API (builtin:metric.metadata). Dimensions appear in the metric definition and in
    Notebook/Data Explorer split pickers. The dimension catalog lives in lib/dimensions.tsv.
  • Needs settings.write (API token) or settings:objects:write (platform token). Without it, the agent logs a
    warning and falls back to metadata lines (name, description and unit only).

dt-mac-agent 0.1.1

Choose a tag to compare

@github-actions github-actions released this 04 Oct 22:01

Added

  • Installer verifies end-to-end connectivity after starting the agent: it waits for the first real metric batch,
    reports Successfully connected to Dynatrace environment <url>, and only then prints the success summary.
    If log shipping is enabled, the first log upload is verified as well. Fails with a clear error if Dynatrace rejects the batch.

dt-mac-agent 0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 21:51

Added

  • Metric metadata: every metric is sent with a display name, description and unit (dt.meta.*) at start-up,
    after upgrades and daily. The catalog lives in lib/metrics.tsv, and dtmacctl metrics lists it.
  • Auto-update: the watchdog checks GitHub releases once a day and installs newer versions after SHA-256
    verification (AUTO_UPDATE=1, default). Manual: sudo dtmacctl update [--check].
  • Optional shipping of the agent's own logs to Dynatrace Logs (SEND_LOGS=1), with original timestamps,
    log levels and service.name=dt-mac-agent.
  • Installer prompts for install location, log shipping and auto-update (or DTMA_PREFIX, DTMA_SEND_LOGS,
    DTMA_AUTO_UPDATE). Installing to a custom location is validated for safe, root-owned parent directories.
  • New metrics: process.instances, app.threads, app.memory.percent. New dimension: app.bundle.id.

Changed (breaking: metric keys and dimensions)

  • Processes are grouped by executable name and owner. The rank, top.by and pid dimensions are removed;
    they split one process into many short, gappy series. The agent reports the union of the top TOP_N groups
    by CPU and by memory.
  • Dimensions renamed to semantic names: process.name → process.executable.name, user → process.owner,
    mount/device → disk.mount/disk.device, disk → disk.device, interface → network.interface,
    arch/hw.model → host.arch/host.model; added os.type and process.executable.path.
  • agent.collect.seconds → agent.collect.duration; disk.io.*.time_ns.count → disk.io.*.time.count (unit NanoSecond).
  • Installer log lines use the same format as the other logs.

dt-mac-agent 0.0.2

Choose a tag to compare

@github-actions github-actions released this 04 Oct 21:31

Added

  • ingest.log: one line per batch sent to Dynatrace with line count, size, HTTP result, accepted/invalid lines,
    collect/send duration, spool size and a per-category breakdown. Re-sent buffered batches are logged too.
  • last-payload.txt: the most recent batch exactly as sent; dtmacctl payload prints it.
  • LOG_PAYLOADS=1 option to append every full batch to payloads.log.
  • install.log: the full installer output with timestamps.
  • The watchdog logs the result of every check, not only restarts.
  • dtmacctl logs [agent|ingest|watchdog|install] [-f].

Changed

  • Logs moved from /var/log/dt-mac-agent to /Library/Logs/dt-mac-agent, so they are visible in Console.app.
    Runtime logs are readable without sudo (they never contain the token); install.log is readable by admin users.
  • Log timestamps use local time with the UTC offset.

dt-mac-agent 0.0.1

Choose a tag to compare

@github-actions github-actions released this 04 Oct 21:10

Added

  • Collector daemon (dt-mac-agent) that pushes metrics to the Dynatrace metrics ingest API every 60 s:
    CPU, load, memory, swap, memory pressure, disk usage, inodes, disk I/O, network, TCP connections,
    power and battery, thermal state, top 10 processes by CPU and by memory, and per-app aggregation of all running .app bundles.
  • Watchdog daemon (dt-mac-watchdog) that restarts the agent when it is unloaded, stopped or hung (stale heartbeat).
  • On-disk spool that retries failed batches for up to 55 minutes.
  • Support for platform tokens (dt0s16.) and classic API tokens (dt0c01.).
  • dtmacctl CLI: status, start, stop, restart, logs, test, send-test, config, uninstall.
  • One-line installer with SHA-256 release verification and a connection test before start-up.
  • Log rotation via newsyslog.
  • CI (shellcheck + macOS dry-run) and tag-based GitHub release workflow.