-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of OpenFGA and the issue still persists.
- I have searched the Slack community and have not found a suitable solution or answer.
- I agree to the terms within the OpenFGA Code of Conduct.
Description
The Java SDK creates a new Telemetry, Metrics, and all associated types for each HTTP request.
Expectation
Only one Telemetry instance should exist per SDK instance. All Telemetry operations should use the single instance.
Reproduction
Observe that new Telemetry instances are created on each HTTP request:
this.telemetry = new Telemetry(configuration);
New instances are also created in OpenFgaApi
and OAuth2Client
.
OpenFGA SDK version
any
OpenFGA version
any
SDK Configuration
any
Logs
No response
References
Discovered while investigating #201
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog