To test whether a metric based on a custom event is tracked in non-production environments, you can follow a specific process. While non-production events are visible in diagnostics, they are not included in Pulse results.
To include these events, you can log them as regular events. It is important to note that non-production data is intentionally not included in metrics to prevent non-production test data from being included in the metrics. When testing your event logging, you can suffix your events with '_test' and use the production environment. Once you are ready to finalize your event logging, you can remove these suffixes.
If you encounter issues where the Metrics Logstream is not visible, it may indicate a connection or schema issue, and Statsig is not receiving your precomputed metrics. In such cases, you should reach out for assistance, and a team member will provide support.