Feature #418
Support meta-data about the measurements (e.g. unit, window size)
| Status: | New | Start date: | 15/09/2010 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | Olivier Mehani | % Done: | 0% |
|
| Category: | client+server | |||
| Target version: | 2.8.0 |
Description
OML should record more metada about the measurement.
More precisely for a single measurement:
- which unit a measurement is expressed in
- which reference system the unit is referred to (e.g. fundamental units such as meter would be 'SI', while geodetic coordinates would be for example WGS84 or NAD83)
Similarly for an integrated measurement (e.g. a measurement produced by a filter):
- which unit an integrated measurements is expressed in
- what was the window size used for the filter that generated an integrated measurement
Discussed options were:
- having a convention for OML application and filter developers, and store metada in an standard table present in all OML-generated database
- extending the current attribute set of measurement point and filter definitions to include these additional information (e.g. Rate is a Float of unit Mb.s-1)
Related issues
History
Updated by Thierry Rakotoarivelo over 1 year ago
- Subject changed from OML should record more metada (unit, window size) about the measurments to OML should record more metada (unit, window size) about the measurements
Updated by Olivier Mehani over 1 year ago
I was about to file the same request (for the window size). I strongly support that to allow to have unambiguous data, and to be able to compare them correctly (an average on one sample is not the same as one on 100).
For the units, I'd have a preference for a metadata table, but it would make sense that the measurement points (and filters) provide an extended schema so this information can be obtained at the source.
The window size should be reported with each measurement so that, for interval-driven filters, one can still work out the number of samples that were processed, which may vary in each interval.
Updated by Olivier Mehani over 1 year ago
Maybe even the version/git tree id/build of the OML library could be relevant (let alone that of the reporting application) for later debug/reproduction of experiment.
Updated by Thierry Rakotoarivelo 9 months ago
From a further email exchange (mid August 2011) with Christoph, Max, and Thierry:
- The MP definition should be extending to include these metadata (i.e. unit, reference)
- The Filter definition should be extending to include these metadata (i.e. unit, reference, window size)
- The resulting metadata will be stored in separate dedicated "metadata table" to un-clutter the MP-derived table itself
In addition, we must support backward compatibility (at least for the next couple fo major releases...), thus it was suggested that these new features should result in additional API calls (suffixed by "2" for example) instead of changing the signature of the current API calls. In this case, this would related to the MP and Filter data structures, and registering functions.
Finally, it was suggested that the type being used for these metadata is String with a documented formatting convention.
Updated by Thierry Rakotoarivelo 9 months ago
- Priority changed from Normal to Urgent
Updated by Thierry Rakotoarivelo 7 months ago
- Subject changed from OML should record more metada (unit, window size) about the measurements to Support meta-data about the measurements (e.g. unit, window size)
Updated by Thierry Rakotoarivelo 7 months ago
- Priority changed from Urgent to Normal
- Parent task set to #592
Updated by Thierry Rakotoarivelo 7 months ago
- Target version set to 2.7.0
- Parent task deleted (
#592)
Updated by Thierry Rakotoarivelo 7 months ago
- Priority changed from Normal to High
Updated by Thierry Rakotoarivelo 7 months ago
- Assignee set to Olivier Mehani
Updated by Thierry Rakotoarivelo about 1 month ago
- Target version changed from 2.7.0 to 2.8.0
Moved to 2.8 as agreed with Olivier.