Closed Squallman closed 4 months ago
@david-leifker could you please review?
@Squallman please rebase and bump the versions for the charts being modified
@darnaut could you please approve the workflow run?
@Squallman As we already use your PR within an internal fork of the datahub-helm chart, I noticed, that your changes only affect the service monitors for the datahub-gms and datahub-frontend subcharts, but not the datahub-mae-consumer and datahub-mce-consumer subcharts:
I think it would make sense to also allow to specify custom labels for theses two service monitors. π
Hi @Masterchen09,
I've updated my PR to include the implementation for custom labels in the service monitors for both the datahub-mae-consumer and datahub-mce-consumer subcharts. Could you please review the changes and approve the workflow?
Thank you! π
Hi @Squallman,
thank you for adding the custom labels also for the service monitors of the mae- and mce-consumer! π
Unfortunately I cannot review or approve anything here as I am not part of the Acryldata team - I am "only" a contributor like you. π
This pull request adds support for specifying custom labels for
ServiceMonitor
resources via thevalues.yaml
file in the DataHub Helm charts. This enhancement enables seamless integration with Prometheus by allowing for the application of organization-specific labeling conventions directly during the Helm chart deployment process.Motivation and Context
Custom label support for
ServiceMonitor
resources aligns with existing customization capabilities for Service and Deployment resources within the DataHub Helm charts, addressing a gap in the configuration flexibility needed for comprehensive monitoring setups. This update facilitates more precise service discovery and monitoring configurations, particularly in environments where Prometheus's service discovery mechanisms rely heavily on specific label sets.How Has This Been Tested?
values.yaml
.ServiceMonitor
resources for the presence of custom labels and ensuring that Prometheus could discover and scrape metrics from services associated with those labels.ServiceMonitor
resources.Types of changes
Checklist
Related Issue(s)
Resolves #449