Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug]: Dashboard shows only data from default dataset, ignores custom analytics dataset configuration

Open
#248 0 comments 1 reaction 0 assignees View on GitHub

@rbonestell is already working on this.

Since May 28, 2026.

  • #251 by @rbonestell — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
analytics, backend

Research direction

Start in @counterscale/server and locate the AnalyticsEngineAPI SQL queries that use the hardcoded "metricsDataset" name. Trace the CF_DATASET_NAME configuration through dashboard queries, then verify that a custom dataset displays collected data.

Written by the indexing model from the issue text.

Description

bug
Bug Description

Dashboard hardcoded to query "metricsDataset" while tracking writes to custom dataset.

Empty dashboard despite successful data collection
Root Cause: Hardcoded dataset name in AnalyticsEngineAPI SQL queries
Fix Applied: Made dataset name configurable via CF_DATASET_NAME environment variable

Steps to Reproduce
  1. Install Counterscale with custom dataset name
  2. Report some sata
  3. See data are in the dataset
  4. Dashboard see no data
Expected Behavior

Dashboard will see data in a dataset

Actual Behavior

Dashboard is empty

Component

@counterscale/server

Environment

Cloudflare ;-)

Additional Context

No response

Dominant language
TypeScript
Stars
2.2k
Forks
136
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from benvinegar/counterscale

All issues in benvinegar/counterscale

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.