Skip to main content

Event counter

This plugin reads how many events of defined type were triggered within defined time.

Configuration

Example

{
 "event_type": "page-view",
 "time_span": "-15m"
}
  • event_type - value should be a string containing type of event that user wants to count.
  • time_span - should be a string containing time span which user wants to search in, for example using "-1h30min" as "time_span" on 1st March 2022, 1:00 (a.m.) results in searching through all events that happened between 28th February 2022, 23:30 and 1st March 2022, 1:00 (a.m.). Presence of "-" sign in timeSpan does not matter, since it is stripped anyway. For more details, visit pytimeparse library documentation.

Output

Plugin outputs number of found events.

Example:

{
    "events" : 39
}

Download files

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

Source Distribution

tracardi-event-counter-0.6.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracardi_event_counter-0.6.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file tracardi-event-counter-0.6.0.tar.gz.

File metadata

  • Download URL: tracardi-event-counter-0.6.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tracardi-event-counter-0.6.0.tar.gz
Algorithm Hash digest
SHA256 bfd921b020c2a0375fce8c070248b1efd3b56068099ec55d038eb4142a778fac
MD5 96be2539bab424d71f50d2a45d94a255
BLAKE2b-256 63b46a97043e8e3daabe53240ee6a1b6eb1b85b63de5e364051ef2d41bca38b3

See more details on using hashes here.

File details

Details for the file tracardi_event_counter-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: tracardi_event_counter-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tracardi_event_counter-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99a0a7d45fe611bdb39ad29bb4016f883b2613a7839716a1355fa452afcf34d7
MD5 908737b90431a8ece75bddcfee224d5e
BLAKE2b-256 2fbe4a250aa1455aec60f32813796b6fd746244c05bfed76d9465038374311f6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.1.1

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page