Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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)

  • ⚠️ 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

Metadata

Release files for udata-metrics 1.0.3.dev136

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for udata-metrics 1.0.3.dev136
File Interpreter ABI Platform Actions
udata_metrics-1.0.3.dev136-py2.py3-none-any.whl Python 2, Python 3 none any Details for udata_metrics-1.0.3.dev136-py2.py3-none-any.whl

Release files / udata_metrics-1.0.3.dev136-py2.py3-none-any.whl

Download URL udata_metrics-1.0.3.dev136-py2.py3-none-any.whl
Size 14.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
054c277dc46cefa09b1f4928a8a858a70245e342d1f753f39feef803328584af
BLAKE2b-256 checksum
How to use checksums
3ed576e6d5c317146eb7362bc23195cc5d42bf489d68cfe072d9a3ea4bae4340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.6

Security for udata-metrics 1.0.3.dev136

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page