Skip to main content

aa-health-duckdb

Tests Lint PyPI Python 3.12+ Coverage Ruff uv DuckDB 2.0 License: Apache-2.0

Slideshow of the report: summary tiles, a calendar of alerts by day, trend charts with expected ranges, component tables, alerts, browser breakdowns, and light and dark mode

32-second loop of real report excerpts, made from synthetic data. Click the animation for a still image.

aa-health-duckdb checks the health of an Adobe Analytics report suite. For every custom event, eVar and prop, it shows yesterday's value, its weekday average, and whether Adobe's anomaly detection flagged it. The weekday average is the average of the same weekday in the 12 weeks before, e.g., the 12 Mondays before a Monday. It also finds large drops and large spikes against the weekday average. It finds values that dropped to zero, and it lists components that never collected data apart.

It is an unofficial alternative to Adobe's Excel workbook "Analytics Health Dashboard", built on the Adobe Analytics 2.0 API. The command is ahd.

What it does

  • One report you can open anywhere. Each run writes one HTML file that works in any browser, offline. It has three tabs: Components Summary, Individual Component Summary and Alerts Summary. The report walks through it.
  • Alerts that matter. It lists Adobe's anomaly flags, drops and spikes larger than percents you set with two sliders, and components that dropped to zero. Components that never collected data are listed apart, so they don't hide real problems.
  • Every run kept. It stores each run in a local DuckDB file, so you can compare runs, report suites and organizations with SQL, and send alert emails only when something is new. See the DuckDB guide.
  • Any dimension by any metric. The Individual Component Summary can hold several pairs, e.g., Internal Search Term by Cart Additions, and you add one in a few seconds.
  • Plain errors. When sign-in or access fails, it names the cause and the fix.
  • Read-only and private. It only reads from Adobe, never shows or stores your credential, and never sends usage data.

Compared with the Excel workbook lists how the numbers and features differ.

Quick start

You need:

Configuration walks through both steps.

  1. Install the tool from PyPI. It adds the ahd command:

    uv tool install aa-health-duckdb
    

    With pipx, run pipx install aa-health-duckdb instead. To work from a clone of this repository, see Development, and put uv run in front of each command, e.g., uv run ahd check.

  2. Save the credential's four values in config.json in the folder where you run ahd, or use a profile. See Configuration.

    {
      "org_id": "YOUR_ORG_ID@AdobeOrg",
      "client_id": "YOUR_CLIENT_ID",
      "secret": "YOUR_CLIENT_SECRET",
      "scopes": "openid, AdobeID, additional_info.projectedProductContext"
    }
    
  3. Check the sign-in and find your report suite:

    ahd check
    ahd suites
    ahd check --rsid "My Suite"
    

    --rsid takes a report suite ID or a name. How IDs and names are matched gives the rules.

  4. Fetch the data and write the report. It takes about 1 minute for a suite with 400 components, and it prints the report's path at the end:

    ahd run --rsid "My Suite"
    

    To check several suites, give --rsid more than once, or use --all-suites for every suite.

  5. Open the HTML file in your browser.

If something fails, see Troubleshooting.

Documentation

Document What it covers
Usage Every command, with its options, exit codes and defaults
Configuration Where the tool finds your credential, profiles, and the Admin Console permissions it needs
The report A walkthrough of the HTML report: the sliders, tiles, tabs, alerts and copying
How runs are stored The DuckDB file, run numbers, deleting runs, keeping runs when the layout changes, and the tables inside
Run it every day A daily check of every suite with an alert email, on Windows, macOS and Linux
DuckDB guide SQL recipes: alert emails, owner routing, digests across suites and organizations, audits and exports
Troubleshooting Sign-in problems, limited access, warnings and database errors
Compared with the Excel workbook How the numbers differ, what the tool adds, and what it leaves out
Development Tests, lint and the README slideshow. See also AGENTS.md

These read-only tools also work with Adobe Analytics implementations. aa_auto_sdr and cja_auto_sdr use the same kind of credential as ahd, and one credential can serve all three. See Share one credential across tools.

  • aa_auto_sdr builds a Solution Design Reference for Adobe Analytics report suites. It shares its profiles with ahd.
  • cja_auto_sdr does the same for Customer Journey Analytics data views.
  • sdr-grader checks an Adobe Analytics or Customer Journey Analytics implementation against a set of rules, and writes an HTML report card with a grade.
  • sdr-visualizer writes one HTML file with a searchable catalog of the components, and a graph of which components refer to which.

sdr-grader and sdr-visualizer read the JSON files that aa_auto_sdr and cja_auto_sdr write. They do not call Adobe themselves. With --rsid, each one runs aa_auto_sdr for you, and aa_auto_sdr signs in with its profile as usual.

Known limits

  • Each run and each report covers one report suite. ahd run can check several suites in one command, but it checks them one after another and writes one report for each.
  • It is in English only.
  • The ahd command does not send email. The DuckDB guide shows how to send alerts with a short script.
  • Adobe allows 12 requests in any 6 seconds for each user, and the tool starts no more than that. Two ahd commands that run at the same time with the same credential each keep their own count, so together they can go over the limit. After a rate limit or a temporary error, the tool waits and tries again. See Troubleshooting.

Community

Contributions are welcome within the project's intentionally narrow scope. Read CONTRIBUTING.md before you open a pull request. Report security issues privately as described in SECURITY.md. Do not put a vulnerability, a credential or data from Adobe in a public issue. Participation is governed by the Code of Conduct.

License

Apache License 2.0. See LICENSE.

This is an unofficial tool. Adobe does not make, support or endorse it. Adobe, Adobe Analytics and Analytics Health Dashboard are names that belong to Adobe.

Metadata

Release files for aa-health-duckdb 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aa-health-duckdb 0.1.6
File Size Uploaded Provenance Actions
aa_health_duckdb-0.1.6.tar.gz 316.3 kB With provenance Details for aa_health_duckdb-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aa-health-duckdb 0.1.6
File Interpreter ABI Platform Actions
aa_health_duckdb-0.1.6-py3-none-any.whl Python 3 none any Details for aa_health_duckdb-0.1.6-py3-none-any.whl

Total release size: 423.6 kB

Release files / aa_health_duckdb-0.1.6.tar.gz

Download URL aa_health_duckdb-0.1.6.tar.gz
Size 316.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e54f69480983ce1cea9c47ab6918a14f9a31f471bcc6779a49c131906cb3af28
BLAKE2b-256 checksum
How to use checksums
519b9f9296b30710d403526bdc873a8131875f9dffccbd04db50e4b128040108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / aa_health_duckdb-0.1.6-py3-none-any.whl

Download URL aa_health_duckdb-0.1.6-py3-none-any.whl
Size 107.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d029842eea18269c27e00e6738f3bc1c885dde4a0309d7ec8c3e27bfcf384a0
BLAKE2b-256 checksum
How to use checksums
b4bc55e9a498628481c92b0d92d418b0d67b38d66a767bca538c0705a6aee90c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for aa-health-duckdb 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aa_health_duckdb-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page