Conversation
Signed-off-by: Fabian Stäber <fabian@fstab.de>
This seems redundant, you can already configure the jmx exporter to drop samples by setting However you likely don't even need that - |
|
The main use case I had in mind for the metric filter was that some users want to filter out One aspect that might be confusing: The name filters are applied after scraping the JMX bean. If you want to prevent the JMX bean from being scraped, there's the A complete example is test-config-new.yaml, but it's very early stages. I implemented a parser that's backwards-compatible with the current format. Next step is to write tests for different combinations of SSL config (both for the collector via jmxUrl and for the HTTPServer), but that's quite time consuming. |
Allow filtering metrics by suffix. For example, this can be used to filter out
_createdmetrics.There are different ways to configure this, depending on how you expose metrics:
Manual creation of the HTTPServer
See
TestHTTPServer.testCreatedMetricRemoved().Exporter Servlet
jmx_exporter
We are working on a new configuration file format for
jmx_exporter, see thenew-configbranch. The new config will have a section like this: