Hi! Want to understand is Signoz right tool for analytics? My use case: For a user making requests o...
r
Hi! Want to understand is Signoz right tool for analytics? My use case: For a user making requests on video streaming content here server is hit every 10s or similar duration and on each request I plan to add it in queue and process those events. The goal is to keep a track of total requests made by each user on each content for a duration. 1. Example: A user X browsed content A from duration [t1 (first seen request), t2(last seen request), max_gap(1hr) ] something like this and maybe visualizing this in a dashboard based on the query entered by dev or API. 2. Amount of RPS can be larged and based on it we might add alerts like if RPS of a user is high than X for a duration something like that ...
s
Yes, you can do this with SigNoz. How many users do you have?
r
Currently 150 - 200 daily active users out of which 60% will emit events on high throughput
s
You can create counter metrics that track the number of times requests are made by the user.
r
Ic, however something similar to grafana charts wont be possible? To plot graphs and see no of requests specific to each route or group in a particular timeframe and all that on top of dashboard input of userId?
s
You can group by whatever you want as long as it exists in labelset.
🙌 1
r
Understood Thanks, still a concept in my mind. Will try to implement is ASAP
BTW Is there any specific format of logging? Or I can read any key in label set? Say
data.something.another.userId
or it requires in some format? I tried checking the docs, but couldn't find any references to this
s
data.something.another.userId
, is this a key or a nested json?
r
Yes its a nested json, I just shared the key path. In actual it iwll be accessibile
s
If you use this userId frequently, it would be a good idea to extract it out https://signoz.io/docs/logs-pipelines/introduction/