Connexion handler to metrics service for udata
Project description
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'
Changelog
Current (in progress)
- Nothing yet
2.0.2 (2024-03-20)
- Update translations #13
2.0.1 (2023-12-01)
- Improve metrics layout #11
- Specify that statistics are for the year
- Move datasets graph on the second row in dashboard stats
- Use current month value (and not variation)
- Prevent upper or lowercasing by removing any text transformation
2.0.0 (2023-11-21)
- :warning: New metrics logic #8
- Add metrics views (using template hook)
- Use optional metrics API (with job to update metrics on objects)
- Remove Influx logic
- Replace mongo legacy image in CI #6
1.0.2 (2020-07-01)
- Add time condition in the queries to retrieve only last 24 hours results #4
1.0.1 (2020-05-13)
- Nothing yet
1.0.0 (2020-05-12)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file udata_metrics-2.0.3.dev161-py2.py3-none-any.whl.
File metadata
- Download URL: udata_metrics-2.0.3.dev161-py2.py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36387d51a7fdf09107e90878ccdc94b47ee2357182b4f705d463cfa9f2786813
|
|
| MD5 |
342f5a76e014b10d4a98dba389e23323
|
|
| BLAKE2b-256 |
fbfe907fe8b355b7ef4d45f074f89a8c9dbac213dcc4eac9dfc648cf2baec2be
|