newrelic / nri-winservices

Windows services Integration for New Relic Infrastructure
Apache License 2.0
8 stars 8 forks source link

Research solution to adopt #75

Closed carlossscastro closed 3 years ago

carlossscastro commented 3 years ago

Completed research of WMI alternatives (https://github.com/newrelic/nri-winservices/issues/67) we now need to decide which solution to adopt. Possible alternatives are:

  1. Use our own solution for fetching services metrics, dropping prometheus.

  2. Update community prometheus exporter using direct API calls instead of WMI (https://github.com/newrelic/nri-winservices/issues/67). Trade Offs: a) status metric will be lost as it is not exposed by the windows services API. b) achieve feature parity since the WMI solution allows WQL to be used for filtering (https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.service.md#--collectorserviceservices-where) / (https://docs.microsoft.com/en-us/windows/win32/wmisdk/wql-sql-for-wmi)