Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 783 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 783 Bytes

udata-metrics

This plugin adds views to display metrics on datasets, reuses, organizations and site dashboard pages. It uses hook logic based on udata-front hooks. We feed these views with data from: * an optional metrics API for traffic (views, download, external links) * mongo for stock values (with an aggregation pipeline) A job can be scheduled to inject traffic metrics in udata's objects metrics.

Installation

Install udata.

Remain in the same virtual environment (for Python).

Install udata-metrics:

pip install udata-metrics

Modify your local configuration file of udata (typically, udata.cfg) as following:

PLUGINS = ['metrics']
METRICS_API = 'http://localhost:8005/api'