Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ This observation uses the `io.micrometer.jakarta9.instrument.jms.DefaultJmsProce
== HTTP Server instrumentation

HTTP server exchange observations are created with the name `"http.server.requests"` for Servlet and Reactive applications,
or "http.server.request.duration" if using the OpenTelemetry convention.
or `"http.server.request.duration"` if using the OpenTelemetry convention.

[[observability.http-server.servlet]]
=== Servlet applications
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,6 @@ public class OpenTelemetryServerRequestObservationConvention implements ServerRe
private static final Set<String> HTTP_METHODS = Stream.of(HttpMethod.values()).map(HttpMethod::name).collect(Collectors.toUnmodifiableSet());


/**
* Create a convention.
*/
public OpenTelemetryServerRequestObservationConvention() {
}


@Override
public String getName() {
return NAME;
Expand All @@ -87,7 +80,7 @@ public String getName() {
* SHOULD be {@code {method}}.
* <p>
* The {@code {method}} MUST be {@code {http.request.method}} if the method represents the original
* method known to the instrumentation. In other cases (when Customize Toolbar… is
* method known to the instrumentation. In other cases (when {@code {http.request.method}} is
* set to {@code _OTHER}), {@code {method}} MUST be HTTP.
* <p>
* The {@code target} SHOULD be the {@code {http.route}}.
Expand Down