Skip to content

Release 1.2.2: Update Probe Data Storage Types - #30

Merged
sempervent merged 5 commits into
mainfrom
release/1.2.2
Sep 30, 2026
Merged

sempervent merged 5 commits into
mainfrom
release/1.2.2

Conversation

@sempervent

Copy link
Copy Markdown
Contributor

probe_data table now has value_float and value_jsonb columns instead of one value (jsonb type) column.

The migration will take the existing value::jsonb column and rename it to value_jsonb. Then, will fill the value_float for any rows whose metric_type is of int or float type.

On downgrade, undoes (casts value_float to jsonb in value col) so that no data is lost.

Updated grafana dashboards accordingly, to pull from value_float rather than value cast to float


midgemacf and others added 3 commits September 30, 2026 09:35
`probe_data` table now has `value_float` and `value_jsonb` columns
instead of one `value` (jsonb type) column.

The migration will take the existing `value::jsonb` column and rename it
to `value_jsonb`. Then, will fill the `value_float` for any rows whose
`metric_type` is of `int` or `float` type.

On downgrade, undoes (casts `value_float` to jsonb in `value` col) so
that no data is lost.

Updated grafana dashboards accordingly, to pull from `value_float`
rather than `value` cast to `float`

---------

Co-authored-by: MacFarland, Midgie <macfarlandmj@ornl.gov>
Updated the CHANGELOG to include new version 1.2.2 and fixed CVEs in version 1.2.1.
@sempervent sempervent changed the title Update Probe Data Storage Types (#29) Release 1.2.2: Update Probe Data Storage Types (#29) Sep 30, 2026
@sempervent sempervent changed the title Release 1.2.2: Update Probe Data Storage Types (#29) Release 1.2.2: Update Probe Data Storage Types Sep 30, 2026
@sempervent
sempervent merged commit 8cfb7af into main Sep 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants