Skip to content

[ENG-9703] Feature/add new es8 metrics#11672

Merged
aaxelb merged 31 commits intoCenterForOpenScience:feature/9691-osfmetrics-migrationfrom
bodintsov:feature/add-new-es8-metrics
Apr 15, 2026
Merged

[ENG-9703] Feature/add new es8 metrics#11672
aaxelb merged 31 commits intoCenterForOpenScience:feature/9691-osfmetrics-migrationfrom
bodintsov:feature/add-new-es8-metrics

Conversation

@bodintsov
Copy link
Copy Markdown
Contributor

Ticket

https://openscience.atlassian.net/browse/ENG-9703

Purpose

Add new es8 metrics

Changes

Added new es8 metrics

Side Effects

TBD

QE Notes

TBD

CE Notes

TBD

Documentation

TBD

Copy link
Copy Markdown
Contributor

@aaxelb aaxelb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few points clarifying intent for these migration targets

also, mind importing (at least something from) this file in osf/metrics/__init__.py and adding one or two smoke-tests to verify the index(templat)es are usable?

Comment thread osf/metrics/es8_metrics.py Outdated
Comment thread osf/metrics/es8_metrics.py Outdated
Comment thread osf/metrics/es8_metrics.py Outdated
Comment thread osf/metrics/es8_metrics.py Outdated
Comment thread osf/metrics/es8_metrics.py Outdated
Comment thread osf/metrics/es8_metrics.py Outdated
Copy link
Copy Markdown
Contributor

@aaxelb aaxelb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushed some changes myself (seemed easier to express myself in code than text) -- pls approve if they seem good to you @bodintsov

  • added tests that save/fetch es8
  • ...which exposed some djelme bugs; updated dep to CenterForOpenScience/django-elasticsearch-metrics#96
  • couldn't connect to local elasticsearch8 as configured; simplified docker-compose.yml
  • deduplicated gh actions services; replaced shell script with health check
  • (matter of taste) moved Es8 prefix to suffix on es8_metrics record types

Comment thread .github/workflows/test-build.yml Outdated
@aaxelb aaxelb self-requested a review April 15, 2026 13:34
Copy link
Copy Markdown
Contributor

@aaxelb aaxelb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎈

@aaxelb aaxelb merged commit 6c45a66 into CenterForOpenScience:feature/9691-osfmetrics-migration Apr 15, 2026
8 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