Skip to main content

Crate traqq

Crate traqq 

Source
Expand description

§traqq

High-performance event processing system for Redis analytics.

§Overview

traqq transforms JSON events into optimized Redis commands for real-time analytics. It provides a flexible configuration system for mapping event properties into different types of Redis commands, enabling complex queries without post-processing.

Re-exports§

pub use crate::constants::*;

Modules§

client
constants
prelude
server
storage
utils

Structs§

AddValueConfig
Configuration for value-based additive metrics
CommandMetadata
metadata attached to each storage command
DayResult
results for a single day
FindOptions
options for finding specific metrics in query results
IncomingEvent
Represents an incoming event before processing
LimitsConfig
Configuration for processing limits and constraints
MappingConfig
Configuration for metric pattern mapping
MetricResult
a single metric result from a query
ProcessedEvent
Represents a fully processed event with generated metrics
QueryResult
the complete result of a query, organized by day
StorageCommand
a backend-agnostic storage operation produced by event processing
TimeConfig
Configuration for time-based operations and aggregations
Traqq
the primary interface for recording and querying metrics. owns a config and storage backend.
TraqqConfig
Primary configuration for the Traqq system

Enums§

BucketType
Represents the time bucket granularity for metric aggregation
MetricData
the data payload of a metric result, varies by type
StorageCommandType
the types of storage operations supported