Skip to main content

"Invenio module for collecting statistics."

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-stats.svg https://github.com/inveniosoftware/invenio-stats/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-stats.svg https://img.shields.io/pypi/v/invenio-stats.svg

Invenio module for collecting statistics.

This module provides the components for statistical data processing and querying.

The most common statistics measure the occurence of events in an invenio application, e.g. file downloads, record views and others. Invenio-stats provides the tools to transform, register, compress and query those events. However, statistics can be fully customized and directly query the database.

The services it uses are:

  • RabbitMQ for buffering incoming events.

  • Elasticsearch or OpenSearch for aggregating and searching events.

Further documentation is available on: https://invenio-stats.readthedocs.io/

Changes

Version 3.1.0 (release 2023-04-20)

  • add extension method for building and caching queries

Version 3.0.0 (release 2023-03-01)

  • Upgrade to invenio-search 2.x

  • Drop support for Elasticsearch 2, 5, and 6

  • Add support for OpenSearch 1 and 2

  • Drop support for Python 2.7 and 3.6

  • Remove function invenio_stats.utils:get_doctype

  • Fix validate_arguments for query classes

  • Add build_event_emitter function for creating an EventEmitter but not registering it as a signal handler

  • Add ext.get_event_emitter(name)` function for caching built EventEmitter objects per name

  • Replace elasticsearch-specific terminology

Version 2.0.0 (release 2023-02-23)

  • add opensearch2 compatibility

Version 1.0.0a18 (release 2020-09-01)

  • Fix isort arguments

  • Filter pytest deprecation warnings

  • Set default values for metrics instead of None, when no index found

Version 1.0.0a17 (release 2020-03-19)

  • Removes Python 2.7 support.

  • Centralizes Flask dependency via invenio-base.

Version 1.0.0a16 (release 2020-02-24)

  • bump celery dependency

  • pin Werkzeug version

Version 1.0.0a15 (release 2019-11-27)

  • Pin celery dependency

Version 1.0.0a14 (release 2019-11-27)

  • Fix get_bucket_size method

Version 1.0.0a13 (release 2019-11-08)

  • Bump invenio-queues

Version 1.0.0a12 (release 2019-11-08)

  • Fixes templates for ElasticSearch 7

  • Updates dependency of invenio-search

Version 1.0.0a11 (release 2019-10-02)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio-stats-3.1.0.tar.gz (56.1 kB view details)

Uploaded Source

Built Distribution

invenio_stats-3.1.0-py2.py3-none-any.whl (48.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-stats-3.1.0.tar.gz.

File metadata

  • Download URL: invenio-stats-3.1.0.tar.gz
  • Upload date:
  • Size: 56.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for invenio-stats-3.1.0.tar.gz
Algorithm Hash digest
SHA256 1450aa8d3017b86ef0bd56df3e58f76c0b4cceb65fcd08c1948e80586ce60720
MD5 e52550d4c2985ac1d2d6017ea48adb55
BLAKE2b-256 1c366a82ee435135565b9b82e549d46fc290cf12c8d95e5eaba25399716f5b50

See more details on using hashes here.

Provenance

File details

Details for the file invenio_stats-3.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_stats-3.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 76444570e05c9a4634c4875aa96de70f6c8b9ef177d9c3e8c3ec3472fac88a9d
MD5 4f963ed48ea0a84473580efc9351ef51
BLAKE2b-256 cca85388741975c2465adeb53200d012729608440e112ccd209297925a1978b5

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page