Skip to content

Serving metrics: move query and aggregation ownership to Console #19

Closed as not planned

Description

@imneov

Disposition

The original proposal to implement per-service serving-metrics queries and aggregation in swissd has been superseded. This work is now tracked end to end in modelsphere/console#55.

Ownership decision

  • Swiss remains responsible for model deployment operations, deployment state, and deployment operation records.
  • Console is the unified entry point for the whole ModelSphere platform. For this delivery, its backend will query the existing Prometheus directly and aggregate serving metrics for its frontend.
  • Console #55 covers metric-source verification, metric definitions, service/resource label mappings, the authenticated read-only backend interface, dashboard integration, and tests.
  • The browser will access metrics through Console, not directly through Prometheus.
  • Missing sources and failed queries must remain unknown rather than becoming zero-filled curves.
browser -> Console (authentication, authorization, metrics query/aggregation) -> Prometheus
browser -> Console -> Swiss (deployment operations and state)

Removed proposal and dependency

  • Do not implement the previously proposed GET /api/metrics/overview?from=&to= endpoint in swissd under this issue.
  • A Swiss metrics endpoint, backend release, or unmerged /api/runs/timeline prototype is not a prerequisite for Console #55.
  • Earlier comments describing a Swiss metrics implementation/release as a prerequisite are superseded by this decision.

Closure

Close this issue as not planned in Swiss because the work is tracked in Console #55. This closure does not mean that serving metrics have been implemented or released. If implementation identifies a concrete deployment-metadata gap that Swiss must address, track that narrowly scoped requirement separately.

Activity

  1. imneov commented on Oct 12, 2026

    @imneov
    ContributorAuthor

    Integration boundary clarification: Console correction PR modelsphere/console#57 (OPEN/Draft) removes the optional /api/runs/timeline probe. The current-capabilities version consumes only the published run-log API and reports incomplete history instead of fabricating a full curve. The local timeline prototype is uncommitted and is not being shipped as a hidden frontend prerequisite. This issue concerns the separate, future serving-metrics contract; backend review and release must precede the frontend integration in modelsphere/console#55. Metric provider, reachability, scrape coverage and service-label mapping still need verification; scaling configuration alone is not evidence of an established swissd metrics query path.

  2. changed the title [-]Expose per-service serving metrics for the console dashboard[/-] [+]Serving metrics: move query and aggregation ownership to Console[/+] on Oct 13, 2026
  3. imneov commented on Oct 13, 2026

    @imneov
    ContributorAuthor

    Closing as not planned in Swiss: serving-metrics queries, aggregation, and dashboard integration are now owned by Console and tracked in modelsphere/console#55. Console will query the existing Prometheus directly on the server side. This supersedes the earlier Swiss endpoint/release dependency; it is an ownership transfer, not a claim that the feature is implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions