Skip to content

Telemetry schemas#141

Open
BElluu wants to merge 1 commit into
beyond-all-reason:masterfrom
BElluu:issue-140-20260526
Open

Telemetry schemas#141
BElluu wants to merge 1 commit into
beyond-all-reason:masterfrom
BElluu:issue-140-20260526

Conversation

@BElluu

@BElluu BElluu commented May 26, 2026

Copy link
Copy Markdown
Contributor

Closed #140

Adds four new Tachyon endpoints under the telemetry/ namespace to support client-side analytics in bar-lobby:

  • telemetry/simpleClientEvent - log a named event with no payload
  • telemetry/complexClientEvent - log a named event with an arbitrary JSON payload (max 4096 bytes)
  • telemetry/updateClientProperty - set or overwrite a named client property (e.g. window mode, resolution)
  • telemetry/uploadInfolog - upload a gzip-compressed, base64-encoded log file; responds with infoLogId

@geekingfrog geekingfrog left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, I don't know where any of these requirements came from.
Like, what things are we trying to know? What features do we want?
The whole thing about anonHash doesn't make sense, there is no concept of unauthenticated tachyon connection, at least yet. If we allow that, that would need additional considerations and discussion.

That read like some hallucination without much thought behind.

Comment on lines +21 to +23
contents: Type.String({
description: "Base64-encoded, gzip-compressed log contents.",
}),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's not going to fly. Tachyon (and anything json based in general) is absolutely not meant to move files around. This can be big as well, making it really really not a good fit for that kind of thing.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this about? it says "set or overwrite", how do you retrieve it? I don't get how you do any of that.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need a different message between simple and complex. The payload can be optional, and that's it.

@BElluu

BElluu commented Jun 6, 2026

Copy link
Copy Markdown
Contributor Author

Overall, it needs to be discussed. I based it solely on the task and simply wanted to approach the discussion with anything, with any vision. The discussion is open ☺️

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

Successfully merging this pull request may close these issues.

Telemetry

2 participants