Skip to main content

Connexion handler to metrics service for udata

Project description

udata-metrics

This plugin handles the connexion to an InfluxDB service for udata. It provides a client to store and to retrieve views and hits generated by users before injecting them in udata's objects metrics.

Installation

Install udata.
Install udata-piwik.

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_DSN = {
    'host': 'localhost',
    'port': '8086',
    'username': 'johndoe',
    'password': 'youwillneverguess',
    'database': 'metrics_db'
}

Changelog

Current (in progress)

  • Nothing yet

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

udata_metrics-1.0.3.dev64-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file udata_metrics-1.0.3.dev64-py2.py3-none-any.whl.

File metadata

  • Download URL: udata_metrics-1.0.3.dev64-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for udata_metrics-1.0.3.dev64-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8668211f5770faa3d4effc9b92f5b1cc420c855ab099bceeb74fd59ad347df5b
MD5 54577a989fc9476a9437cac16b2a094f
BLAKE2b-256 c796f302bf40c3c06783df270a072e6d56cc08d120c9d47cae387e5f1c3bf31a

See more details on using hashes here.

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