Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron: allow accessing the metrics endpoint for performance analysis #13380

Merged

Commits on Mar 12, 2024

  1. electron: allow accessing the metrics endpoint for performance analysis

    By default, when running Theia in Electron, all endpoints are protected
    by the ElectronTokenValidator.
    This patch allows accessing the '/metrics' endpoint without a token,
    which enables us to collect metrics for performance analysis.
    
    For this, ElectronTokenValidator is extended to allow access to the
    metrics endpoint. All other endpoints are still protected.
    
    Contributed on behalf of STMicroelectronics
    
    Signed-off-by: Olaf Lessenich <[email protected]>
    xai committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    5017e39 View commit details
    Browse the repository at this point in the history