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

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

Open
KunBuFenZi opened this issue Sep 25, 2024 · 4 comments
Open

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

KunBuFenZi opened this issue Sep 25, 2024 · 4 comments

Comments

@KunBuFenZi
Copy link

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

@benvinegar
Copy link
Owner

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.

@KunBuFenZi
Copy link
Author

恐怕无法从 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"}]}

@benvinegar
Copy link
Owner

@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
Copy link
Owner

After more digging, I found it here:

image

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

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

No branches or pull requests

2 participants