msgbyte / tianji

Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives
https://tianji.msgbyte.com/
Apache License 2.0
1.44k stars 83 forks source link

[Feature/Bug] How to delete telemetry? #34

Open gander opened 6 months ago

gander commented 6 months ago

There are no "delete" button for telemetry? v1.7.3

moonrailgun commented 6 months ago

yeah, its a new feature added recently. i will add it

xavier-hernandez commented 6 months ago

I'm using v1.7.3. I don't see a way to delete it. Was the docker image updated?

image

moonrailgun commented 6 months ago

we will push new design recently days(v1.8.0). and this feature will push together.

but good point. i think we can release new 1.7.4 before new design. let me do it

gander commented 6 months ago

Yest, it's here: obraz

But also need it here: obraz

The https://github.com/msgbyte/tianji/issues/39 isn't the solution, need allow remove registered path, not entire telemetry configuration

moonrailgun commented 6 months ago

idk why you need delete some part of data, because its your data.

dont understand

gander commented 6 months ago

obraz

While wondering what answer to give you, I came to the conclusion that not only deleting tracks, but also updating visit counter would be useful.

I am managing a website where telemetry would be perfect and could replace profiling analytical scripts. However, for this purpose I would need to be able to set initial values.

xavier-hernandez commented 6 months ago

I can verify that the delete button is now showing in the latest version.

moonrailgun commented 6 months ago

obraz

While wondering what answer to give you, I came to the conclusion that not only deleting tracks, but also updating visit counter would be useful.

  • Deleting because sometimes we do not need certain data, it was created as a result of an error (2), or for a path that does not exist, and this negatively affects the statistics in the panel. In such a situation, deleting the entire configuration is not a suitable solution, especially if there are counter values that we want to keep (1). Uptime Kuma also allows you to clear data without deleting the configuration.
  • Update, because path telemetry is great for presenting the number of visits to a given subpage of the website, and we can have such values ​​from other scripts, and we do not want the counter to start from zero for given paths.

I am managing a website where telemetry would be perfect and could replace profiling analytical scripts. However, for this purpose I would need to be able to set initial values.

I hear you, but i think you are talking about different thing, for example, uptime kuma allow you delete some data, because some data is outdata but storage much lots of storage space. because its is auto generate rather then real user visit. no website analysis tool will add a feature to delete spec data. but we can filter out it future. its we will do. and delete old data feature.

yeah, we actually have a count start function. But the documentation has not been updated.

In addition to the following parameters available for badge.

xxx.svg?start=xxxxx&name=xxxx&url=xxxx&fullNum=true

i will update document for that: https://tianji.msgbyte.com/docs/telemetry/params

gander commented 6 months ago

I had one more case arguing in favor of being able to delete/zero the value for a given path: if I delete a page and after some time (or immediately) create it again, exactly at the same address, and I would like the counter to count from zero, then I have no way to reset this path. Using the provided functionality, I would have to create a new configuration and set all the addresses I would like to save from the saved starting values. A lot of work.

moonrailgun commented 6 months ago

I think this is rarely case. But I will keep open this issue to see if more people have the same situation. But I hear you, it might take some time to think.