-
Notifications
You must be signed in to change notification settings - Fork 15
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
Tagged thresholds improperly saved in the TimescaleDB's threshold table #13
Comments
I did some digging and ... ughh. So the column Later when I had to make this runnable I readded the column ... I think because there was a query that used it and it was failing the whole dashboard I kind of wonder if it's needed even 🤷 I kind of feel like dropping the whole column again and removing it usage 🤔 We will need to readd the parsing of the threshold. Which might not work in the future if we add more stuff in k6. Maybe we should have the tags accessible from the Threshold directly from k6 🤷. cc @javaducky do you have any input here? @viginti23 what do you want to use that column for? Does it make sense to have it at all? I mean it seems like we will always want to show the whole name(including the metric name). I guess if you have a lot of thresholds it might be nice to query based on tags and or metric not the two at the same time 🤔 But seems kind of niche to me and still doable without the column. |
Hi, |
In my case I want the tags column to be filled with at least the testid field (that is passed when executing the k6 script) so that the graph for the checks can be more accurate. For example at the moment this is the query for the thresholds graph:
The problem with this is when I'm checking out a specific test id, this won't show the correct thresholds for that test id.
|
As mentioned it the title, when passing tagged metrics in thresholds like so:
'http_req_duration{name:login}': ['p(95)<55000'],
they are not saved properly in the database, namely the metrics are not separated from their tags and the 'tags' column in the threshold table is populated with
null
s.The text was updated successfully, but these errors were encountered: