This plugin reads how many events of defined type were triggered within defined time.
Project description
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
}
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 Distribution
Built Distribution
Close
Hashes for tracardi-event-counter-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfd921b020c2a0375fce8c070248b1efd3b56068099ec55d038eb4142a778fac |
|
MD5 | 96be2539bab424d71f50d2a45d94a255 |
|
BLAKE2b-256 | 63b46a97043e8e3daabe53240ee6a1b6eb1b85b63de5e364051ef2d41bca38b3 |
Close
Hashes for tracardi_event_counter-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99a0a7d45fe611bdb39ad29bb4016f883b2613a7839716a1355fa452afcf34d7 |
|
MD5 | 908737b90431a8ece75bddcfee224d5e |
|
BLAKE2b-256 | 2fbe4a250aa1455aec60f32813796b6fd746244c05bfed76d9465038374311f6 |