Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmzeeman/exometer_downsample
Store statistic history in sqlite database
https://github.com/mmzeeman/exometer_downsample
Last synced: about 16 hours ago
JSON representation
Store statistic history in sqlite database
- Host: GitHub
- URL: https://github.com/mmzeeman/exometer_downsample
- Owner: mmzeeman
- Created: 2016-12-07T06:40:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-23T15:12:41.000Z (over 5 years ago)
- Last Synced: 2024-11-16T06:53:24.104Z (about 2 months ago)
- Language: Erlang
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# exometer_sqlite
WIP reporter for exometer.
## Storage Model
The statistics are stored in separate tables. The tables will hold samples about 600 samples each for each period.
The periods are:
* hour
* day
* week
* month
* 3 months
* 6 months
* yearThe samples will flow from the short period table to the longer period table. This means the resolution of the
samples will decrease over time.## Subscription
When the reporter is subscribed to a metric the tables will be automatically created and the data will be stored
in the tables.When your metric is named [metric, test1] a table named "[metric,test1,hour]" stores the hour samples.