I’m trying to obtain a license info (DEM in particular) by perform a user session query like this ---> SELECT COUNT(totalLicenseCreditCount) FROM usersession
My question is, what kind of object is “totalLicenseCreditCount”?
But what means “credits”? Can someone explain in other words this? How can i use it to count license utilization in a user session query (if is possibile)?
Thanks for your answer Sebastian. So, if i run this query, i consumed 6832 DEM in last 1 hour (my timeframe selected)? Because i’m not sure that it’s true, but documentation is not very clear.
If 1 Credit=0.25 DEM, or 1 Credit=1 DEM, this query is correct to calculate DEM consumed in a specific timeframe?
“User session” in this case contain real user and synthetic.
These are my results (metric billed sessions and USQL from the same period of time). So it seems I may be right. Divide this results by 4 and you will get DEM consumption.