Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(project): Retrieve metric-hub segments in Experimenter #11243

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

RJAK11
Copy link
Contributor

@RJAK11 RJAK11 commented Aug 27, 2024

Because

  • Experimenter needs to retrieve the segments from metric-hub as they are currently not available there

This commit

  • allows Experimenter to retrieve segments from metric-hub

Fixes #11242

Because

   *Experimenter needs to retrieve the segments from metric-hub as they are currently not available there

This commit

    *allows Experimenter to retrieve segments from metric-hub

Fixes #11242
@@ -530,6 +530,14 @@
BASE_DIR / "outcomes" / "metric-hub-main" / "jetstream" / "outcomes"
)

JETSTREAM_CONFIG_SEGMENTS_PATH = (
Copy link
Contributor

Choose a reason for hiding this comment

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

So the JETSTREAM_CONFIG part of the other name is actually a relic of pre-metric-hub config repo, which was called jetstream-config. Maybe it's time to update these settings to say METRIC_HUB_ instead of JETSTREAM_CONFIG_? This would make all three of these related settings consistent, and update them for the new repo.

Something like:

  • METRIC_HUB_OUTCOMES_PATH
  • METRIC_HUB_SEGMENTS_PATH_DEFAULT
  • METRIC_HUB_SEGMENTS_PATH_JETSTREAM

@RJAK11 RJAK11 force-pushed the retrieve-segments-11242 branch 2 times, most recently from 4d7d496 to aca427b Compare August 28, 2024 20:56
@RJAK11 RJAK11 marked this pull request as ready for review August 29, 2024 14:20
Copy link
Contributor

@mikewilli mikewilli left a comment

Choose a reason for hiding this comment

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

This is great!! The comments I left are all pretty minor -- take a look and let me know if you have any questions or concerns with what I've suggested.

Makefile Outdated Show resolved Hide resolved
experimenter/experimenter/segments/tests/__init__.py Outdated Show resolved Hide resolved
experimenter/experimenter/segments/tests/test_segments.py Outdated Show resolved Hide resolved
Because

    *Experimenter needs to retrieve the segments from metric-hub as they are currently not available there

This commit

    *allows Experimenter to retrieve segments from metric-hub

Fixes #11242
Copy link
Contributor

@mikewilli mikewilli left a comment

Choose a reason for hiding this comment

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

LGTM great work!! 🎉 :shipit:

@RJAK11 RJAK11 added this pull request to the merge queue Aug 30, 2024
Merged via the queue into main with commit 2a4388b Aug 30, 2024
20 checks passed
@RJAK11 RJAK11 deleted the retrieve-segments-11242 branch August 30, 2024 17:01
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.

Retrieve metric-hub segments in Experimenter
2 participants