counterscale icon indicating copy to clipboard operation
counterscale copied to clipboard

How should I delete the incorrectly set your-unique-site-id?

Open KunBuFenZi opened this issue 1 year ago • 4 comments

image I mistakenly set up these two, how should I delete them?

KunBuFenZi avatar Sep 25 '24 04:09 KunBuFenZi

I'm afraid there's no way to delete individual rows out of Analytics Engine (the data store behind Counterscale), so you have two choices:

  1. Delete and re-create your Analytics Engine dataset (you'll lose everything / start fresh)
  2. Let the data "age out" (wait 90 days) and it will no longer appear in that list

I suppose in the future we could put the sites in KV or some other Cloudflare data store, and you can do some light management, but that would add complexity.

benvinegar avatar Sep 28 '24 00:09 benvinegar

恐怕无法从 Analytics Engine(Counterscale 后面的数据存储)中删除单个行,因此您有两种选择:

  1. 删除并重新创建 Analytics Engine 数据集(您将丢失所有内容/重新开始)
  2. 让数据“过期”(等待 90 天),它将不再出现在该列表中

我想将来我们可以将 KV 或其他一些 Cloudflare 数据存储放在 KIN 中,你可以做一些轻量级管理,但这会增加复杂性。sites

How can i delete them? i didnt see the delete button,and when i try to use api ,it shows error

root@iZj6c0m028f1d1jlvanzhiZ:~# curl --request DELETE \

https://api.cloudflare.com/client/v4/accounts/805xxxxxxxxxxxxxxxxxxx/rulesets/metricsDataset
--header "Authorization: Bearer i5_oblTgxxxxxxxxxxxxxxxxxxxxxxx" {"success":false,"errors":[{"code":10000,"message":"Authentication error"}]}

KunBuFenZi avatar Oct 06 '24 17:10 KunBuFenZi

@KunBuFenZi Okay, this is very fair, I thought there was a way to delete this in the UI but it appears not. I don't see any obvious documentation in Cloudflare either.

cc @irvinebroque

benvinegar avatar Oct 21 '24 07:10 benvinegar

After more digging, I found it here:

image

To get here, go to: Workers & Pages → Find and click counterscale → Settings.

benvinegar avatar Oct 24 '24 09:10 benvinegar