Skip to content

Simple Metrics #290

Open
Open
@kamicut

Description

@kamicut

We would like to create a simple metrics page:

  • Aggregation of SQL statements
  • Write out to CSV or JSON
  • cronnable / uploadable to s3 keyed by date
  • capture the state on s3 with a "latest file" URL
  • Example metrics: number of users, number of each entity (nodes, ways, relations)
  • Docker file so that script can run as a command within osm-seed
  • Nice to have: connect a jupyter style notebook to the CSV

If we want to graph things "over time", we will need to aggregate the CSV "snapshots" of the SQL across each metric across a time period: we'll need some kind of materialized view into those CSVs so that it's efficient (instead of downloading all the CSVs).

Question / nice to have: how do we backfill the CSV snapshots?

cc @geohacker @batpad

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions