This repository was archived by the owner on Sep 30, 2024. It is now read-only.
(analytics) add repo meta usage ping#51921
Merged
Merged
Conversation
nathan-downs
approved these changes
May 16, 2023
nathan-downs
left a comment
Contributor
There was a problem hiding this comment.
SQL aggregation logic looks good to me, spun up sg locally and verified the internal ping structure but not the functionality of the actual data aggregations.
99d9214 to
e552bb5
Compare
toolmantim
approved these changes
May 18, 2023
toolmantim
left a comment
Contributor
There was a problem hiding this comment.
Looks good! Would it be worth tracking the usage of people clicking the new badge links (from the search and the repo root page)?
ac1b84d to
3ea2d58
Compare
analytics: add "RepoMetadataAdded", RepoMetadataUpdated" and RepoMetadataDeleted" event logs
…ull in serialized response
refactor: add "RepoMetadataCount" and "ReposWithMetadataCount" fields to the ping
…ounting condition
…usage counting condition
3ea2d58 to
8141edd
Compare
Contributor
|
Codenotify: Notifying subscribers in CODENOTIFY files for diff bad2254...8141edd.
|
Collaborator
Bundle size report 📦
Look at the Statoscope report for a full comparison between the commits 8141edd and bad2254 or learn more. Open explanation
|
Contributor
ErikaRS
pushed a commit
that referenced
this pull request
Jun 22, 2023
* (analytics) adds backend event logs on repo metadata create/update/delete
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of https://github.com/sourcegraph/pr-faqs/issues/96. Related to https://github.com/sourcegraph/analytics/pull/928.
This PR
Example:
Test plan
sg startrepoMetadataUsagefield and check its structure