Skip to content

Commit f06c759

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[Rum Metrics] Fix doc issue with the API. (#1886)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2c1eb53 commit f06c759

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:48.645471",
8-
"spec_repo_commit": "82ea89c4"
7+
"regenerated": "2024-11-04 20:35:51.742612",
8+
"spec_repo_commit": "0a78d630"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-04 19:34:48.664639",
13-
"spec_repo_commit": "82ea89c4"
12+
"regenerated": "2024-11-04 20:35:51.761313",
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

packages/datadog-api-client-v2/models/RumMetricCompute.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ export class RumMetricCompute {
1717
"aggregationType": RumMetricComputeAggregationType;
1818
/**
1919
* Toggle to include or exclude percentile aggregations for distribution metrics.
20-
* Only present when the `aggregation_type` is `distribution`.
20+
* Only present when `aggregation_type` is `distribution`.
2121
*/
2222
"includePercentiles"?: boolean;
2323
/**
24-
* The path to the value the rum-based metric will aggregate on (only used if the aggregation type is a "distribution").
24+
* The path to the value the rum-based metric will aggregate on.
25+
* Only present when `aggregation_type` is `distribution`.
2526
*/
2627
"path"?: string;
2728

packages/datadog-api-client-v2/models/RumMetricCreateAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class RumMetricCreateAttributes {
3232
*/
3333
"groupBy"?: Array<RumMetricGroupBy>;
3434
/**
35-
* The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
35+
* The rule to count updatable events. Is only set if `event_type` is `sessions` or `views`.
3636
*/
3737
"uniqueness"?: RumMetricUniqueness;
3838

packages/datadog-api-client-v2/models/RumMetricFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1111
*/
1212
export class RumMetricFilter {
1313
/**
14-
* The search query - following the RUM search syntax. Must include an @type facet query.
14+
* The search query - following the RUM search syntax.
1515
*/
1616
"query": string;
1717

packages/datadog-api-client-v2/models/RumMetricGroupBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class RumMetricGroupBy {
1515
*/
1616
"path": string;
1717
/**
18-
* Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
18+
* Eventual name of the tag that gets created. By default, `path` is used as the tag name.
1919
*/
2020
"tagName"?: string;
2121

packages/datadog-api-client-v2/models/RumMetricResponseAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class RumMetricResponseAttributes {
3232
*/
3333
"groupBy"?: Array<RumMetricResponseGroupBy>;
3434
/**
35-
* The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
35+
* The rule to count updatable events. Is only set if `event_type` is `session` or `view`.
3636
*/
3737
"uniqueness"?: RumMetricResponseUniqueness;
3838

packages/datadog-api-client-v2/models/RumMetricResponseCompute.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ export class RumMetricResponseCompute {
1717
"aggregationType"?: RumMetricComputeAggregationType;
1818
/**
1919
* Toggle to include or exclude percentile aggregations for distribution metrics.
20-
* Only present when the `aggregation_type` is `distribution`.
20+
* Only present when `aggregation_type` is `distribution`.
2121
*/
2222
"includePercentiles"?: boolean;
2323
/**
24-
* The path to the value the rum-based metric will aggregate on (only used if the aggregation type is a "distribution").
24+
* The path to the value the rum-based metric will aggregate on.
25+
* Only present when `aggregation_type` is `distribution`.
2526
*/
2627
"path"?: string;
2728

packages/datadog-api-client-v2/models/RumMetricResponseGroupBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class RumMetricResponseGroupBy {
1515
*/
1616
"path"?: string;
1717
/**
18-
* Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
18+
* Eventual name of the tag that gets created. By default, `path` is used as the tag name.
1919
*/
2020
"tagName"?: string;
2121

packages/datadog-api-client-v2/models/RumMetricResponseUniqueness.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import { RumMetricUniquenessWhen } from "./RumMetricUniquenessWhen";
88
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
99

1010
/**
11-
* The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
11+
* The rule to count updatable events. Is only set if `event_type` is `session` or `view`.
1212
*/
1313
export class RumMetricResponseUniqueness {
1414
/**
15-
* When to count updatable events. "match" when the event is first seen, or "end" when the event is complete.
15+
* When to count updatable events. `match` when the event is first seen, or `end` when the event is complete.
1616
*/
1717
"when"?: RumMetricUniquenessWhen;
1818

0 commit comments

Comments
 (0)