Skip to content

[receiver/k8scluster] Associate hpa metrics with the scale target #38768

Closed
@atoulme

Description

@atoulme

Component(s)

No response

Is your feature request related to a problem? Please describe.

HPA objects are associated with a scale target typically expressed with an expression:

  scaleTargetRef:
    apiVersion: apps/v1
    kind: StatefulSet
    name: sample-app

This is not currently present on the hpa metrics and therefore it is difficult to understand which hpa metrics are associated with which target.

Describe the solution you'd like

Add additional dimensions to hpa metrics identifying the metric with the target in a way that allows disambiguation.

Describe alternatives you've considered

No response

Additional context

No response

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