Pulse User Sessions vs. REST API User Sessions

postman
restapi
pulse
sessions

#1

Hi pulse Team,

we have a situation here, where pulse is showing different information about the User-Sessions in TM1 then the TM1 REST API.

Which version is true?
Is this a known issue?

Cheers,

Marius


#2

Hi @mwirtz,

Sessions and Threads are different things, using the old C API every “session” had its own thread for the lifetime of the session. For the REST API this has been changed so that TM1 holds a list of “sessions” separate to the threads and then shares the threads between the sessions. This new model only impacts REST API connections and should help when scaling to many thousands of users.

Pulse is getting information through the old C API but it should be similar to what you receive see when querying the Threads collection in the REST API.


Pulse session monitor - blank sessions
#3

Hi,

Yes. When we query Threads through the REST API we get a very similar picture to what pulse is showing.

I think it would be nice if in a future version of Pulse you could toggle whether you want to see Sessions or Threads in the monitoring page.


#4

Hi @mwirtz,

You can tick the Active box to remove all inactive sessions:

Cheers,

Vincent


#5

Hi,

we are still on Pulse 5.5. In our Version Pulse is showing Threads, even though in the page it says “Session Monitor”.
(As Tim pointed out in his earlier response, the naming makes sense kinda, because there used to be a 1 to 1 relationship between session and thread in TM1 versions < 10.2.2)

In the TM1 Server (>= 10.2.2) a user can have a pool of threads associated to their session.
What I was looking for is an overview of the sessions that are curently open in TM1, because in our Setup the monitoring page looks a bit busy / obscure as we have a lot of REST API sessions, which all have 1 or more threads associated to them (sometimes up to 10).

Not sure if the Active Checkbox could help. The Active Checkbox is still Filtering Threads in Pulse 5.6, right?

Cheers,

Marius


#6

Hi @mwirtz,

Pulse only shows threads, Pulse has been around longer than the REST API and thread/session were the same thing for the first 30 years on TM1. We will look at adding the session info when we migrate to the REST API.


#7

Okay. Thank you