sentrysoftware / metricshub

Universal Metrics Collection for OpenTelemetry
https://metricshub.com
GNU Affero General Public License v3.0
15 stars 4 forks source link

Add the ability to filter monitors #423

Closed NassimBtk closed 1 month ago

NassimBtk commented 2 months ago

Needs

Add the ability to include or exclude monitored instances.

Specification

The user should be able to specify a set of monitors to be included or excluded.

A match type using + and ! notations should be implemented.

The engine/hardware strategies (Discovery, Collect, Simple, Hardware.*) need to be updated in order to apply the filter.

We need to provide a filtering section under the resource, resource group or even globally in metricshsub.yaml.

Add a new configuration property in metricshub.yaml: monitorFilters.