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 ability to have multiple result queries #9

Open
8 tasks
hngondoki opened this issue Jul 5, 2019 · 0 comments
Open
8 tasks

Add ability to have multiple result queries #9

hngondoki opened this issue Jul 5, 2019 · 0 comments

Comments

@hngondoki
Copy link

hngondoki commented Jul 5, 2019

  • Add YAML config key to indicate whether the Indicator query definition is supposed to return a single value or an array of values

  • The periodically running job to execute the indicator generating function should run between 15min - 24 hour intervals

The indicator generating functionality should be refactored to:

  • Execute indicator queries that would potentially return multiple values from multiple columns and store the data in a multidimensional array.

  • The multidimensional array would be serialized into a String which would be persisted in the database

  • To get the indicator counts the serializer introduced would convert the persisted Strings into multidimensional arrays for use when rendering indicator chartsjunit.framework.junit.framework.

  • When generating indicator tallies, for each indicator the newly newly generated counts should replace the existing record for that indicator as long as the record was saved within the same day (24 hours). Upon expiration of 24 hours, the new counts should be saved as new records.

Refactor the showing of indicator visualizations on the dashboard:

  • Introduce a table view to show counts in rows and columns

  • Refactor the existing visualizations i.e. the numeric count display and Pie chart to use the infrastructure described above

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

No branches or pull requests

1 participant