Skip to content

Refactored processing logic for openshift usage scripts#187

Open
jimmysway wants to merge 2 commits into
CCI-MOC:mainfrom
jimmysway:152-memory-optimization-testing
Open

Refactored processing logic for openshift usage scripts#187
jimmysway wants to merge 2 commits into
CCI-MOC:mainfrom
jimmysway:152-memory-optimization-testing

Conversation

@jimmysway

Copy link
Copy Markdown
Contributor

Shifted Raw Prometheus data processing logic onto the producer code

Dedupe consecutive identical values per series before write (same logic
as condense_metrics, but per-metric at export).

Restructured "billing block" schema to a pod-centric format grouping by
pod instead of resources

Closes #152

jimmysway added 2 commits June 5, 2026 14:03
Dedupe consecutive identical values per series before write (same logic
as condense_metrics, but per-metric at export).

Restructured "billing block" schema to a pod-centric format grouping by
pod instead of resources

Closes CCI-MOC#152
Removed dev remnant hardcoded namespace in
`openshift_prometheus_metrics.py`
@jimmysway jimmysway force-pushed the 152-memory-optimization-testing branch from 2ace898 to 7dd560b Compare June 10, 2026 18:24
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.

Optimize how merge_metrics and condense_metrics operate

1 participant