Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIv2: Fix percentage metric 500s #5099

Merged
merged 4 commits into from
Feb 26, 2025
Merged

APIv2: Fix percentage metric 500s #5099

merged 4 commits into from
Feb 26, 2025

Conversation

macobo
Copy link
Contributor

@macobo macobo commented Feb 20, 2025

Previously APIv2 would return a 500 up for a query like the follows:

{
  "site_id": "plausible.io",
  "metrics": ["percentage"],
  "date_range": "7d",
  "dimensions": ["visit:browser"]
}

This was because of a missing visitors metric. This PR fixes that issue and another related query issue along the way.

Ref: https://3.basecamp.com/5308029/buckets/36789884/card_tables/cards/8335318634

@macobo macobo requested a review from a team February 20, 2025 07:45
@macobo macobo added this pull request to the merge queue Feb 26, 2025
Merged via the queue into master with commit 8aad9b1 Feb 26, 2025
7 checks passed
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.

2 participants