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

Application usage statistics #2329

Open
alex-odysseus opened this issue Dec 18, 2023 · 1 comment · May be fixed by #2387
Open

Application usage statistics #2329

alex-odysseus opened this issue Dec 18, 2023 · 1 comment · May be fixed by #2387
Assignees
Labels
Milestone

Comments

@alex-odysseus
Copy link
Contributor

Business requirements

There should be a way to know which application functionality is used frequently by users so that any future feature enhancements can be additionally supplemented with some raw data of actual application usage in the relevant areas

Answering to the following questions is essential:

  • how often a user performs an Analysis Execution on a particular Data Source
  • what are trends of a user accessing a particular application functionality

Design Ideas and Functional Requirements

As the Audit Trail (#1913) contains the most comprehensive data entries of by whom/when/which endpoints have been invoked the newly designed endpoints will rely on those

The first endpoint will be tailored to the particular functionality - Analysis Execution (including Cohorts) on Data Sources
The second endpoint will be more common and may receive an arbitrary list of analyzed endpoints of interest with a notion of placeholders

By default both endpoints will be available for the administrators only (additionally can be administered by assigning the corresponding permissions to a desired user role) and should have a possibility to provide the results both in JSON and CSV formats for its easy processing by the client applications. As user identifiers are usually treated as personal identifiable information (PII) there should be a possibility to exclude their propagation to the results

@mrechkem @Sathyaraos

@alex-odysseus alex-odysseus added this to the v2.15 milestone Dec 18, 2023
@alex-odysseus alex-odysseus self-assigned this Dec 18, 2023
@anthonysena anthonysena moved this to 📋 Backlog in Atlas/WebAPI v2.15 Dec 19, 2023
@anthonysena
Copy link
Collaborator

anthonysena commented Feb 20, 2024

Raising a few questions with this requested feature:

Answering to the following questions is essential:

  1. how often a user performs an Analysis Execution on a particular Data Source
  2. what are trends of a user accessing a particular application functionality

For 1 above, can't we obtain this from the jobs table(s) in the WebAPI database? Any analysis that runs is captured in this table and should include the data source.

For 2 above, can this live outside of the ATLAS DB? Since the audit log trail produces .txt files with this info, wouldn't a simple log parser suffice? Is this really necessary to surface in the the application?

@alex-odysseus alex-odysseus linked a pull request Aug 27, 2024 that will close this issue
@anthonysena anthonysena linked a pull request Sep 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

2 participants