Skip to content

Commit f14c7a0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[Rum Metrics] Fix doc issue with the API. (#2550)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 713fd20 commit f14c7a0

13 files changed

+52
-41
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:43.057948",
8-
"spec_repo_commit": "82ea89c4"
7+
"regenerated": "2024-11-04 20:35:53.754475",
8+
"spec_repo_commit": "0a78d630"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-04 19:34:43.103441",
13-
"spec_repo_commit": "82ea89c4"
12+
"regenerated": "2024-11-04 20:35:53.773064",
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

src/main/java/com/datadog/api/client/v2/model/RumMetricCompute.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public RumMetricCompute includePercentiles(Boolean includePercentiles) {
7777

7878
/**
7979
* Toggle to include or exclude percentile aggregations for distribution metrics. Only present
80-
* when the <code>aggregation_type</code> is <code>distribution</code>.
80+
* when <code>aggregation_type</code> is <code>distribution</code>.
8181
*
8282
* @return includePercentiles
8383
*/
@@ -98,8 +98,8 @@ public RumMetricCompute path(String path) {
9898
}
9999

100100
/**
101-
* The path to the value the rum-based metric will aggregate on (only used if the aggregation type
102-
* is a "distribution").
101+
* The path to the value the rum-based metric will aggregate on. Only present when <code>
102+
* aggregation_type</code> is <code>distribution</code>.
103103
*
104104
* @return path
105105
*/

src/main/java/com/datadog/api/client/v2/model/RumMetricCreateAttributes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ public RumMetricCreateAttributes uniqueness(RumMetricUniqueness uniqueness) {
166166
}
167167

168168
/**
169-
* The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
169+
* The rule to count updatable events. Is only set if <code>event_type</code> is <code>sessions
170+
* </code> or <code>views</code>.
170171
*
171172
* @return uniqueness
172173
*/

src/main/java/com/datadog/api/client/v2/model/RumMetricFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public RumMetricFilter query(String query) {
3939
}
4040

4141
/**
42-
* The search query - following the RUM search syntax. Must include an @type facet query.
42+
* The search query - following the RUM search syntax.
4343
*
4444
* @return query
4545
*/

src/main/java/com/datadog/api/client/v2/model/RumMetricGroupBy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public RumMetricGroupBy tagName(String tagName) {
6262
}
6363

6464
/**
65-
* Eventual name of the tag that gets created. By default, the path attribute is used as the tag
65+
* Eventual name of the tag that gets created. By default, <code>path</code> is used as the tag
6666
* name.
6767
*
6868
* @return tagName

src/main/java/com/datadog/api/client/v2/model/RumMetricResponseAttributes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ public RumMetricResponseAttributes uniqueness(RumMetricResponseUniqueness unique
154154
}
155155

156156
/**
157-
* The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
157+
* The rule to count updatable events. Is only set if <code>event_type</code> is <code>session
158+
* </code> or <code>view</code>.
158159
*
159160
* @return uniqueness
160161
*/

src/main/java/com/datadog/api/client/v2/model/RumMetricResponseCompute.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public RumMetricResponseCompute includePercentiles(Boolean includePercentiles) {
6767

6868
/**
6969
* Toggle to include or exclude percentile aggregations for distribution metrics. Only present
70-
* when the <code>aggregation_type</code> is <code>distribution</code>.
70+
* when <code>aggregation_type</code> is <code>distribution</code>.
7171
*
7272
* @return includePercentiles
7373
*/
@@ -88,8 +88,8 @@ public RumMetricResponseCompute path(String path) {
8888
}
8989

9090
/**
91-
* The path to the value the rum-based metric will aggregate on (only used if the aggregation type
92-
* is a "distribution").
91+
* The path to the value the rum-based metric will aggregate on. Only present when <code>
92+
* aggregation_type</code> is <code>distribution</code>.
9393
*
9494
* @return path
9595
*/

src/main/java/com/datadog/api/client/v2/model/RumMetricResponseGroupBy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public RumMetricResponseGroupBy tagName(String tagName) {
5858
}
5959

6060
/**
61-
* Eventual name of the tag that gets created. By default, the path attribute is used as the tag
61+
* Eventual name of the tag that gets created. By default, <code>path</code> is used as the tag
6262
* name.
6363
*
6464
* @return tagName

src/main/java/com/datadog/api/client/v2/model/RumMetricResponseUniqueness.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
import java.util.Map;
1717
import java.util.Objects;
1818

19-
/** The rule to count updatable events. Is only set if "event_type" is "sessions" or "views". */
19+
/**
20+
* The rule to count updatable events. Is only set if <code>event_type</code> is <code>session
21+
* </code> or <code>view</code>.
22+
*/
2023
@JsonPropertyOrder({RumMetricResponseUniqueness.JSON_PROPERTY_WHEN})
2124
@jakarta.annotation.Generated(
2225
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -32,8 +35,8 @@ public RumMetricResponseUniqueness when(RumMetricUniquenessWhen when) {
3235
}
3336

3437
/**
35-
* When to count updatable events. "match" when the event is first seen, or "end" when the event
36-
* is complete.
38+
* When to count updatable events. <code>match</code> when the event is first seen, or <code>end
39+
* </code> when the event is complete.
3740
*
3841
* @return when
3942
*/

0 commit comments

Comments
 (0)