This article demonstrates how to setup preprocessor rules with the Wavefront Proxy to selectively block metrics being generated from the Wavefront Operator itself.
Wavefront Operator
To achieve your goal of disabling selected metrics from the Wavefront Operator, for example, certain control plane metrics, you need to add a custom resource file with preprocessor rules so that the proxy knows which metrics to reject/block.
Please refer to the following link for an example of preprocessor rules: Wavefront Proxy Preprocessor Rules YAML
Here’s an example of what two blocking rules could look like:
You just need to add the metric names you want to block to the match sections in the rules. Once configured, you can check the logs to see histograms are being blocked by running the following command:
The logs should show entries like: