Skip to content

Add count_chrome_browser_orders filtered metric to dbt_orders - #119

Open
lightdash[bot] wants to merge 1 commit into
mainfrom
lightdash-ai-writeback/8d75679e-fe4c-4488-b62f-f9269e2da617
Open

lightdash[bot] wants to merge 1 commit into
mainfrom
lightdash-ai-writeback/8d75679e-fe4c-4488-b62f-f9269e2da617

Conversation

@lightdash

@lightdash lightdash Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Added a new metric count_chrome_browser_orders to the order_id column's meta.metrics block in models/dbt_orders.yml
  • Metric type: count with a filter on browser equals Chrome
  • Label: Chrome Browser Orders
  • Description: Count of orders placed using the Chrome browser.
  • Filter uses explicit Lightdash metric filter syntax with target.fieldRef, operator, and values
  • All existing metrics are unchanged

Validation

  • lightdash compile passed: 5 explores compiled, SUCCESS=5 ERRORS=0

## Changes

- Added a new metric `count_chrome_browser_orders` to the `order_id` column's `meta.metrics` block in `models/dbt_orders.yml`
- Metric type: `count` with a filter on `browser` equals `Chrome`
- Label: `Chrome Browser Orders`
- Description: `Count of orders placed using the Chrome browser.`
- Filter uses explicit Lightdash metric filter syntax with `target.fieldRef`, `operator`, and `values`
- All existing metrics are unchanged

## Validation

- `lightdash compile` passed: 5 explores compiled, SUCCESS=5 ERRORS=0

Co-authored-by: lightdash[bot] <183517231+lightdash[bot]@users.noreply.github.com>
Co-authored-by: Oliver Ramsay <oliver.ramsay@lightdash.com>
@lightdash

lightdash Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

🔍 Lightdash preview environment ready: https://analytics.lightdash.cloud/projects/a80f2084-231e-403f-bb66-8cf8de3c2ff3/home

Compiled from branch lightdash-ai-writeback/8d75679e-fe4c-4488-b62f-f9269e2da617. Explores may take a minute to appear while the project compiles.

@github-actions

Copy link
Copy Markdown

Lightdash Validation Results

Validating default project 8a223608-a1e4-426e-adcd-0598ea72b9f8

/opt/hostedtoolcache/Python/3.10.20/x64/lib/python3.10/site-packages/google/api_core/_python_version_support.py:255: FutureWarning: You are using a Python version (3.10.20) which Google will stop supporting in new releases of google.api_core once it reaches its end of life (2026-10-04). Please upgrade to the latest Python version, or at least Python 3.11, to continue receiving updates for google.api_core past that date.
  warnings.warn(message, FutureWarning)
/opt/hostedtoolcache/Python/3.10.20/x64/lib/python3.10/site-packages/google/api_core/_python_version_support.py:255: FutureWarning: You are using a Python version (3.10.20) which Google will stop supporting in new releases of google.cloud.dataproc_v1 once it reaches its end of life (2026-10-04). Please upgrade to the latest Python version, or at least Python 3.11, to continue receiving updates for google.cloud.dataproc_v1 past that date.
  warnings.warn(message, FutureWarning)
Failed to fetch table metadata for 'lightdash-healthcare-demo.lightdash_gardening_demo.dbt_orders'. Invalid response body while trying to fetch https://www.googleapis.com/oauth2/v4/token: Premature close

💡 Run lightdash diagnostics for more info.

⚠️ You are using Node.js version v22.23.0. Lightdash CLI is optimized for v20 so you might experience issues.

This validation check is informational and does not block merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants