Skip to content

Add profile mode to extend request profiling

Qingyu Zhao requested to merge add-profile-mode-to-extend-request-profiling into master

What does this MR do?

Related to #62270 (closed)

Extend the support for X-Profile-Token: <token> to have an additional header that defines type of profile we are looking for, like:

  • X-Profile-Mode: execution
  • X-Profile-Mode: memory

If X-Profile-Mode is not given, by default it is execution.

Does this MR meet the acceptance criteria?

Conformity

Performance 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
Edited by 🤖 GitLab Bot 🤖

Merge request reports