Skip to content

Commit

Permalink
docs: remove unsupported attributes from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames committed Feb 12, 2025
1 parent 899bc3e commit f881b38
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/OpenTelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f881b38

Please sign in to comment.