-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(reporting): Add
reportTiming
option to EngineReportingOptions
(
#3918) * Add trace reporting api Co-Authored-By: Trevor Scheer <trevor@apollographql.com> * Set captureTraces to false if we don't report * Fix tests * Apply suggestions from code review Co-authored-by: Jesse Rosenberger <git@jro.cc> * Address comments * Prettier * Revert "Prettier" This reverts commit e00dfe1. The need to revert this is not the fault of the author at all. The thrashing here is truly unfortunate, but that's a result of past patterns and this monorepo cannot tolerate any more burying of history. By reverting this commit, the blame for the lines it tried to change will not be re-directed at the author of `e00dfe1db` when they were introduced by others. Most importantly, this makes it reasonable to accurately review this PR in a timely fashion. * Move code around and clean * Set capture traces in the reporting agent. * Clean up * Add documentation * Remove unnecessary check * Update CHANGELOG.md Co-authored-by: Jesse Rosenberger <git@jro.cc> * Update packages/apollo-engine-reporting/src/__tests__/plugin.test.ts Co-authored-by: Jesse Rosenberger <git@jro.cc> * Apply suggestions from code review Co-authored-by: Jesse Rosenberger <git@jro.cc> * Prettier * Remove shouldReportTrace * Update docs/source/api/apollo-server.md Co-authored-by: Jesse Rosenberger <git@jro.cc> * Update packages/apollo-engine-reporting/src/agent.ts Co-authored-by: Jesse Rosenberger <git@jro.cc> * Update packages/apollo-engine-reporting/src/agent.ts Co-authored-by: Jesse Rosenberger <git@jro.cc> * Address comments * Update changelog * Re-prettier agent.ts * Address comments * Quick comment change * Rename to instrument operation * Update apollo-server.md * Rename to `timeOperation` * chore(deps): update dependency gatsby-theme-apollo-docs to v4.2.6 (#4243) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update dependency @types/aws-lambda to v8.10.56 (#4247) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update dependency @types/ioredis to v4.16.5 (#4248) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update dependency @types/uuid to v7.0.4 (#4250) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update dependency gatsby to v2.23.3 (#4251) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update dependency @types/supertest to v2.0.9 (#4249) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update dependency lerna to v3.22.1 (#4252) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Rename to report timing * Update changelog * Use code fences in API documentation Co-authored-by: Joshua Segaran <joshua.segaran@apollographql.com> Co-authored-by: Trevor Scheer <trevor@apollographql.com> Co-authored-by: Jesse Rosenberger <git@jro.cc> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com>
- Loading branch information
1 parent
a4c7e15
commit 54ff1e6
Showing
10 changed files
with
338 additions
and
43 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
Oops, something went wrong.