Skip to content

Convert counts.web_ide_views to Internal events

What does this MR do and why?

Related to #429556 (closed).

Thia migrates counts.web_ide_views total count metric to internal events and changes how these metrics are incremented when an event related to them is triggered.

Now instead of constructing a Redis key directly from the event name, we select metric definitions containing this event, and then increment the metrics using the #increment method added to the instrumentation class, with details from the metric definition passed during instantiation.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Piotr Skorupa

Merge request reports

Loading