dynamostore

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package dynamostore implements rum.RUMStore backed by DynamoDB via the generic dynamostore package. RUM events use TTL for auto-expiry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store implements rum.RUMStore backed by DynamoDB.

func New

func New(db *ds.Store, ttlDays int) *Store

New creates a DynamoDB-backed RUM store with the given TTL in days.

func (*Store) ErrorGroups

func (s *Store) ErrorGroups() ([]rum.ErrorGroup, error)

func (*Store) PageLoads

func (s *Store) PageLoads() ([]rum.PagePerformance, error)

func (*Store) PagePerformance

func (s *Store) PagePerformance(route string) (*rum.PagePerformance, error)

func (*Store) PerformanceByRoute

func (s *Store) PerformanceByRoute() ([]rum.RoutePerformance, error)

func (*Store) RageClicks

func (s *Store) RageClicks(minutes int) ([]rum.ClickEvent, error)

func (*Store) SessionDetail

func (s *Store) SessionDetail(sessionID string) ([]rum.RUMEvent, error)

func (*Store) Sessions

func (s *Store) Sessions(limit int) ([]rum.SessionSummary, error)

func (*Store) UserJourneys

func (s *Store) UserJourneys(sessionID string) ([]rum.NavigationEvent, error)

func (*Store) WebVitalsOverview

func (s *Store) WebVitalsOverview() (*rum.WebVitalsOverview, error)

func (*Store) WriteBatch

func (s *Store) WriteBatch(events []rum.RUMEvent) error

func (*Store) WriteEvent

func (s *Store) WriteEvent(event rum.RUMEvent) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL