[Infra] Remove indexFields
from /api/metrics/source
endpoint
#180690
Labels
Feature:Metrics UI
Metrics UI feature
Feature:ObsHosts
Hosts feature within Observability
Feature:ObsInventory
good first issue
low hanging fruit
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
Summary
Infra uses
/api/metrics/source/{sourceId}
endpoint to register, update, and retrieve the Infra Settings. However, it also returns a representation of a data view, built from the Metrics Indices config. This object can be very large depending on the number of indices that are part of the index pattern configured.We're no longer using the fields returned by this endpoint in the "status" object, therefore the
indexFields
can be removed from the response as well as any code related to its retrievale.g: response
Related to #180689
AC
GET /api/metrics/source/{sourceId}
doesn't return theindexFields
object in thestatus
attributeThe text was updated successfully, but these errors were encountered: