Skip to content

Concurrent Swiss Map-based metric counter - metrics exportable as an arrow record

Notifications You must be signed in to change notification settings

loicalleyne/counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

counter : increment/decrement metric counters and export them to an arrow record

Overview

  • Field names and types must be specified at counter creation
  • Keys must be of type integer, string or time.Time
  • Metric counter is int64
  • Use Increment() or Decrement() to modify, Get() to retrieve and Delete() to remove from counter, Reset() to clear all
  • Export the metric results as an arrow record (ie. to write aggregated metrics to parquet)
  • Uses concurrent swiss map as underlying cache, thread safe

About

Concurrent Swiss Map-based metric counter - metrics exportable as an arrow record

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages