Skip to content

Commit

Permalink
Merge pull request #389 from jamezp/issue388
Browse files Browse the repository at this point in the history
[388] Change OpenTracing to Telemetry in the documentation and JavaDoc.
  • Loading branch information
Emily-Jiang authored Jun 28, 2024
2 parents 48fb4c7 + 4ea620a commit 7c2ea64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* Implementations of this interface will be notified when new RestClientBuilder instances are being constructed. This
* will allow implementations to register providers on the RestClientBuilder, and is intended for global providers. For
* example, a MicroProfile OpenTracing implementation might want to register a ClientRequestFilter to initiate tracing.
* example, a MicroProfile Telemetry implementation might want to register a ClientRequestFilter to initiate tracing.
*
* In order for the RestClientBuilder to call implementations of this interface, the implementation must be specified
* such that a ServiceLoader can find it - i.e. it must be specified in the <code>
Expand Down
4 changes: 2 additions & 2 deletions spec/src/main/asciidoc/integration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ comma-separated list of headers in the following MicroProfile Config property:

`org.eclipse.microprofile.rest.client.propagateHeaders`.

If the client interface is used within a Jakarta RESTful Web Services context, then the implementation may support injection of `@Context`
If the client interface is used within a Jakarta RESTful Web Services context, then the implementation may support injection of `@Context`
fields and methods into custom `ClientHeadersFactory` instances. The injected objects are related to the Jakarta RESTful Web Services context
(i.e. an injected `UriInfo` will be specific to the Jakarta RESTful Web Services resource's URI, not the URI of the MP Rest Client interface).
This injection is optional for the implementation, so the only portable injection mechanism of `ClientHeadersFactory`
instances is `@Inject` when the client is managed by CDI.

=== Other MicroProfile Technologies

Client requests can be automatically traced when using MP OpenTracing. Likewise, requests can be measured using MP Metrics.
Client requests can be automatically traced when using MP Telemetry. Likewise, requests can be measured using MP Metrics.
Configuration and usage of these technologies should be defined in their respective specification documents.

0 comments on commit 7c2ea64

Please sign in to comment.