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
}

Metadata

Release files for tracardi-event-counter 0.6.0

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

Source distribution (sdist)

Source distribution for tracardi-event-counter 0.6.0
File Size Uploaded
tracardi-event-counter-0.6.0.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tracardi-event-counter 0.6.0
File Interpreter ABI Platform
tracardi_event_counter-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / tracardi-event-counter-0.6.0.tar.gz

Download URL tracardi-event-counter-0.6.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bfd921b020c2a0375fce8c070248b1efd3b56068099ec55d038eb4142a778fac
BLAKE2b-256 checksum
How to use checksums
63b46a97043e8e3daabe53240ee6a1b6eb1b85b63de5e364051ef2d41bca38b3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / tracardi_event_counter-0.6.0-py3-none-any.whl

Download URL tracardi_event_counter-0.6.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99a0a7d45fe611bdb39ad29bb4016f883b2613a7839716a1355fa452afcf34d7
BLAKE2b-256 checksum
How to use checksums
2fbe4a250aa1455aec60f32813796b6fd746244c05bfed76d9465038374311f6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.1.1

2 release files

0.1

2 release files

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