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(shared): SDK telemetry #2154

Merged
merged 37 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d5f521f
feat(clerk-js): Spike out telemetry collection
BRKalow Oct 3, 2023
986a29d
feat(clerk-js): Add sampling rate and verbose option
BRKalow Oct 3, 2023
ce862ee
feat(shared): Move TelemtryCollector into shared, make it isomorphic
BRKalow Oct 4, 2023
5a84f43
feat(nextjs): Add telemtry collection for authMiddleware
BRKalow Oct 4, 2023
9e7ddb0
feat(shared): Support passing multiple events to the telemetry endpoint
BRKalow Oct 5, 2023
60a020e
feat(shared): Abstract fetch into sendEvent
BRKalow Oct 5, 2023
5f1968f
feat(shared): Refactor SDK metadata handling to get accurate value
BRKalow Oct 19, 2023
9ccf3e2
chore(repo): Merge with main
BRKalow Oct 19, 2023
faee737
feat(shared): Update endpoint, don't use no-cors
BRKalow Nov 8, 2023
9634d24
chore(repo): Merge with main
BRKalow Nov 8, 2023
aa53dd7
fix(nextjs): Fix merge conflict
BRKalow Nov 8, 2023
6e7144e
feat(shared): Add batching to the telemetry collector
BRKalow Nov 8, 2023
85c5a45
feat(shared): Add opt-out support for SDK telemetry (#2099)
BRKalow Nov 13, 2023
5d6973e
chore(repo): Merge with main
BRKalow Nov 14, 2023
01ac716
feat(clerk-js): Add TelemetryCollector instance to backend client (#2…
BRKalow Nov 16, 2023
1d3e35e
chore(repo): Merge with main
BRKalow Nov 16, 2023
7b462a2
chore(repo): Add changeset
BRKalow Nov 16, 2023
3a0a239
fix(shared): Fix tests that rely on fetch
BRKalow Nov 17, 2023
2c4ba6b
feat(shared): Set production endpoint
BRKalow Nov 17, 2023
c43c32c
feat(clerk-js): Make telemtry public, expose via isomorphicClerk
BRKalow Nov 17, 2023
e2ac1d6
feat(shared): Add doc on the TelemetryCollector
BRKalow Nov 17, 2023
a33dc62
feat(clerk-js): Support telemetry: false as a way to disable telemetry
BRKalow Nov 17, 2023
2c3e8e6
chore(shared): Tweak comment
BRKalow Nov 17, 2023
120f974
chore(shared): Tweak comment
BRKalow Nov 17, 2023
0c15744
fix(clerk-sdk-node): Add PACKAGE_ constants for tests
BRKalow Nov 17, 2023
69652ca
fix(fastify): Define PACKAGE_ constants in test environment
BRKalow Nov 17, 2023
3b1e7ab
Merge branch 'main' into brk.feat/telemetry-spike
BRKalow Nov 20, 2023
29f60d1
feat(shared): Refactor telemetry instrumentation to rely on helpers
BRKalow Nov 20, 2023
ba5bcfd
feat(shared): Add telemetry notice
BRKalow Nov 21, 2023
0746c64
feat(shared): Add postinstall script
BRKalow Nov 21, 2023
e175962
chore(shared): Add word
BRKalow Nov 21, 2023
b2db03b
chore(shared): Swallow errors in postinstall
BRKalow Nov 21, 2023
afed654
chore(repo): Allow scripts directory in subpaths-workaround
BRKalow Nov 21, 2023
322de55
feat(shared): Adjust types to enforce the event structure from event …
BRKalow Nov 21, 2023
0cd8e8e
chore(shared): Simplify telemetry.record() API
BRKalow Nov 22, 2023
0118eb8
Merge branch 'main' into brk.feat/telemetry-spike
BRKalow Nov 22, 2023
a783aba
Merge branch 'main' into brk.feat/telemetry-spike
BRKalow Nov 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/wicked-spoons-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'gatsby-plugin-clerk': patch
'@clerk/clerk-js': patch
'@clerk/clerk-sdk-node': patch
'@clerk/backend': patch
'@clerk/fastify': patch
'@clerk/nextjs': patch
'@clerk/shared': patch
'@clerk/clerk-react': patch
'@clerk/remix': patch
'@clerk/types': patch
---

Introduces telemetry collection from Clerk's SDKs. Collected telemetry will be used to gain insights into product usage and help drive roadmap priority. For more information, see https://clerk.com/docs/telemetry.
Loading
Loading