docs: Update OpenTelemetry documentation for new http_request.duration metric

Open Beginner friendly
#322 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
75/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
markdown
Domain
documentation

Research direction

Open docs/opentelemetry.md and review the existing metrics documentation, using PR #303 and its linked comment for context. Add the fga-client.http_request.duration histogram metric, including that it records each HTTP request and retry attempt. Done means the new metric is documented alongside the existing metrics.

Written by the indexing model from the issue text.

Description

Description

The OpenTelemetry documentation at docs/opentelemetry.md needs to be updated to include information about the new fga-client.http_request.duration histogram metric that was added in PR #303.

Context

PR #303 introduced a new per-HTTP-request metric (HistogramHttpRequestDuration) that emits telemetry for each individual HTTP request, including retry attempts. The documentation should be updated to reflect this new metric alongside the existing metrics.

References

File to Update

  • docs/opentelemetry.md
Dominant language
TypeScript
Stars
89
Forks
26
Avg merge
1h 22m
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openfga/js-sdk

All issues in openfga/js-sdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.