Skip to content

feat: add telemetry#30

Merged
SgtPooki merged 6 commits into
mainfrom
feat/add-telemetry
Jan 26, 2023
Merged

feat: add telemetry#30
SgtPooki merged 6 commits into
mainfrom
feat/add-telemetry

Conversation

@SgtPooki

Copy link
Copy Markdown
Member

fixes #28

@SgtPooki
SgtPooki requested review from aschmahmann and lidel January 24, 2023 22:21
@SgtPooki

Copy link
Copy Markdown
Member Author

ping @djmcquillan @whizzzkid

@SgtPooki SgtPooki mentioned this pull request Jan 24, 2023
8 tasks

@whizzzkid whizzzkid left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread web/telemetry.js
Comment on lines +4 to +5
const telemetry = new BrowserMetricsProvider({ appKey: 'b09437fd68bb257fef9b844a624fac0859b6224e' })
window.telemetry = telemetry

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just wondering if this should be hook up automatically when BrowserMetricsProvider is init.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since these are only temporary (removed when #29 is done) I don't think so, but I'm open

@SgtPooki

Copy link
Copy Markdown
Member Author

@aschmahmann any comments before i merge this? How do we deploy this once merged?

@aschmahmann aschmahmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SgtPooki not much to add here. Given the nature of the PR someone on your team is probably much better equipped to review than me.

The website itself should be auto-deployed by Fleek when you merge to master (it's managed by a PL account). I think it currently just deploys the "web" folder and doesn't need to do anything special, if that's changed as a function of this PR then you might need to change the Fleek configuration as well.

Comment thread web/index.html Outdated
Comment thread README.md Outdated
@SgtPooki SgtPooki self-assigned this Jan 26, 2023
Also use minified telemetry.min.js instead of unminified telemetry.js.

This resolves the need for a build step since ipfs-gui doesn't have
access to the deployment environment.
@SgtPooki
SgtPooki removed the request for review from lidel January 26, 2023 19:15
@0xDanomite

Copy link
Copy Markdown

lgtm with added telemetry.min.js

@SgtPooki
SgtPooki merged commit 9702b6f into main Jan 26, 2023
@SgtPooki
SgtPooki deleted the feat/add-telemetry branch January 26, 2023 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: ignite-metrics - Add telemetry without UI

4 participants