Project

General

Profile

Actions

Cleanup #46898

closed

Feature #40907: mgr/dashboard: REST API improvements

mgr/dashboard/api: move/create OSD histogram in separate endpoint

Added by Ernesto Puerta over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Low
Category:
General - Back-end
Target version:
% Done:

100%

Tags:
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:

Description

As a result of https://tracker.ceph.com/issues/26954, the OSD histogram information will be removed from the api/osd/ endpoint. As a side effect, we found out that this histogram was retrieved via send_command API, which is not recommended for endpoints that are polled often (like the OSD, which is invoked every 5 secs x number of OSDs.

If we deem this histogram information valuable for end users (it seems rather developer focused), the suggestion would be to restore this information to a separate endpoint, like api/osd/{id}/histogram.


Related issues 2 (0 open2 closed)

Follows Dashboard - Feature #26954: mgr/dashboard: Remove Histogram componentResolvedAashish Sharma

Actions
Copied to Dashboard - Backport #47607: octopus: mgr/dashboard/api: move/create OSD histogram in separate endpointResolvedLaura PaduanoActions
Actions #1

Updated by Ernesto Puerta over 3 years ago

  • Follows Feature #26954: mgr/dashboard: Remove Histogram component added
Actions #2

Updated by Alfonso Martínez over 3 years ago

  • Parent task set to #40907
Actions #3

Updated by Aashish Sharma over 3 years ago

  • Assignee set to Aashish Sharma
Actions #4

Updated by Aashish Sharma over 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 37192
Actions #5

Updated by Lenz Grimmer over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47607: octopus: mgr/dashboard/api: move/create OSD histogram in separate endpoint added
Actions #7

Updated by Alfonso Martínez over 3 years ago

  • % Done changed from 0 to 100
Actions #8

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions #9

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 146 to General - Back-end
Actions

Also available in: Atom PDF