Sha256: e3392d16728f9b8f76da83c101044320859b51b2e0e05014d5081c55eae3eb69

Contents?: true

Size: 520 Bytes

Versions: 11

Compression:

Stored size: 520 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

11 entries across 11 versions & 1 rubygems

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