Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form Runner admin console with analytics #1946

Open
ebruchez opened this issue Oct 11, 2014 · 13 comments
Open

Form Runner admin console with analytics #1946

ebruchez opened this issue Oct 11, 2014 · 13 comments

Comments

@ebruchez
Copy link
Collaborator

ebruchez commented Oct 11, 2014

The purpose is to provide access to useful runtime information, including:

  • number of compiled form definitions in memory
  • form sessions
    • number of currently active
    • form sessions opened, with timestamp
    • with errors
    • submitted
    • abandoned
    • time spent
    • activity pattern (number of Ajax updates, for example)
    • time active/serialized
    • time to destruction (with session expiration)
    • whether currently active
  • cache sizes
  • available memory
  • estimates of form memory usage
  • timings
    • form compilation
    • form loads
    • form sessions initialization
    • calls to services
  • etc.

Consider:

See also #1718.

@ebruchez
Copy link
Collaborator Author

@ebruchez
Copy link
Collaborator Author

For now we don't need to schedule this, but:

@ebruchez
Copy link
Collaborator Author

We have been doing some experimental work on this:

  • logging data in JSON format
  • started writing an analyzer to extract useful information

List of useful metrics [REVIEW]:

  • connected users
    • non-expired servlet session
    • with activity in last n minutes
  • active users
    • users with at least one active form
  • forms that have had at least one interaction
  • forms that have been sent
  • forms that have been abandoned (not saved or sent)
  • active forms over time, for some definition of active
    • haven't been saved but have been accessed during the last n minutes
  • forms that have been loaded but that have never had an interaction
  • number of concurrent requests
  • number of pending requests (waiting in line to be served on one of the locks)
  • processing times and latency
    • loading time (form + updates)
    • wait time (form + updates)
    • time to call services
    • time to call persistence layer
    • time to save/send
  • activity over time, and the number of directions per minute
  • email/PDF activity

@ebruchez ebruchez changed the title Form Runner admin/performance console Form Runner performance console Nov 10, 2014
@ebruchez
Copy link
Collaborator Author

ebruchez commented Jun 21, 2017

As a tiny step, here is some information which would be useful:

As a start, we could have a tab/page in /fr/ to show this information when the user is logged.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Mar 8, 2018

+1 today to see what outgoing HTTP connections to services have happened and/or are pending. In particular, we have a case where a connection was stuck, and it would be good to know that this is happening (connection started but not yet completed, for example).

@ebruchez ebruchez changed the title Form Runner performance console Form Runner development console Mar 8, 2018
@ebruchez
Copy link
Collaborator Author

ebruchez commented Mar 8, 2018

See also #2169.

@ebruchez ebruchez changed the title Form Runner development console Form Runner admin/development console May 30, 2018
@ebruchez
Copy link
Collaborator Author

ebruchez commented May 30, 2018

  • We could create a new /fr/console page for this. It could be split in parts/tabs as needed. /fr would remain as is for now.
  • As a first step it could show memory settings and a few other important information.
  • That page must only be shown to "admin" users.

@ebruchez
Copy link
Collaborator Author

See also #3534.

@ebruchez
Copy link
Collaborator Author

+1 from evaluator

@ebruchez ebruchez changed the title Form Runner admin/development console Form Runner admin console Jan 16, 2020
@ebruchez
Copy link
Collaborator Author

I renamed to "admin console". In fact this is more about visibility. For development, we have #2169.

@ebruchez
Copy link
Collaborator Author

+1 from customer for:

  • count/grouping of published forms by app name (improvement on Form Metadata API?)
  • number of forms submitted by the user

@ebruchez
Copy link
Collaborator Author

ebruchez commented Aug 1, 2023

We need to give this a new round of thinking as it would be a great enhancement to the product. This could be placed either as a tab in the /fr/admin page, or as a separate page, like /fr/console. This would initially require the same access rights as the Admin page.

Metrics fall under different categories:

  • system, like memory, etc.
  • other low-level, like connections, etc.
  • low-level form status, like caches
  • high-level form status, like forms filled, etc.

As a first step, we need to see if something like Metrics would really help (I suspect it would).

Then we can look into implementing support for the first metrics, and go on from there.

@avernet avernet changed the title Form Runner admin console Form Runner admin console with analytics Jan 4, 2024
@avernet
Copy link
Collaborator

avernet commented Jan 4, 2024

+1 from customer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants