Skip to content

resource-control:deleted-resource group still appear in available RU pannel #8716

@AndreMouche

Description

@AndreMouche

removing iteam from availableRUCounter with three arguments maybe failed since it only have two lables

availableRUCounter.DeleteLabelValues(r.name, r.name, r.ruType)

availableRUCounter = prometheus.NewGaugeVec(
prometheus.GaugeOpts{
Namespace: namespace,
Subsystem: ruSubsystem,
Name: "available_ru",
Help: "Counter of the available RU for all resource groups.",
}, []string{resourceGroupNameLabel, newResourceGroupNameLabel})

This would cause the resource group that has already been deleted to still appear in the resource-control->resource unit->available RU pannel. even though the data is already 0, we expect it not to appear any more.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions