tianji icon indicating copy to clipboard operation
tianji copied to clipboard

[Feature/Bug] How to delete telemetry?

Open gander opened this issue 1 year ago • 10 comments

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

gander avatar Mar 20 '24 10:03 gander

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

moonrailgun avatar Mar 21 '24 13:03 moonrailgun

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

image

xavier-hernandez avatar Apr 03 '24 05:04 xavier-hernandez

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

moonrailgun avatar Apr 03 '24 07:04 moonrailgun

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

gander avatar Apr 03 '24 13:04 gander

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

dont understand

moonrailgun avatar Apr 03 '24 13:04 moonrailgun

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.

gander avatar Apr 03 '24 16:04 gander

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

xavier-hernandez avatar Apr 03 '24 22:04 xavier-hernandez

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

moonrailgun avatar Apr 04 '24 13:04 moonrailgun

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.

gander avatar Apr 04 '24 16:04 gander

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.

moonrailgun avatar Apr 04 '24 17:04 moonrailgun