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

feat(gatsby): start telemetry server on gatsby develop for Admin #26853

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

mxstbr
Copy link
Contributor

@mxstbr mxstbr commented Sep 10, 2020

As we noticed in #26627, gatsby-telemetry can only run in a node context. In order to add telemetry to Admin we created a HTTP server that exposes the telemetry methods for Admin to POST to in #26832.

This PR starts said telemetry server on gatsby develop and stores it as a service for Admin to discover.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 10, 2020
@mxstbr mxstbr added topic: cli Related to the Gatsby CLI and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Sep 10, 2020
@ascorbic
Copy link
Contributor

As #26832 hasn't been merged it would probably be easier to review these as a single PR

@ascorbic
Copy link
Contributor

This is failing pnp tests because you're using "body-parser" without delcaring it as a dependency.

@mxstbr mxstbr merged commit 5febd35 into admin/telemetry-service Sep 11, 2020
@delete-merged-branch delete-merged-branch bot deleted the admin/develop-telemetry-service branch September 11, 2020 10:37
mxstbr added a commit that referenced this pull request Sep 14, 2020
mxstbr added a commit that referenced this pull request Sep 14, 2020
mxstbr added a commit that referenced this pull request Sep 14, 2020
…26832)

* Set up first service exposing gatsby-telemetry

* Run background updates

* Move telemetry server to gatsby package

* Add body-parser dependency

* Start telemetry server on gatsby develop (#26853)
mxstbr added a commit that referenced this pull request Sep 14, 2020
* Set up first service exposing gatsby-telemetry

* Run background updates

* Move telemetry server to gatsby package

* Add body-parser dependency

* Start telemetry server on gatsby develop (#26853)

* Revert "Start telemetry server on gatsby develop (#26853)"

This reverts commit 5febd35.

* Revert "Revert "Start telemetry server on gatsby develop (#26853)""

This reverts commit 08bb027.

* Track first telemetry from Admin

* Update telemetry-server.ts
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
* Set up first service exposing gatsby-telemetry

* Run background updates

* Move telemetry server to gatsby package

* Add body-parser dependency

* Start telemetry server on gatsby develop (gatsbyjs#26853)

* Revert "Start telemetry server on gatsby develop (gatsbyjs#26853)"

This reverts commit 5febd35.

* Revert "Revert "Start telemetry server on gatsby develop (gatsbyjs#26853)""

This reverts commit 08bb027.

* Track first telemetry from Admin

* Update telemetry-server.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: cli Related to the Gatsby CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants