Data structure and naming conventions
Last updated
Was this helpful?
Last updated
Was this helpful?
We follow the standards from prometheus if possible :
Variables should have a suffix describing the unit. And a prefix describing the origin. Example data structure:
As variables can store data in an aggregated way we have this indication:
_d: Daily _h: Hourly
Metrics: Time Based integer values (hypertables) Variables: Additional metainformation, can also store other formats
Performance Metrics are all of type integer and already aggregated (e.g. by day). They measure the performance of a specific url, e.g. how many times a user visited the page.
Page Variables define a specific state of the page for a given time. It can be integer (e.g. number of headings), holding text (e.g. the Metadescription) or boolean (e.g. if breadcrumbs are present).
The ACONA Data Warehouse is using TimeScaleDB:
We create one table by metric/variable (narrow table mode):
Example: