Skip to content

Commit

Permalink
Merge pull request #114 from openfga/fix/otel/default_http_request_me…
Browse files Browse the repository at this point in the history
…thod_attribute

fix(OpenTelemetry): `http.request.method` should be enabled by default
  • Loading branch information
evansims authored Sep 23, 2024
2 parents af528e6 + 5075d21 commit 664f98a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public TelemetryConfiguration() {
defaultAttributes.put(Attributes.FGA_CLIENT_REQUEST_STORE_ID, Optional.empty());
defaultAttributes.put(Attributes.FGA_CLIENT_RESPONSE_MODEL_ID, Optional.empty());
defaultAttributes.put(Attributes.HTTP_HOST, Optional.empty());
defaultAttributes.put(Attributes.HTTP_REQUEST_METHOD, Optional.empty());
defaultAttributes.put(Attributes.HTTP_REQUEST_RESEND_COUNT, Optional.empty());
defaultAttributes.put(Attributes.HTTP_RESPONSE_STATUS_CODE, Optional.empty());
defaultAttributes.put(Attributes.URL_FULL, Optional.empty());
Expand Down

0 comments on commit 664f98a

Please sign in to comment.