mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
Rename TracerPlugin to TelemetryPlugin (#99735)
with the support of metrics the TracerPlugin name is no longer adequate. Renaming this to TelemetryPlugin. Also introducing TelemetryProvider interface. While it is only used in Node.java at the moment to fetch Tracer instance, it is intended to be used in Plugin::createComponents (to be done in separate commit due to the broad scope of this method) This will allow for plugins to get access to both Tracer and Metric interfaces without the need to add yet another argument to createComponents Also adding internal subpackage in module/apm so that it is more obvious which packages are not exported
This commit is contained in:
parent
343cc8047c
commit
0efa67821d
12 changed files with 94 additions and 35 deletions
|
@ -383,6 +383,7 @@ module org.elasticsearch.server {
|
|||
org.elasticsearch.serverless.constants,
|
||||
org.elasticsearch.serverless.apifiltering;
|
||||
exports org.elasticsearch.telemetry.tracing;
|
||||
exports org.elasticsearch.telemetry;
|
||||
|
||||
provides java.util.spi.CalendarDataProvider with org.elasticsearch.common.time.IsoCalendarDataProvider;
|
||||
provides org.elasticsearch.xcontent.ErrorOnUnknown with org.elasticsearch.common.xcontent.SuggestingErrorOnUnknown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue