@@ -1741,6 +1741,9 @@ components:
17411741 type: string
17421742 markers:
17431743 description: List of markers.
1744+ example:
1745+ - display_type: percentile
1746+ value: '90'
17441747 items:
17451748 $ref: '#/components/schemas/WidgetMarker'
17461749 type: array
@@ -1799,14 +1802,6 @@ components:
17991802 - $ref: '#/components/schemas/FormulaAndFunctionMetricQueryDefinition'
18001803 - $ref: '#/components/schemas/FormulaAndFunctionEventQueryDefinition'
18011804 - $ref: '#/components/schemas/FormulaAndFunctionApmResourceStatsQueryDefinition'
1802- DistributionWidgetHistogramRequestType:
1803- description: Request type for the histogram request.
1804- enum:
1805- - histogram
1806- example: histogram
1807- type: string
1808- x-enum-varnames:
1809- - HISTOGRAM
18101805 DistributionWidgetRequest:
18111806 description: Updated distribution widget.
18121807 properties:
@@ -1816,6 +1811,11 @@ components:
18161811 $ref: '#/components/schemas/ApmStatsQueryDefinition'
18171812 event_query:
18181813 $ref: '#/components/schemas/LogQueryDefinition'
1814+ formulas:
1815+ description: List of formulas that operate on queries.
1816+ items:
1817+ $ref: '#/components/schemas/WidgetFormula'
1818+ type: array
18191819 log_query:
18201820 $ref: '#/components/schemas/LogQueryDefinition'
18211821 network_query:
@@ -1827,10 +1827,17 @@ components:
18271827 q:
18281828 description: Widget query.
18291829 type: string
1830+ queries:
1831+ description: List of queries that can be returned directly or used in formulas.
1832+ items:
1833+ $ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
1834+ type: array
18301835 query:
18311836 $ref: '#/components/schemas/DistributionWidgetHistogramRequestQuery'
18321837 request_type:
1833- $ref: '#/components/schemas/DistributionWidgetHistogramRequestType'
1838+ $ref: '#/components/schemas/WidgetHistogramRequestType'
1839+ response_format:
1840+ $ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
18341841 rum_query:
18351842 $ref: '#/components/schemas/LogQueryDefinition'
18361843 security_query:
@@ -1854,6 +1861,11 @@ components:
18541861 description: Specifies minimum value to show on the x-axis. It takes a number,
18551862 percentile (p90 === 90th percentile), or auto for default behavior.
18561863 type: string
1864+ num_buckets:
1865+ description: Number of value buckets to target, also known as the resolution
1866+ of the value bins.
1867+ format: int64
1868+ type: integer
18571869 scale:
18581870 default: linear
18591871 description: Specifies the scale type. Possible values are `linear`.
@@ -3752,6 +3764,14 @@ components:
37523764 type: array
37533765 legend_size:
37543766 $ref: '#/components/schemas/WidgetLegendSize'
3767+ markers:
3768+ description: List of markers.
3769+ example:
3770+ - display_type: percentile
3771+ value: '90'
3772+ items:
3773+ $ref: '#/components/schemas/WidgetMarker'
3774+ type: array
37553775 requests:
37563776 description: List of widget types.
37573777 example:
@@ -3776,6 +3796,8 @@ components:
37763796 type: string
37773797 type:
37783798 $ref: '#/components/schemas/HeatMapWidgetDefinitionType'
3799+ xaxis:
3800+ $ref: '#/components/schemas/HeatMapWidgetXAxis'
37793801 yaxis:
37803802 $ref: '#/components/schemas/WidgetAxis'
37813803 required:
@@ -3819,6 +3841,10 @@ components:
38193841 items:
38203842 $ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
38213843 type: array
3844+ query:
3845+ $ref: '#/components/schemas/FormulaAndFunctionMetricQueryDefinition'
3846+ request_type:
3847+ $ref: '#/components/schemas/WidgetHistogramRequestType'
38223848 response_format:
38233849 $ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
38243850 rum_query:
@@ -3828,6 +3854,16 @@ components:
38283854 style:
38293855 $ref: '#/components/schemas/WidgetStyle'
38303856 type: object
3857+ HeatMapWidgetXAxis:
3858+ description: X Axis controls for the heat map widget.
3859+ properties:
3860+ num_buckets:
3861+ description: Number of time buckets to target, also known as the resolution
3862+ of the time bins. This is only applicable for distribution of points (group
3863+ distributions use the roll-up modifier).
3864+ format: int64
3865+ type: integer
3866+ type: object
38313867 Host:
38323868 description: Object representing a host.
38333869 properties:
@@ -25069,6 +25105,14 @@ components:
2506925105 x-enum-varnames:
2507025106 - CHECK
2507125107 - CLUSTER
25108+ WidgetHistogramRequestType:
25109+ description: Request type for the histogram request.
25110+ enum:
25111+ - histogram
25112+ example: histogram
25113+ type: string
25114+ x-enum-varnames:
25115+ - HISTOGRAM
2507225116 WidgetHorizontalAlign:
2507325117 description: Horizontal alignment.
2507425118 enum:
@@ -25273,7 +25317,7 @@ components:
2527325317 display_type:
2527425318 description: "Combination of:\n - A severity error, warning, ok, or info\n
2527525319 \ - A line type: dashed, solid, or bold\nIn this case of a Distribution
25276- widget, this can be set to be `x_axis_percentile `."
25320+ widget, this can be set to be `percentile `."
2527725321 example: error dashed
2527825322 type: string
2527925323 label:
@@ -25284,8 +25328,11 @@ components:
2528425328 description: Timestamp for the widget.
2528525329 type: string
2528625330 value:
25287- description: Value to apply. Can be a single value y = 15 or a range of
25331+ description: ' Value to apply. Can be a single value y = 15 or a range of
2528825332 values 0 < y < 10.
25333+
25334+ For Distribution widgets with `display_type` set to `percentile`, this
25335+ should be a numeric percentile value (for example, "90" for P90).'
2528925336 example: y = 15
2529025337 type: string
2529125338 required:
0 commit comments