lib/loggable/opentelemetry_config.rb in researchable_loggable-1.2.0 vs lib/loggable/opentelemetry_config.rb in researchable_loggable-1.3.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
require 'opentelemetry/sdk'
require 'opentelemetry/instrumentation/all'
+require 'opentelemetry/exporter/otlp'
module Loggable
# The OpenTelemetryConfig module provides a method to configure OpenTelemetry for Rails applications.
# It sets up the instrumentation and tracing with a specified service name, relying on environment
# variables for exporter configuration, such as sending traces to a remote backend like Grafana Cloud.