Skip to content

Set up dashboard for the map projects #44

@Eric-Arellano

Description

@Eric-Arellano

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions