Sha256: 16ef60559b3e44aeaee1060ab9ce2d37e97e28b42302aabb065893ae88be2e6b

Contents?: true

Size: 551 Bytes

Versions: 2

Compression:

Stored size: 551 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.
# frozen_string_literal: true

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

2 entries across 2 versions & 1 rubygems

Version Path
newrelic_rpm-8.10.1 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.10.0 lib/new_relic/agent/utilization/azure.rb