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

Add cross-region statistics to admin dashboard #1433

Closed
Tracked by #133
dkehne opened this issue May 17, 2022 · 9 comments
Closed
Tracked by #133

Add cross-region statistics to admin dashboard #1433

dkehne opened this issue May 17, 2022 · 9 comments
Assignees
Labels
💡 feature New feature or request ❗ prio: medium Should be scheduled in the forseeable future. ❓ question Further information is requested 😱 effort: high Big change, which requires >12h

Comments

@dkehne
Copy link

dkehne commented May 17, 2022

Motivation

We have a some activities and actions which are measured by quantitative numbers, e.g.

  1. active contributors in Integreat and active contributors per region
  2. API usage statistics for all regions will be done with a different tool, see INFRA-281
  3. which language is used how often
  4. how many instances are online/hidden
  5. whats the average amount of words?
  6. whats the average translation status (how many pages are up to date, how many are not up to date

Proposed Solution

We could develop a analytics dashboard to show up this figures. does not need to be too graphical, because it is just for us to see if things develop the right way.

Alternatives

Additional Context

@dkehne dkehne added the 💡 feature New feature or request label May 17, 2022
@dkehne dkehne changed the title The network instance of our CMS has its own analytics dashboard to see integreat-wide figues The network instance of our CMS has its own analytics dashboard to see integreat-wide figures May 17, 2022
@svenseeberg svenseeberg changed the title The network instance of our CMS has its own analytics dashboard to see integreat-wide figures Add network dashboard with cross-region statistics May 17, 2022
@osmers
Copy link

osmers commented May 17, 2022

I'd add

@svenseeberg svenseeberg added this to the Backlog milestone May 17, 2022
@timobrembeck timobrembeck changed the title Add network dashboard with cross-region statistics Add cross-region statistics to admin dashboard May 17, 2022
@timobrembeck timobrembeck added the 😱 effort: high Big change, which requires >12h label May 17, 2022
@svenseeberg svenseeberg modified the milestones: Backlog, 22Q4 Jun 7, 2022
@svenseeberg svenseeberg added the ‼️ prio: high Needs to be resolved ASAP. label Jun 7, 2022
@timobrembeck timobrembeck added ❗ prio: medium Should be scheduled in the forseeable future. and removed ‼️ prio: high Needs to be resolved ASAP. labels Oct 2, 2022
@timobrembeck
Copy link
Member

For reference: 2. is not relevant anymore since this will be solved in INFRA-281

@timobrembeck timobrembeck modified the milestones: 22Q4, 23Q1 Nov 7, 2022
@JoeyStk JoeyStk added the ❓ question Further information is requested label Feb 17, 2023
@ulliholtgrave ulliholtgrave modified the milestones: 23Q1, 23Q2 Feb 18, 2023
@JoeyStk
Copy link
Contributor

JoeyStk commented Mar 6, 2023

Should be transfered to Jira

@timobrembeck
Copy link
Member

timobrembeck commented Mar 6, 2023

However, I wouldn't put too much Python code on our production servers without the normal reviewing process of our cms repo. So instead, I suggest to wait for #2071 to get merged and implement all the stats methods as management commands, which can then be called on the prod server to write the stats to grafana.
This would mean that this issue can remain open and tracks the development process of the management commands itself (which query the data from the database and write the result to stdout)...

@osmers
Copy link

osmers commented Mar 6, 2023

@timoludwig yes, that's exactly what we discussed - we want to have all those statistics in grafana which is why Sven will transfer it to Jira Infra Board for himself

@timobrembeck
Copy link
Member

Yes, but I wouldn't recommend to implement these functions as scripts running only on the production server - instead, we should develop them as part of this repository (which also means we can properly test them), so the infra part can be reduced to "execute one command and send the result to grafana"...

@svenseeberg
Copy link
Member

svenseeberg commented Mar 6, 2023

I think it depends on what we need the data for and how often we need it. If this is some kind of frequent and permanent process that uses the information, then yes. If we only need this once or a few times, I'd reduce the effort as much as possible.

We may need some use cases or user stories for the different kinds of information.

Let's have a look at the individual points:

  1. is already done. Sure, could be moved into this repo as a CLI tool
  2. I think this can definitely be considered outside of the scope of the CMS itself
  3. Could be included in Show specific regions that use a language #2055 ?
  4. Not sure if that needs to go on a dashboard? This does not really provide actionable information.
  5. Average amount per region or per page? What is this information used for?
  6. Only seems useful if we can derive any action from it? We would still have to look into the individual regions to see where we need to act and how?

I think we would need a table with all regions in it and the following columns:

  • region name
  • avg amount of words per page(??)
  • used languages (only flags/icons with mouse over?)
  • number of non-archived pages
  • number of not up to date pages

As this is probably too large for the dashboard, I'd move it into a new location.

AFAICT this list would mainly serve one purpose: find regions where the content is not up to date.

@svenseeberg
Copy link
Member

AFAICT this list would mainly serve one purpose: find regions where the content is not up to date.

@dkehne @osmers could you please provide some user stories or use cases?

@timobrembeck timobrembeck modified the milestones: 23Q2, 23Q3 Jul 2, 2023
@ulliholtgrave ulliholtgrave modified the milestones: 23Q3, 23Q4 Jul 17, 2023
@dkehne
Copy link
Author

dkehne commented Sep 11, 2023

We will convert this issue into some tasks for Grafana.

@dkehne dkehne closed this as completed Sep 11, 2023
@svenseeberg svenseeberg modified the milestones: 23Q4, Backlog Sep 12, 2023
@timobrembeck timobrembeck mentioned this issue Nov 3, 2023
31 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 feature New feature or request ❗ prio: medium Should be scheduled in the forseeable future. ❓ question Further information is requested 😱 effort: high Big change, which requires >12h
Projects
None yet
Development

No branches or pull requests

6 participants