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

Add new Crucible backend service #122

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dbutenhof
Copy link
Collaborator

This encapsulates substantial logic to encapsulate interpretation of the Crucible Common Data Model OpenSearch schema for the use of CPT dashboard API components. By itself, it does nothing.

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

Encapsulate OpenSearch queries to access and interpret Crucible's "Common Data Model" schema. Interfaces are provided to return embellished and organized data from each of the major CDM indices (run, tag, iteration, param, sample, period, metric_desc, and metric_data). The run access includes sorting options and filtering by run fields, tag and param key/value pairs.

Related Tickets & Documents

Various Jira stories under Epic PANDA-496.

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

This has been tested with a live InstructLab Crucible controller, using the layers of InstructLab (ilab) API and UI infrastructure visible in (draft) PR #117 (which this, along with several follow-on layers, will replace).

@dbutenhof dbutenhof self-assigned this Oct 16, 2024
dbutenhof added a commit to dbutenhof/cpt-dashboard that referenced this pull request Oct 17, 2024
This builds on the `crucible_svc` layer in cloud-bulldozer#122 to add a backend API.
dbutenhof added a commit to dbutenhof/cpt-dashboard that referenced this pull request Oct 17, 2024
This builds on the `crucible_svc` layer in cloud-bulldozer#122 to add a backend API.
dbutenhof pushed a commit to dbutenhof/cpt-dashboard that referenced this pull request Oct 17, 2024
This relies on the ilab API in cloud-bulldozer#123, which in turn builds on the crucible
service in cloud-bulldozer#122.
dbutenhof pushed a commit to dbutenhof/cpt-dashboard that referenced this pull request Oct 17, 2024
This relies on the ilab API in cloud-bulldozer#123, which in turn builds on the crucible
service in cloud-bulldozer#122.
This encapsulates substantial logic to encapsulate interpretation of the
Crucible Common Data Model OpenSearch schema for the use of CPT dashboard API
components. By itself, it does nothing.
dbutenhof added a commit to dbutenhof/cpt-dashboard that referenced this pull request Oct 18, 2024
This builds on the `crucible_svc` layer in cloud-bulldozer#122 to add a backend API.
dbutenhof pushed a commit to dbutenhof/cpt-dashboard that referenced this pull request Oct 18, 2024
This relies on the ilab API in cloud-bulldozer#123, which in turn builds on the crucible
service in cloud-bulldozer#122.
dbutenhof added a commit to dbutenhof/cpt-dashboard that referenced this pull request Oct 24, 2024
This adds the basic UI to support comparison of the metrics of two InstructLab
runs. This compares only the primary metrics of the two runs, in a relative
timeline graph.

This is backed by cloud-bulldozer#125, which is backed by cloud-bulldozer#124, which is backed by cloud-bulldozer#123,
which is backed by cloud-bulldozer#122. These represent a series of steps towards a complete
InstructLab UI and API, and will be reviewed and merged from cloud-bulldozer#122 forward.
dbutenhof pushed a commit to dbutenhof/cpt-dashboard that referenced this pull request Oct 24, 2024
This adds the basic UI to support comparison of the metrics of two InstructLab
runs. This compares only the primary metrics of the two runs, in a relative
timeline graph.

This is backed by cloud-bulldozer#125, which is backed by cloud-bulldozer#124, which is backed by cloud-bulldozer#123,
which is backed by cloud-bulldozer#122. These represent a series of steps towards a complete
InstructLab UI and API, and will be reviewed and merged from cloud-bulldozer#122 forward.
Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

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.

1 participant