Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open telemetry support #803

Merged
merged 1 commit into from
Jun 11, 2021
Merged

Open telemetry support #803

merged 1 commit into from
Jun 11, 2021

Commits on Jun 11, 2021

  1. Open telemetry support

    This PR adds instrumentation to emit the following spans:
    * federation.request - total time to server a request.
    * federation.validate - time to validate the federated query.
    * federation.plan - time to plan the federated query.
    * federation.execute - the total time executing query.
    * federation.fetch - time fetching data from a subgraph.
    * federation.postprocessing - time to render the response from all the subgraph data.
    
    The instrumentation looks a little messy due to the requirement to set error status on spans on exception, but also if errors are added to the response.
    BrynCooke committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bc65b99 View commit details
    Browse the repository at this point in the history