-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add :metrics option to capture headers (#625)
* Add :withFaunaMetrics option to capture headers * rename 'headers' to 'metrics' * Add `queryWithMetrics()` to align w JVM driver * wip * fix node backward compatibility issue * pass metrics option into query query options * add tests * remove legacy metrics * Update src/Client.js Co-authored-by: Cleve Stuart <90649124+cleve-fauna@users.noreply.github.com> * Remove legacy metric headers * drop legacy metrics * documentation * add comments * update readme * Return metrics as Int * Update docs * Update src/Client.js Co-authored-by: Cleve Stuart <90649124+cleve-fauna@users.noreply.github.com> * bugfix * add test * add test Co-authored-by: Henry Ball <henry.ball@fauna.com> Co-authored-by: Cleve Stuart <90649124+cleve-fauna@users.noreply.github.com>
- Loading branch information
1 parent
ee6f53f
commit 2dd164e
Showing
4 changed files
with
120 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters