Sha256: eb8839fa4c2d85b92ece7b891a2936948ca60a4aecc392243d2db4e1f52b630c
Contents?: true
Size: 817 Bytes
Versions: 17
Compression:
Stored size: 817 Bytes
Contents
# Configure tags for multiple metrics returns "Accepted" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::MetricsAPI.new # there is a valid "user" in the system USER_DATA_ATTRIBUTES_EMAIL = ENV["USER_DATA_ATTRIBUTES_EMAIL"] body = DatadogAPIClient::V2::MetricBulkTagConfigCreateRequest.new({ data: DatadogAPIClient::V2::MetricBulkTagConfigCreate.new({ attributes: DatadogAPIClient::V2::MetricBulkTagConfigCreateAttributes.new({ emails: [ USER_DATA_ATTRIBUTES_EMAIL, ], tags: [ "test", "exampleconfiguretagsformultiplemetricsreturnsacceptedresponse", ], }), id: "system.load.1", type: DatadogAPIClient::V2::MetricBulkConfigureTagsType::BULK_MANAGE_TAGS, }), }) p api_instance.create_bulk_tags_metrics_configuration(body)
Version data entries
17 entries across 17 versions & 1 rubygems