Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64968,6 +64968,9 @@ components:
description: The ID of a component whose output is used as input for this destination.
type: string
type: array
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
description: Configuration for TLS encryption.
type:
$ref: "#/components/schemas/ObservabilityPipelineCloudPremDestinationType"
required:
Expand Down Expand Up @@ -153240,6 +153243,9 @@ paths:
operator: OR
permissions:
- metrics_read
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
post:
description: |-
Create a tag indexing rule for the org. `rule_order` is assigned server-side as max+1
Expand Down Expand Up @@ -153318,6 +153324,9 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/metrics/tag-indexing-rules/order:
post:
description: |-
Expand Down Expand Up @@ -153380,6 +153389,9 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/metrics/tag-indexing-rules/{id}:
delete:
description: |-
Expand Down Expand Up @@ -153422,6 +153434,9 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
get:
description: Get a single tag indexing rule by its UUID.
operationId: GetTagIndexingRule
Expand Down Expand Up @@ -153486,6 +153501,9 @@ paths:
operator: OR
permissions:
- metrics_read
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
put:
description: |-
Partially update a tag indexing rule. Fields omitted from the request body are left unchanged.
Expand Down Expand Up @@ -153577,6 +153595,9 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/metrics/{metric_name}/active-configurations:
get:
description: |-
Expand Down Expand Up @@ -154006,6 +154027,9 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
get:
description: |-
Returns why a metric is excluded from tag indexing rules.
Expand Down Expand Up @@ -154069,6 +154093,9 @@ paths:
operator: OR
permissions:
- metrics_read
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
post:
description: |-
Exempt a metric from all tag indexing rules. The response includes the created
Expand Down Expand Up @@ -154138,6 +154165,9 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/metrics/{metric_name}/tag-indexing-rules:
get:
description: |-
Expand Down Expand Up @@ -154189,6 +154219,9 @@ paths:
operator: OR
permissions:
- metrics_read
x-unstable: |-
**Note**: The Tag Indexing Rules feature is currently in Preview.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/metrics/{metric_name}/tags:
delete:
description: |-
Expand Down
3 changes: 3 additions & 0 deletions examples/v2/metrics/CreateTagIndexingRule.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Create a tag indexing rule returns "Created" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.create_tag_indexing_rule".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new

body = DatadogAPIClient::V2::TagIndexingRuleCreateRequest.new({
Expand Down
3 changes: 3 additions & 0 deletions examples/v2/metrics/CreateTagIndexingRuleExemption.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Create a tag indexing rule exemption returns "Created" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.create_tag_indexing_rule_exemption".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new

body = DatadogAPIClient::V2::TagIndexingRuleExemptionCreateRequest.new({
Expand Down
3 changes: 3 additions & 0 deletions examples/v2/metrics/DeleteTagIndexingRule.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Delete a tag indexing rule returns "No Content" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.delete_tag_indexing_rule".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new

# there is a valid "tag_indexing_rule" in the system
Expand Down
3 changes: 3 additions & 0 deletions examples/v2/metrics/DeleteTagIndexingRuleExemption.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Delete a tag indexing rule exemption returns "No Content" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.delete_tag_indexing_rule_exemption".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new
api_instance.delete_tag_indexing_rule_exemption("metric_name")
3 changes: 3 additions & 0 deletions examples/v2/metrics/GetTagIndexingRule.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Get a tag indexing rule returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.get_tag_indexing_rule".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new

# there is a valid "tag_indexing_rule" in the system
Expand Down
3 changes: 3 additions & 0 deletions examples/v2/metrics/GetTagIndexingRuleExemption.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Get a tag indexing rule exemption returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.get_tag_indexing_rule_exemption".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new
p api_instance.get_tag_indexing_rule_exemption("metric_name")
3 changes: 3 additions & 0 deletions examples/v2/metrics/ListTagIndexingRules.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# List tag indexing rules returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.list_tag_indexing_rules".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new
p api_instance.list_tag_indexing_rules()
3 changes: 3 additions & 0 deletions examples/v2/metrics/ListTagIndexingRulesForMetric.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# List tag indexing rules for a metric returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.list_tag_indexing_rules_for_metric".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new
p api_instance.list_tag_indexing_rules_for_metric("ExampleMetric")
3 changes: 3 additions & 0 deletions examples/v2/metrics/ReorderTagIndexingRules.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Reorder tag indexing rules returns "No Content" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.reorder_tag_indexing_rules".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new

# there is a valid "tag_indexing_rule" in the system
Expand Down
3 changes: 3 additions & 0 deletions examples/v2/metrics/UpdateTagIndexingRule.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Update a tag indexing rule returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.update_tag_indexing_rule".to_sym] = true
end
api_instance = DatadogAPIClient::V2::MetricsAPI.new

# there is a valid "tag_indexing_rule" in the system
Expand Down
Loading
Loading