Sha256: 695066e9036b6bea907dbccd2e579b159feca642025165cf4f9bc4c465968ff6
Contents?: true
Size: 503 Bytes
Versions: 5
Compression:
Stored size: 503 Bytes
Contents
# frozen_string_literal: true require "rubygems" require "bundler/setup" Bundler.require(:default) Splunk::Otel.configure do |configurator| $configurator = configurator # rubocop:disable Style/GlobalVars class << configurator def test_shutdown @span_processors.each(&:shutdown) end end end tracer = OpenTelemetry.tracer_provider.tracer("test", "1.0") tracer.in_span("test-span") do puts "test-span execution" end $configurator.test_shutdown # rubocop:disable Style/GlobalVars
Version data entries
5 entries across 5 versions & 1 rubygems