Skip to main content
Solved

How do we understand whether a Lobby Dashboard is used or not by users?


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Superhero (Customer)
  • 326 replies

Hi,

We would like to understand if lobby screens are used or not used by users. Is it possible to understand when a user uses a lobby screen last time? Do users use any lobby? Quick Report has a log table. So, we can get this information. However, we need to do this for lobbies.

Thanks.

Best answer by KIMKIMANDREW

We ended up writing a PL/SQL package that logged to a custom table.
Then added an element to each Lobby that called the API to write the log.

and then reported on that.

View original
Did this topic help you find an answer to your question?

11 replies

Forum|alt.badge.img+11
  • Hero (Customer)
  • 148 replies
  • October 16, 2023

Hi @hhy38 I’ve also been thinking about this for some time. The best idea I have come up with is to use the raw apache logs that are generated and somehow tie that in with the URL that is generated by the unique ID of the lobby. Based on this you should be able to see the last time the URL was accessed and therefore understand if the are in/out of use. 


Forum|alt.badge.img+10
  • Hero (Customer)
  • 82 replies
  • Answer
  • October 18, 2023

We ended up writing a PL/SQL package that logged to a custom table.
Then added an element to each Lobby that called the API to write the log.

and then reported on that.


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • October 18, 2023
KIMKIMANDREW wrote:

We ended up writing a PL/SQL package that logged to a custom table.
Then added an element to each Lobby that called the API to write the log.

and then reported on that.

Hi @KIMKIMANDREW,
That’s look like very smart. Thank you. I will try to apply and I will turn back. 


Forum|alt.badge.img+11
  • Hero (Customer)
  • 148 replies
  • October 18, 2023

@hhy38 I like it, do you write to a custom LU? or some database alert log?


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • October 19, 2023
david.harmer wrote:

@hhy38 I like it, do you write to a custom LU? or some database alert log?

@david.harmer Probably, I will prefer to write an API. Because, we don’t need to see the logs on the application.  


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • November 9, 2023

@KIMKIMANDREW Hi,

 

I prepared a function. Functions don’t allow to perform DML operation. How did you solve it?

Regards,

Hasan


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • November 10, 2023

Hi Damith @dsj 

 

Do you have any suggestion?


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 880 replies
  • November 10, 2023

Hi @hhy38 

I suppose if you use PRAGMA AUTONOMOUS_TRANSACTION; in the function, then you could avoid this error. However, I think monitoring the http logs as  @david.harmer suggested would be a better approach for such a requirement.

 Cheers!

Damith


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • November 10, 2023

Damith thank you.

 

I don’t have any knowledge about monitoring http logs. If I can’t solve it. I will use this way.

when I write PRAGMA AUTONOMOUS_TRANSACTION. Some bizarre things happen. It didn’t work before and threw the “ora 06519 active autonomous transaction detected and rolled back” error. After some minutes It worked. I was happy a lot. I changed something in the same API which is not related to this function. Now it is throwing the same error. What happened? I couldn’t understand.

 

 


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • November 10, 2023

@dsj Damith,

 

I solved the problem. We must use COMMIT with PRAGMA AUTONOMOUS_TRANSACTION. I am happy again. :)

 

 


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • 326 replies
  • November 10, 2023

Thank you all. The function adds logs to the custom page.

 

 

 

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings