lib/fluent/plugin/common.rb
# Retrieve monitored resource via the legacy way.
#
# Note: This is just a failover plan if we fail to get metadata from
# Metadata Agent. Thus it should be equivalent to what Metadata Agent
# returns.
Retrieve monitored resource via the legacy way.
Note: This is just a failover plan if we fail to get metadata from
Metadata Agent. Thus it should be equivalent to what Metadata Agent
returns.
Retrieve monitored resource via the legacy way . Note : This is just a failover plan if we fail to get metadata from Metadata Agent . Thus it should be equivalent to what Metadata Agent returns .
def determine_agent_level_monitored_resource_via_legacy(
          platform, subservice_name, detect_subservice, vm_id, zone)
      resource_type = determine_agent_level_monitored_resource_type(
        platform, subservice_name, detect_subservice)
      create_monitored_resource(
        resource_type,
        determine_agent_level_monitored_resource_labels(
          platform, resource_type, vm_id, zone))
    end
def determine_agent_level_monitored_resource_via_legacy ( platform , subservice_name , detect_subservice , vm_id , zone ) resource_type = determine_agent_level_monitored_resource_type ( platform , subservice_name , detect_subservice ) create_monitored_resource ( resource_type , determine_agent_level_monitored_resource_labels ( platform , resource_type , vm_id , zone ) ) end
Retrieve monitored resource via the legacy way.
Retrieve monitored resource via the legacy way .
platform
<not_specific>
subservice_name
<not_specific>
detect_subservice
<not_specific>
vm_id
<not_specific>
zone
<not_specific>