diff --git a/docs/OpenTelemetry.md b/docs/OpenTelemetry.md index 94aed42..f4e28da 100644 --- a/docs/OpenTelemetry.md +++ b/docs/OpenTelemetry.md @@ -26,12 +26,10 @@ In cases when metrics events are sent, they will not be viewable outside of infr | `fga-client.request.store_id` | string | Yes | Store ID that was sent as part of the request | | `fga-client.response.model_id` | string | Yes | Authorization model ID that the FGA server used | | `fga-client.user` | string | No | User associated with the action of the request for check and list users | -| `http.client.request.duration` | int | No | Duration for the SDK to complete the request, in milliseconds | -| `http.host` | string | Yes | Host identifier of the origin the request was sent to | +| `http.host` | string | Yes | Host identifier of the origin the request was sent to | | `http.request.method` | string | Yes | HTTP method for the request | | `http.request.resend_count` | int | Yes | Number of retries attempted, if any | | `http.response.status_code` | int | Yes | Status code of the response (e.g., `200` for success) | -| `http.server.request.duration` | int | No | Time taken by the FGA server to process and evaluate the request, in milliseconds | | `url.scheme` | string | Yes | HTTP scheme of the request (`http`/`https`) | | `url.full` | string | Yes | Full URL of the request | | `user_agent.original` | string | Yes | User Agent used in the query | @@ -79,7 +77,7 @@ public class Example { .put(ServiceAttributes.SERVICE_NAME, "example-app") .put(ServiceAttributes.SERVICE_VERSION, "0.1.0") .build(); - + SdkMeterProvider sdkMeterProvider = SdkMeterProvider.builder() .registerMetricReader(PeriodicMetricReader.builder(OtlpGrpcMetricExporter.builder().build()).build()) .setResource(resource)