Sha256: 3521a385f0ccb9e7a16461d8d21702ac0a42f31c0b2cfae428a36d3955a03902

Contents?: true

Size: 521 Bytes

Versions: 26

Compression:

Stored size: 521 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/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

26 entries across 26 versions & 1 rubygems

Version Path
newrelic_rpm-4.8.0.341 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-4.7.1.340 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-4.7.0.339 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-4.6.0.338 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-4.5.0.337 lib/new_relic/agent/utilization/aws.rb
newrelic_rpm-4.4.0.336 lib/new_relic/agent/utilization/aws.rb