Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Metricbeat][Kubernetes] Enrich metadata from state resource quota #38004

Open
constanca-m opened this issue Feb 14, 2024 · 0 comments
Open

[Metricbeat][Kubernetes] Enrich metadata from state resource quota #38004

constanca-m opened this issue Feb 14, 2024 · 0 comments
Labels
Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team

Comments

@constanca-m
Copy link
Contributor

Unlike other state metricsets, resource quota does not have an enricher for its metadata:

type ResourceQuotaMetricSet struct {
mb.BaseMetricSet
prometheus p.Prometheus
mapping *p.MetricsMapping
mod k8smod.Module
}

We should add a new variable for it like we do with other state metricsets:

enricher: util.NewResourceMetadataEnricher(base, resourceName, mod.GetMetricsRepo(), false),

This enricher is expected to make use of watchers tracking the resources namespace and resource quota.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 14, 2024
@constanca-m constanca-m added the Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team label Feb 14, 2024
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team
Projects
None yet
Development

No branches or pull requests

1 participant