Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore/productsubscription: add metric tracking usage#63020

Merged
bobheadxi merged 1 commit intomainfrom
productsubscription-access-metric
May 31, 2024
Merged

chore/productsubscription: add metric tracking usage#63020
bobheadxi merged 1 commit intomainfrom
productsubscription-access-metric

Conversation

@bobheadxi
Copy link
Member

Adds a simple metric tracking usage of productSubscriptionByDBID. All GraphQL resolvers in this package use this at some point (including the Cody Gateway access and licenses resolvers, which is surprising), so this is a good place to record it.

The goal is to use this to pare down traffic to this endpoint, and eventually remove it, as part of https://www.notion.so/sourcegraph/Establish-Enterprise-Portal-as-the-enterprise-integration-platform-261f0be5a4a040088eceb59c5ac4a8b3?pvs=4

Test plan

n/a

@bobheadxi bobheadxi requested a review from a team May 31, 2024 22:43
@cla-bot cla-bot bot added the cla-signed label May 31, 2024
@bobheadxi bobheadxi enabled auto-merge (squash) May 31, 2024 22:47
@bobheadxi bobheadxi merged commit b843c95 into main May 31, 2024
@bobheadxi bobheadxi deleted the productsubscription-access-metric branch May 31, 2024 22:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants