Sha256: a61a44c78c8a69b80f2bc7fcdef2dff8c159fbb7da9a5384fbec200d8927f087
Contents?: true
Size: 851 Bytes
Versions: 11
Compression:
Stored size: 851 Bytes
Contents
# frozen_string_literal: true require "singleton" module GitlabQuality module TestTooling module TestMetricsExporter class Config include Singleton class << self def configuration Config.instance end def configure yield(configuration) end end attr_accessor :influxdb_url, :influxdb_token, :influxdb_bucket, :run_type attr_writer :custom_keys_tags, :custom_keys_fields, :test_metric_file_name def custom_keys_tags @custom_keys_tags || [] end def custom_keys_fields @custom_keys_fields || [] end def test_metric_file_name @test_metric_file_name || "test_metrics.json" end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems