Skip to content

SystemViewExporterSpi can not be properly configured #12344

@JonasMorrissey

Description

@JonasMorrissey

The IgniteConfiguration has a method setSystemViewExporterSpi to configure a SystemViewExporterSpi. My expectation is that when I set a no-op SPI there, no JMX beans for system views will be created.

Unfortunately, this is not the case. In the method GridSystemViewManager#addStandardExporters a new new JmxSystemViewExporterSpi() is always added to the already defined SPIs:

newSpis[newSpis.length - 1] = new JmxSystemViewExporterSpi();

This behaviour was introduced for the issue https://issues.apache.org/jira/browse/IGNITE-12921 - it was claimed that configuring a custom SystemViewExporterSpi leads to non-obvious behaviour to the user, while in my opinion the exact opposite is the case. The behaviour now is non-obvious.

Two questions then:

  • Is there currently a way to disable system views?
  • If not, could we please make the ignite configuration have an effect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions