-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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.
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:
organization-dashboard/src/mapProjects.ts
Line 14 in ea42f38
| return createCountPoint("mandates-map-entries", parsed.data.length); |
organization-dashboard/src/mapProjects.ts
Line 18 in ea42f38
| 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.