Sha256: 27ec789660b17a256039af5b4b5e33a928fe5ab149380c3030c56fc0b131dd1c

Contents?: true

Size: 521 Bytes

Versions: 7

Compression:

Stored size: 521 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.

module NewRelic
  module Agent
    module Utilization
      class Azure < Vendor
        vendor_name "azure"
        endpoint "http://169.254.169.254/metadata/instance/compute?api-version=2017-03-01"
        headers "Metadata" => "true"
        keys ["vmId", "name", "vmSize", "location"]
        key_transforms :to_sym
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
newrelic_rpm-8.9.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.8.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.7.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.6.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.5.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.4.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.3.0 lib/new_relic/agent/utilization/azure.rb