AutoDiscover ServiceMonitor CRD on Kubernetes

Hi,

I have a question about Metricsbeat. I've seen in the official documentation that the service supports AutoDiscovery which is great ( Autodiscover | Metricbeat Reference [7.15] | Elastic ).

Officially it supports Nodes, Pods and Services. Would it be possible to support the ServiceMonitor CRD manifest type too? I'd be happy to contribute with a Go patch if required, but I'd need some help to understand what to patch on the (official?) Metricbeats Github repository ( beats/metricbeat at master · elastic/beats · GitHub ).

Supporting this manifest type would solve once and for all the scenario where Charts do deploy this service type, thinking you'll pair them with Prometheus and ensure we can still forward metrics to Elasticsearch through Metricsbeat.

Thank you in advance,
Julian

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.