Sha256: d1e0377617629eb2d3c39e640b0f84047f656c6ba49c3fa0b73e164cd0af61b9

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

module Instana
  module Backend
    # @since 1.198.0
    class LambdaFunction
      ID = "com.instana.plugin.aws.lambda".freeze

      def entity_id
        Thread.current[:instana_function_arn]
      end

      def data
        {}
      end

      def snapshot
        {
          name: ID,
          entityId: entity_id,
          data: data
        }
      end

      def source
        {

        }
      end

      def host_name
        entity_id
      end


    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
instana-1.197.0 lib/instana/snapshot/lambda_function.rb