avniproject / avni-reporting Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
This is more of a log of what was done, so that we have a record of it somewhere.
Ensure all production connections from Metabase have sync turned off by default.
Add alerts and create tickets whenever read db CPU goes high.
See https://avni.freshdesk.com/a/tickets/783 for an example ticket that is created.
On avni-server, improve performance on views that get created - Change view generation to start using the function get_coded_string_value.
Fix views based on 3 above for Hasiru Dala (KA and TN), JNPCT and MDSR.
Stop working on this for a while since things are much better.
Optimise few JSS queries that are taking long time to execute which are spiking the CPU on the read database.
https://avni.freshdesk.com/a/tickets/798
DB user: jss
Log file - Search for text: "duration" (value over 50000ms)
Reports using these queries: https://reporting.avniproject.org/question/143
https://avni.freshdesk.com/a/tickets/802
DB user: jsscp
Log file - Timestamp:11:40:16
Reports using this query: https://reporting.avniproject.org/question/520 https://reporting.avniproject.org/question/476 https://reporting.avniproject.org/question/940, Jasper JSSCP Aggregate - Antenatal services during pregnancy.
https://avni.freshdesk.com/a/tickets/804
DB user: jsscp (Query structure is similar to case 1 above)
Log file - Timestamp:04:49:36
Reports using this query: https://reporting.avniproject.org/question/940 https://reporting.avniproject.org/question/683
Steps to optimize:
Refer to this doc
Metabase Reports - Taking time more than 2 mins
Reports not working -
https://reporting.avniproject.org/question/641-prevalence-of-substance-misuse-save-with-line-listing?year=2019 -View was missing for this report
https://reporting.avniproject.org/question/625-prevalence-of-anemia-with-line-listing?year=2018 -View was missing for this report
https://reporting.avniproject.org/question/627-menstrual-hygeine-practices-with-line-listing?year=2019 -View was missing for this report
https://reporting.avniproject.org/question/630-school-dropout-ratio-with-line-listing?year=2019 -View was missing for this report
https://reporting.avniproject.org/question/489-ifa-distribution-consumption-mildanemia
https://reporting.avniproject.org/question/487-ifa-distribution-consumption-normalanemia
https://reporting.avniproject.org/question/737-completed-visits
https://reporting.avniproject.org/question/740-lab-test-report
Create a report that shows all the visits are overdue for more than one months.
Jasper has configurable security settings to prevent SQL injection and other attacks.
We are observing unpredictability around this configuration which is blocking queries that start with the 'WITH' keyword. This was observed during the initial spike around Jasper. It mysteriously resolved itself after reverting to the default security configuration. The security configuration was not changed since but the issue reoccurred again today (June 9, 2020).
This security configuration has been turned off in order for work on reports to proceed but this needs to be looked into and setup correctly.
This is a spike card where we need to look at problems with our Jasper Reports solution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.