Skip to content

Commit 464c91f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
[Rum Metrics] Fix doc issue with the API. (#2081)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 31a2d7b commit 464c91f

13 files changed

+41
-36
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-11-04 19:34:49.569743",
8-
"spec_repo_commit": "82ea89c4"
7+
"regenerated": "2024-11-04 20:35:45.872557",
8+
"spec_repo_commit": "0a78d630"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-04 19:34:49.588152",
13-
"spec_repo_commit": "82ea89c4"
12+
"regenerated": "2024-11-04 20:35:45.891526",
13+
"spec_repo_commit": "0a78d630"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19302,8 +19302,10 @@ components:
1930219302
include_percentiles:
1930319303
$ref: '#/components/schemas/RumMetricComputeIncludePercentiles'
1930419304
path:
19305-
description: The path to the value the rum-based metric will aggregate on
19306-
(only used if the aggregation type is a "distribution").
19305+
description: 'The path to the value the rum-based metric will aggregate
19306+
on.
19307+
19308+
Only present when `aggregation_type` is `distribution`.'
1930719309
example: '@duration'
1930819310
type: string
1930919311
required:
@@ -19323,7 +19325,7 @@ components:
1932319325
description: 'Toggle to include or exclude percentile aggregations for distribution
1932419326
metrics.
1932519327

19326-
Only present when the `aggregation_type` is `distribution`.'
19328+
Only present when `aggregation_type` is `distribution`.'
1932719329
example: true
1932819330
type: boolean
1932919331
RumMetricCreateAttributes:
@@ -19394,8 +19396,7 @@ components:
1939419396
properties:
1939519397
query:
1939619398
default: '*'
19397-
description: The search query - following the RUM search syntax. Must include
19398-
an @type facet query.
19399+
description: The search query - following the RUM search syntax.
1939919400
example: '@service:web-ui: '
1940019401
type: string
1940119402
required:
@@ -19410,8 +19411,8 @@ components:
1941019411
example: '@browser.name'
1941119412
type: string
1941219413
tag_name:
19413-
description: Eventual name of the tag that gets created. By default, the
19414-
path attribute is used as the tag name.
19414+
description: Eventual name of the tag that gets created. By default, `path`
19415+
is used as the tag name.
1941519416
example: browser_name
1941619417
type: string
1941719418
required:
@@ -19452,8 +19453,10 @@ components:
1945219453
include_percentiles:
1945319454
$ref: '#/components/schemas/RumMetricComputeIncludePercentiles'
1945419455
path:
19455-
description: The path to the value the rum-based metric will aggregate on
19456-
(only used if the aggregation type is a "distribution").
19456+
description: 'The path to the value the rum-based metric will aggregate
19457+
on.
19458+
19459+
Only present when `aggregation_type` is `distribution`.'
1945719460
example: '@duration'
1945819461
type: string
1945919462
type: object
@@ -19485,14 +19488,14 @@ components:
1948519488
example: '@http.status_code'
1948619489
type: string
1948719490
tag_name:
19488-
description: Eventual name of the tag that gets created. By default, the
19489-
path attribute is used as the tag name.
19491+
description: Eventual name of the tag that gets created. By default, `path`
19492+
is used as the tag name.
1949019493
example: status_code
1949119494
type: string
1949219495
type: object
1949319496
RumMetricResponseUniqueness:
19494-
description: The rule to count updatable events. Is only set if "event_type"
19495-
is "sessions" or "views".
19497+
description: The rule to count updatable events. Is only set if `event_type`
19498+
is `session` or `view`.
1949619499
properties:
1949719500
when:
1949819501
$ref: '#/components/schemas/RumMetricUniquenessWhen'
@@ -19507,17 +19510,17 @@ components:
1950719510
x-enum-varnames:
1950819511
- RUM_METRICS
1950919512
RumMetricUniqueness:
19510-
description: The rule to count updatable events. Is only set if "event_type"
19511-
is "sessions" or "views".
19513+
description: The rule to count updatable events. Is only set if `event_type`
19514+
is `sessions` or `views`.
1951219515
properties:
1951319516
when:
1951419517
$ref: '#/components/schemas/RumMetricUniquenessWhen'
1951519518
required:
1951619519
- when
1951719520
type: object
1951819521
RumMetricUniquenessWhen:
19519-
description: When to count updatable events. "match" when the event is first
19520-
seen, or "end" when the event is complete.
19522+
description: When to count updatable events. `match` when the event is first
19523+
seen, or `end` when the event is complete.
1952119524
enum:
1952219525
- match
1952319526
- end

lib/datadog_api_client/v2/models/rum_metric_compute.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ class RumMetricCompute
2525
attr_reader :aggregation_type
2626

2727
# Toggle to include or exclude percentile aggregations for distribution metrics.
28-
# Only present when the `aggregation_type` is `distribution`.
28+
# Only present when `aggregation_type` is `distribution`.
2929
attr_accessor :include_percentiles
3030

31-
# The path to the value the rum-based metric will aggregate on (only used if the aggregation type is a "distribution").
31+
# The path to the value the rum-based metric will aggregate on.
32+
# Only present when `aggregation_type` is `distribution`.
3233
attr_accessor :path
3334

3435
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class RumMetricCreateAttributes
3333
# The rules for the group by.
3434
attr_accessor :group_by
3535

36-
# The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
36+
# The rule to count updatable events. Is only set if `event_type` is `sessions` or `views`.
3737
attr_accessor :uniqueness
3838

3939
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class RumMetricFilter
2222
include BaseGenericModel
2323

24-
# The search query - following the RUM search syntax. Must include an @type facet query.
24+
# The search query - following the RUM search syntax.
2525
attr_reader :query
2626

2727
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_group_by.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class RumMetricGroupBy
2424
# The path to the value the rum-based metric will be aggregated over.
2525
attr_reader :path
2626

27-
# Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
27+
# Eventual name of the tag that gets created. By default, `path` is used as the tag name.
2828
attr_accessor :tag_name
2929

3030
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_response_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class RumMetricResponseAttributes
3333
# The rules for the group by.
3434
attr_accessor :group_by
3535

36-
# The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
36+
# The rule to count updatable events. Is only set if `event_type` is `session` or `view`.
3737
attr_accessor :uniqueness
3838

3939
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_response_compute.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ class RumMetricResponseCompute
2525
attr_accessor :aggregation_type
2626

2727
# Toggle to include or exclude percentile aggregations for distribution metrics.
28-
# Only present when the `aggregation_type` is `distribution`.
28+
# Only present when `aggregation_type` is `distribution`.
2929
attr_accessor :include_percentiles
3030

31-
# The path to the value the rum-based metric will aggregate on (only used if the aggregation type is a "distribution").
31+
# The path to the value the rum-based metric will aggregate on.
32+
# Only present when `aggregation_type` is `distribution`.
3233
attr_accessor :path
3334

3435
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class RumMetricResponseGroupBy
2424
# The path to the value the rum-based metric will be aggregated over.
2525
attr_accessor :path
2626

27-
# Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
27+
# Eventual name of the tag that gets created. By default, `path` is used as the tag name.
2828
attr_accessor :tag_name
2929

3030
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_response_uniqueness.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
20+
# The rule to count updatable events. Is only set if `event_type` is `session` or `view`.
2121
class RumMetricResponseUniqueness
2222
include BaseGenericModel
2323

24-
# When to count updatable events. "match" when the event is first seen, or "end" when the event is complete.
24+
# When to count updatable events. `match` when the event is first seen, or `end` when the event is complete.
2525
attr_accessor :_when
2626

2727
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_uniqueness.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
20+
# The rule to count updatable events. Is only set if `event_type` is `sessions` or `views`.
2121
class RumMetricUniqueness
2222
include BaseGenericModel
2323

24-
# When to count updatable events. "match" when the event is first seen, or "end" when the event is complete.
24+
# When to count updatable events. `match` when the event is first seen, or `end` when the event is complete.
2525
attr_reader :_when
2626

2727
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_metric_uniqueness_when.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# When to count updatable events. "match" when the event is first seen, or "end" when the event is complete.
20+
# When to count updatable events. `match` when the event is first seen, or `end` when the event is complete.
2121
class RumMetricUniquenessWhen
2222
include BaseEnumModel
2323

lib/datadog_api_client/v2/models/rum_metric_update_compute.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RumMetricUpdateCompute
2222
include BaseGenericModel
2323

2424
# Toggle to include or exclude percentile aggregations for distribution metrics.
25-
# Only present when the `aggregation_type` is `distribution`.
25+
# Only present when `aggregation_type` is `distribution`.
2626
attr_accessor :include_percentiles
2727

2828
attr_accessor :additional_properties

0 commit comments

Comments
 (0)