generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
area/providerAll Provider related issuesAll Provider related issuesbugSomething isn't workingSomething isn't workingkind/bug
Description
When using a ManagedMetric to collect status metrics from Crossplane-managed resources, the resulting metric data does not include the metadata.name of the managed resource (e.g., the name of btp-subaccount, or other managed resource being observed).
Since ManagedMetric does not allow projections, there is no way to include the name or identity of the resource in the metric output. This makes it impossible to distinguish which specific resource a given metric value belongs to.
Expected behavior
Each recorded metric from a ManagedMetric should:
- Include the
metadata.nameof the managed resource as a dimension (e.g., resource_name). - Optionally include the
namespaceor other identifying fields.
This would enable distinguishing between metrics from multiple instances of the same kind.
Metadata
Metadata
Assignees
Labels
area/providerAll Provider related issuesAll Provider related issuesbugSomething isn't workingSomething isn't workingkind/bug