Sha256: 6b36f6a8469b5b9ae410bfd53fb71d6e02a1d3fbac1d69353f6a4276358617d3
Contents?: true
Size: 515 Bytes
Versions: 24
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true require 'elastic_apm/stacktrace' require 'elastic_apm/context' require 'elastic_apm/error/exception' require 'elastic_apm/error/log' module ElasticAPM # @api private class Error def initialize(culprit: nil) @id = SecureRandom.uuid @culprit = culprit @timestamp = Util.micros @context = Context.new @transaction_id = nil end attr_accessor :id, :culprit, :exception, :log, :transaction_id, :context attr_reader :timestamp end end
Version data entries
24 entries across 24 versions & 1 rubygems
Version | Path |
---|---|
elastic-apm-0.4.1 | lib/elastic_apm/error.rb |
elastic-apm-0.4.0 | lib/elastic_apm/error.rb |
elastic-apm-0.3.0 | lib/elastic_apm/error.rb |
elastic-apm-0.2.0 | lib/elastic_apm/error.rb |