Class: Instana::Snapshot::LambdaFunction
- Inherits:
-
Object
- Object
- Instana::Snapshot::LambdaFunction
- Defined in:
- lib/instana/snapshot/lambda_function.rb
Overview
Constant Summary collapse
- ID =
"com.instana.plugin.aws.lambda".freeze
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
14 15 16 |
# File 'lib/instana/snapshot/lambda_function.rb', line 14 def data {} end |
#entity_id ⇒ Object
10 11 12 |
# File 'lib/instana/snapshot/lambda_function.rb', line 10 def entity_id Thread.current[:instana_function_arn] end |
#host_name ⇒ Object
34 35 36 |
# File 'lib/instana/snapshot/lambda_function.rb', line 34 def host_name entity_id end |
#snapshot ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/instana/snapshot/lambda_function.rb', line 18 def snapshot { name: ID, entityId: entity_id, data: data } end |
#source ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/instana/snapshot/lambda_function.rb', line 26 def source { hl: true, cp: "aws", e: entity_id } end |