Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Add Two Metrics #220

Closed
dastrong-codiga opened this issue Dec 9, 2022 · 0 comments
Closed

Add Two Metrics #220

dastrong-codiga opened this issue Dec 9, 2022 · 0 comments
Assignees

Comments

@dastrong-codiga
Copy link
Contributor

dastrong-codiga commented Dec 9, 2022

Two things for this PR.

  1. We want to know when users have applied a Rosie rule fix. To do this, send a mutation against the Codiga API, when the user clicks to apply a fix, as follows:
mutation recordAccess($ruleId: Long, $fingerprint: String) {
  recordAccess(
    accessType: VisualStudio
    actionType: RuleFix
    userFingerprint: $fingerprint
    ruleId: $ruleId
  )
}
  1. We want to know when users have used the create a suggested codiga.yml file. To do this, send a mutation against the Codiga API when the user clicks to create a codiga.yml file as follows:
mutation recordAccess($fingerprint: String) {
  recordAccess(
    accessType: VisualStudio
    actionType: CreateCodigaYaml
    userFingerprint: $fingerprint
  )
}
picimako added a commit that referenced this issue Dec 13, 2022
dastrong-codiga added a commit that referenced this issue Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants