NaturalHistoryMuseum/DataPortalStats

Name: DataPortalStats

Owner: Natural History Museum

Description: Generate quarterly stats

Created: 2016-02-04 15:07:53.0

Updated: 2017-01-10 15:14:22.0

Pushed: 2017-03-03 16:43:01.0

Homepage: null

Size: 28

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

stats

Generate quarterly stats

Installation

This needs to be installed on the server running ckanpackager.

Stats.db

The ckanpackager script stores all requests in an SQLite DB stats.db.

Inside docker, this is available at /var/lib/ckanpackager/stats.db.

Outside of docker, you will need to locate the location of the mounted volume.

To do so, find the container ID of the docker nginx_deploy instance

docker ps

And then lookup the volume:

docker inspect [container id]

Look at the Volumes section fo the JSON - it's currently mounted at /var/lib/docker/vfs/dir/7d8538fc1a2c2d1947573d2b177728941d7573bf1645f10f356f16d695e71f54 on the host system.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.