diff --git a/CHANGELOG.md b/CHANGELOG.md index b24cc5347e768..a92e6ebd82613 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Changed - Add ability for Boolean and date field queries to run when only doc_values are enabled ([#11650](https://github.com/opensearch-project/OpenSearch/pull/11650)) - Refactor implementations of query phase searcher, allow QueryCollectorContext to have zero collectors ([#13481](https://github.com/opensearch-project/OpenSearch/pull/13481)) +- Adds support to inject telemetry instances to plugins ([#13636](https://github.com/opensearch-project/OpenSearch/pull/13636)) ### Deprecated diff --git a/server/src/main/java/org/opensearch/telemetry/service/TelemetryService.java b/server/src/main/java/org/opensearch/telemetry/service/TelemetryService.java index 60dc5ab24487f..a4201e290f9f9 100644 --- a/server/src/main/java/org/opensearch/telemetry/service/TelemetryService.java +++ b/server/src/main/java/org/opensearch/telemetry/service/TelemetryService.java @@ -79,7 +79,7 @@ public Tracer getTracer() { /** * Returns the {@link MetricsRegistry} object. If metrics registry or telemetry plugin is not configured then returns {@link MetricsRegistry} - * @return + * @return metrics registry instance. */ public MetricsRegistry getMetricsRegistry() { return metricsRegistryFactory.getMetricsRegistry();