Skip to content

Conversation

@smdn
Copy link
Owner

@smdn smdn commented May 24, 2025

Description

Add support for the multigraph protocol extension.

This PR implements processing when the multigraph parameter is given in the cap command.

This PR introduces a new IMultigraphPlugin interface, which allows plugins to be implemented that support multiple graphs.
This interface behaves as a single multigraph-aware plugin if multigraph is enabled. If it is disabled, it will simply behaves as multiple plugins.

Considerations

The default implementation of this PR will not change the environment variable MUNIN_CAP_MULTIGRAPH.

This PR changes the behavior of MuninProtocolHandler to cache the list of IPlugins provided by IMuninNodeProfile.PluginProvider.
This causes that the changes to IMuninNodeProfile.PluginProvider will not be reflected as long as the node is running.

@smdn smdn merged commit db8b40e into main May 24, 2025
13 checks passed
@smdn smdn deleted the cap-multigraph branch May 24, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants