11 Nov 2024 02:17 PM - edited 11 Nov 2024 02:47 PM
I'm building SLO vi DQL, skipping the standard SLO creation.
When I do so, I have the result in percentage but the result itself is expressed in the original unit for which the metric is calculate upon (millisecond).
How can I force the unit to change: not making it visibile or switch it with the symbol of a percentage?
Regards
11 Nov 2024 04:22 PM - edited 11 Nov 2024 05:09 PM
Hi @y_buccellato ,as you're working in notebooks, you'd probably have to make the notebook section aware of what unit you expect in the results. You can do that in the section options, units&formats.
My bad, just recognized that you're querying your objective within a guardian. Here, I'm afraid, there's no option to change this - I'll doublecheck with the team.
In any case, the result is correct; it seems the guardian's objective is just wrongly taking the unit of the first queried metric, but we will change the unit visualization.
As you are creating SLO based on DQL queries - have you already seen the recently released SLO feature: SLOs for all data types where you can build SLOs based on DQL. In this blog post there's a link to our playground tenant where some SLO examples are presented.
Best,
Gerhard
12 Nov 2024 08:00 AM
Thank you Gerard, so far I understood the behavior of DT in SRG, inheriting the unit of measure from the metric I'm using. Hope I can change the unit soon in SRG as the information applied with DQL make it become a percentage.
Do you know if I can already change this in DQL in notebook for example?
When I first run this query in Notebook it didn't appear to me that the result was inheriting the unit of measure. Also in Data explorer (I did this too with Metric Expression) the metric built seemed to be agnostic to unit of measure.
The SLO new app I must say, I just touched it yesterday and thing are not very good in the fundamentals:
but this just brought me to the general community page and I decided to go classica SLO cause I was not so acquainted with the new feature.
12 Nov 2024 08:25 AM
The team is already investigating how to address the display of units within the SRG objectives.
You can't change the unit itself in DQL. But, Notebook and Dashboard provide an option to override the displayed unit.
Thanks for the feedback regarding the new SLOs.
Thanks
Gerhard