Move test metrics export configuration helper to gitlab-rspec gem

What does this MR do and why?

This change moves the custom metrics export helper class in to gitlab-rspec gem which allows to export metrics automatically in all rspec executions as long as needed variables are present.

  • Use more generic variable names given clickhouse instance is not exclusively used for test metrics
  • Move the configuration helper class to gitlab-rspec gem which allows better reuse and adding exports of test results for other gems

References

Closes Rename ClickHouse environment variables to use ... (gitlab-org/quality/analytics/team#316 - closed), Move exporter configuration helper to gitlab-rs... (gitlab-org/quality/analytics/team#333 - closed)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Validation

Edited by andrey

Merge request reports

Loading