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

Set up dashboard for the map projects #44

Open
Eric-Arellano opened this issue Jul 12, 2023 · 1 comment
Open

Set up dashboard for the map projects #44

Eric-Arellano opened this issue Jul 12, 2023 · 1 comment

Comments

@Eric-Arellano
Copy link
Contributor

You're going to start with creating a dashboard locally. Make sure influxd is running and go to http://localhost:8086. Also run npm start -- -s map-projects --write and npm start -- -h map-projects --write.

Then select the icon on the left with the four squares to go to the dashboard section.

Captura de pantalla 2023-07-11 a la(s) 6 05 06 p m

Create a new dashboard called Metrics. Add a cell for the number of Mandates Map Entries and another for the number of Parking Lot Map Cities. For each, the bucket is metrics, then you have to search the _measurement name we use here:

return createCountPoint("mandates-map-entries", parsed.data.length);

createCountPoint("parking-lot-map-entries", Object.keys(jsonData).length);

Then choose the count _field. Press submit to preview what it looks like. I think we probably want a "Graph + Single Stat" chart. For the mandates map, change the time to to go back to Nov 2021 to current day, so you can see how it looks over time. Also play with the options in "Customize" in the top to figure out what makes the most sense. Click the checkmark in the top right when done.

Once we like the dashboard locally, we will port it to the production database.

@nyahclovis
Copy link
Collaborator

nyahclovis commented Jul 14, 2023

Pictures of the configuration are attached below.

I set a custom time range from December 2021-Present.
In the graph configuration, I set custom decimal places to zero.

Screen Shot 2023-07-13 at 8 42 24 PM Screen Shot 2023-07-13 at 8 41 24 PM

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

2 participants