[IGN-5534, IGN-5597] EAM Session Count - Unauthenticated Perspective Sessions

Many of our sites have started to have public project access, AKA kiosk mode, or “always-on”.

It could be on a fixed terminal on the floor or on someone’s laptop but for 90% of the application, authentication is not required. Authentication is required for things like machine control.

The point I would like to raise is that in EAM session counts, perspective sessions are not counted.

So if we look at the session count metric in EAM it looks like no one is using the app but then we go to the gateway and look at the perspective session count and see that several sessions (not our own) are open and in use.

We would like to have a way to track both unauthenticated and authenticated perspective client sessions in EAM.

Thanks,

Nick

1 Like

I’d like request this again. In our EAM we have one agent in particular that I thought was low use because it shows up like this:

However, when you visit the gateway, it is a completely different story, and actually usage is quite good:

I would still like to request that authenticated and unauthenticated perspective session stats be added to the standard EAM offering.

Thanks,

Nick

1 Like

Looks like we forgot to add a new system tag to track perspective client sessions in EAM when we created the Perspective Module. We have added a new feature ticket to our internal tracking system to track this request. We’re planning on adding a new PerspectiveClients system tag which counts all Perspective Client Sessions (whether or not they are authenticated).

1 Like

@jspecht I don’t know if the fix you already have planned will take care of this, but the system tag for session count (not part of EAM) does not reflect the number of actual sessions.

At this moment, there are 10 active perspective sessions on this project, but only 1 shows:

Sorry about not saying it earlier but I just noticed tonight.

Thanks,

Nick

Thanks for pointing that out.

What we’ll likely end up doing is adding a new set of perspective-specific system tags underneath Gateway/Perspective. The client sessions count will be one of the tags under this new folder. I’ve linked this thread to internal ticket IGN-5597 to track this effort.

We’ll still add the perspective session count EAM system tag separately though (IGN-5534).

IGN-5534 made it into early access build 8.1.16-b20220310 - see Nightly 8.1 Changelogs - 2022 - #38 by sreis.

Hello @jspecht. May I ask you which system tag is reporting the Perspective session count? I’m using Ignition 8.1.19 and I still only see [System]Gateway/Sessions/SessionCount, which doesn’t keep track of Perspective sessions. Is this tag only present in Ignition Enterprise?
Thank you!

@Davide3i I checked just now and I only see perspective session counts on our EAM machine. I do not see any tag for perspective session count on the agent gateway that serves the perspective app.

Nick

1 Like

IGN-5534 added the [System]Gateway/EAM/Agents/{AgentName}/{RedundancyRole}/Metrics/Sessions/Perspective Sessions system tag on the controller (see System Tags - Ignition User Manual 8.1 - Ignition Documentation)

IGN-5597 will add [System]Gateway/Perspective/SessionCount (and possibly other Perspective system tags) to each Gateway with Perspective installed

1 Like

@jspecht I believe I said thanks for adding perspective session counts into EAM but if I did not, thanks and we have been using them for sometime now, very helpful.

I would also like to know if we can add additional tags for authenticated and unauthenticated sessions.

This can help differentiate between always on screens (kiosk) and personal use screens.

Thanks,

Nick

1 Like

Are you looking for an aggregate for total count of authenticated sessions vs unauthenticated sessions? Do you need this breakdown by session type? (Designer vs Vision Client vs Perspective)

In theory, this is all possible, though on the dev side, it would be good for us to take a step back and think about the structure of these tags, as I can see how this is a slippery slope for adding more and more statistical tags revolving around sessions. Might be best to refactor the tag hierarchy a bit to drill down into each session's details underneath each session type. Session details can then be easily extensible...

As a workaround in the meantime, you might consider exploring exposing your own custom tag which invokes scripting functions for collecting session info. Everything you need is likely already available.

See: system.perspective.getSessionInfo and system.util.getSessionInfo

1 Like

Hi @jspecht , I know it's an old post, but was very curious to know if IGN-5597 has been resolved yet? as I can't see [System]Gateway/Perspective/SessionCount available in Ignition 8.1, but rather I can see [System]Gateway/Sessions/SessionCount which is not the Perspective session count but designer session count.
If it's not yet resolved, any idea in which release will have this implemented? thanks.

Hi @SHuidrom -

The ticket is still sitting in the backlog ready for a dev to pick up. I doubt we will get to this until after 8.3 is released. This will likely target a minor version of 8.3.