Skip to content

[code-browser] observability of extension installations and seach #11608

Closed
@akosyakov

Description

@akosyakov

OpenVSX proxy provides some isolation to us against OpenVSX incidents. Unfortunately we don't really know to which extent. We need to have analytics on errors and latencies of extension installations and search from the perspective of a user. VS Code already provides such telemetry we need to use prometheus push gateway endpoint of the supervisor to observe it. We could start by counting errors on these operations, i.e. add gitpod_code_extension_action_count metric with the following labels:

  • action: install | search
  • outcome: 'user-failure' | 'gitpod-failure' | 'success'
    • user-failure is invalid args, missing extensions and so on
    • gitpod-failure if OpenVSX or proxy is not responsive or bugs on our side in VS Code
  • error: string - a coarse grained predefined error code, high-cardinality is expensive, so we should be careful here, real errors should be logged if we can group errors in some classes it is better

Later we should move reporting to IDE proxy and push all errors there as well for analytics in GCP error reporting, but it is blocked on #11134 right now

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions