diff --git a/server/src/main/java/org/opensearch/plugins/Plugin.java b/server/src/main/java/org/opensearch/plugins/Plugin.java index acf1e386732af..6e1017a516925 100644 --- a/server/src/main/java/org/opensearch/plugins/Plugin.java +++ b/server/src/main/java/org/opensearch/plugins/Plugin.java @@ -139,7 +139,7 @@ public Collection> getGuiceServiceClasses() * @param indexNameExpressionResolver A service that resolves expression to index and alias names * @param repositoriesServiceSupplier A supplier for the service that manages snapshot repositories; will return null when this method * is called, but will return the repositories service once the node is initialized. - * @param contextSwitcher + * @param contextSwitcher A client for switching to plugin system context */ public Collection createComponents( Client client, diff --git a/server/src/main/java/org/opensearch/plugins/TelemetryAwarePlugin.java b/server/src/main/java/org/opensearch/plugins/TelemetryAwarePlugin.java index 13f17bc86cb44..01287931719b2 100644 --- a/server/src/main/java/org/opensearch/plugins/TelemetryAwarePlugin.java +++ b/server/src/main/java/org/opensearch/plugins/TelemetryAwarePlugin.java @@ -60,6 +60,7 @@ public interface TelemetryAwarePlugin { * is called, but will return the repositories service once the node is initialized. * @param tracer the tracer to add tracing instrumentation. * @param metricsRegistry the registry for metrics instrumentation. + * @param contextSwitcher A client for switching to plugin system context */ default Collection createComponents( NodeClient client,