Sha256: fa2a9c29abae25507c74943669100eab9b8ad50f534097858cfca1e3b3dc1448

Contents?: true

Size: 535 Bytes

Versions: 13

Compression:

Stored size: 535 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.

require 'new_relic/agent/utilization/vendor'

module NewRelic
  module Agent
    module Utilization
      class AWS < Vendor
        vendor_name "aws"
        endpoint "http://169.254.169.254/2016-09-02/dynamic/instance-identity/document"
        keys ["instanceId", "instanceType", "availabilityZone"]
        key_transforms :to_sym
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
newrelic_rpm-8.4.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-8.3.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-8.2.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-6.15.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-6.14.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-6.13.1 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-6.13.0 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-6.12.0.367 lib/new_relic/agent/utilization/aws.rb