Skip to content

Question on adding additional metrics for core apps/v1 resources via customResourceState #2921

@samavasi

Description

@samavasi

Hello, I would like to check if its possible (and if not if its a feature that could be added), to add additional metrics for core resources like StatefulSet / Deployment / Daemonset by re-using the mechanism of customResourceState ?
My use case is I want to add metrics about ownerRefs of StatefulSet and Daemonset, for example to track upwards the owner tree when Grafana Alloy operator owns via Alloy CR the above workloads.
Is there any existing workaround to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions