Skip to content

Track projects using code intelligence

Patrick Bajao requested to merge 237793-code-intelligence-usage-ping into master

What does this MR do?

We need to track the usage of code intelligence.

The authorize endpoint is called by workhorse to determine if it needs to parse LSIF which is needed for code intelligence feature to work.

This adds tracking of i_source_code_code_intelligence event whenever it's determined that we are parsing LSIF. Uses the HLL counter so we get distinct count of projects.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

#237793 (closed)

Edited by Patrick Bajao

Merge request reports