Sha256: 694460f28cca24dfe53ee9e55bd274a19a382ecd9e49f3ecc074f8454a8c1663

Contents?: true

Size: 524 Bytes

Versions: 8

Compression:

Stored size: 524 Bytes

Contents

# 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 %w[vmId name vmSize location]
        key_transforms :to_sym
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
newrelic_rpm-9.0.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.16.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.15.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.14.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.13.1 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.13.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.12.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-8.11.0 lib/new_relic/agent/utilization/azure.rb