Skip to content

Commit

Permalink
Support RUM data source in Query API and fix aggregators (#1874)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> 787f3f8
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec committed Feb 16, 2023
1 parent d0208df commit ccd8df0
Show file tree
Hide file tree
Showing 6 changed files with 1,888 additions and 1,873 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77340,6 +77340,7 @@ <h2 id="EventsDataSource">type <a href="https://github.com/DataDog/datadog-api-c

<pre>const (
<span id="EVENTSDATASOURCE_LOGS">EVENTSDATASOURCE_LOGS</span> <a href="#EventsDataSource">EventsDataSource</a> = &#34;logs&#34;
<span id="EVENTSDATASOURCE_RUM">EVENTSDATASOURCE_RUM</span> <a href="#EventsDataSource">EventsDataSource</a> = &#34;rum&#34;
)</pre>


Expand All @@ -77351,7 +77352,7 @@ <h2 id="EventsDataSource">type <a href="https://github.com/DataDog/datadog-api-c



<h3 id="NewEventsDataSourceFromValue">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L42">NewEventsDataSourceFromValue</a>
<h3 id="NewEventsDataSourceFromValue">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L44">NewEventsDataSourceFromValue</a>
<a class="permalink" href="#NewEventsDataSourceFromValue">&#xb6;</a>


Expand All @@ -77366,7 +77367,7 @@ <h3 id="NewEventsDataSourceFromValue">func <a href="https://github.com/DataDog/d



<h3 id="EventsDataSource.GetAllowedValues">func (*EventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L25">GetAllowedValues</a>
<h3 id="EventsDataSource.GetAllowedValues">func (*EventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L27">GetAllowedValues</a>
<a class="permalink" href="#EventsDataSource.GetAllowedValues">&#xb6;</a>


Expand All @@ -77379,7 +77380,7 @@ <h3 id="EventsDataSource.GetAllowedValues">func (*EventsDataSource) <a href="htt



<h3 id="EventsDataSource.IsValid">func (EventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L51">IsValid</a>
<h3 id="EventsDataSource.IsValid">func (EventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L53">IsValid</a>
<a class="permalink" href="#EventsDataSource.IsValid">&#xb6;</a>


Expand All @@ -77392,7 +77393,7 @@ <h3 id="EventsDataSource.IsValid">func (EventsDataSource) <a href="https://githu



<h3 id="EventsDataSource.Ptr">func (EventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L61">Ptr</a>
<h3 id="EventsDataSource.Ptr">func (EventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L63">Ptr</a>
<a class="permalink" href="#EventsDataSource.Ptr">&#xb6;</a>


Expand All @@ -77405,7 +77406,7 @@ <h3 id="EventsDataSource.Ptr">func (EventsDataSource) <a href="https://github.co



<h3 id="EventsDataSource.UnmarshalJSON">func (*EventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L30">UnmarshalJSON</a>
<h3 id="EventsDataSource.UnmarshalJSON">func (*EventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L32">UnmarshalJSON</a>
<a class="permalink" href="#EventsDataSource.UnmarshalJSON">&#xb6;</a>


Expand Down Expand Up @@ -132964,11 +132965,15 @@ <h2 id="MetricsAggregator">type <a href="https://github.com/DataDog/datadog-api-
<p>List of MetricsAggregator.

<pre>const (
<span id="METRICSAGGREGATOR_AVG">METRICSAGGREGATOR_AVG</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;avg&#34;
<span id="METRICSAGGREGATOR_MIN">METRICSAGGREGATOR_MIN</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;min&#34;
<span id="METRICSAGGREGATOR_MAX">METRICSAGGREGATOR_MAX</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;max&#34;
<span id="METRICSAGGREGATOR_SUM">METRICSAGGREGATOR_SUM</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;sum&#34;
<span id="METRICSAGGREGATOR_LAST">METRICSAGGREGATOR_LAST</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;last&#34;
<span id="METRICSAGGREGATOR_AVG">METRICSAGGREGATOR_AVG</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;avg&#34;
<span id="METRICSAGGREGATOR_MIN">METRICSAGGREGATOR_MIN</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;min&#34;
<span id="METRICSAGGREGATOR_MAX">METRICSAGGREGATOR_MAX</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;max&#34;
<span id="METRICSAGGREGATOR_SUM">METRICSAGGREGATOR_SUM</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;sum&#34;
<span id="METRICSAGGREGATOR_LAST">METRICSAGGREGATOR_LAST</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;last&#34;
<span id="METRICSAGGREGATOR_PERCENTILE">METRICSAGGREGATOR_PERCENTILE</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;percentile&#34;
<span id="METRICSAGGREGATOR_MEAN">METRICSAGGREGATOR_MEAN</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;mean&#34;
<span id="METRICSAGGREGATOR_L2NORM">METRICSAGGREGATOR_L2NORM</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;l2norm&#34;
<span id="METRICSAGGREGATOR_AREA">METRICSAGGREGATOR_AREA</span> <a href="#MetricsAggregator">MetricsAggregator</a> = &#34;area&#34;
)</pre>


Expand All @@ -132980,7 +132985,7 @@ <h2 id="MetricsAggregator">type <a href="https://github.com/DataDog/datadog-api-



<h3 id="NewMetricsAggregatorFromValue">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L50">NewMetricsAggregatorFromValue</a>
<h3 id="NewMetricsAggregatorFromValue">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L58">NewMetricsAggregatorFromValue</a>
<a class="permalink" href="#NewMetricsAggregatorFromValue">&#xb6;</a>


Expand All @@ -132995,7 +133000,7 @@ <h3 id="NewMetricsAggregatorFromValue">func <a href="https://github.com/DataDog/



<h3 id="MetricsAggregator.GetAllowedValues">func (*MetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L33">GetAllowedValues</a>
<h3 id="MetricsAggregator.GetAllowedValues">func (*MetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L41">GetAllowedValues</a>
<a class="permalink" href="#MetricsAggregator.GetAllowedValues">&#xb6;</a>


Expand All @@ -133008,7 +133013,7 @@ <h3 id="MetricsAggregator.GetAllowedValues">func (*MetricsAggregator) <a href="h



<h3 id="MetricsAggregator.IsValid">func (MetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L59">IsValid</a>
<h3 id="MetricsAggregator.IsValid">func (MetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L67">IsValid</a>
<a class="permalink" href="#MetricsAggregator.IsValid">&#xb6;</a>


Expand All @@ -133021,7 +133026,7 @@ <h3 id="MetricsAggregator.IsValid">func (MetricsAggregator) <a href="https://git



<h3 id="MetricsAggregator.Ptr">func (MetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L69">Ptr</a>
<h3 id="MetricsAggregator.Ptr">func (MetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L77">Ptr</a>
<a class="permalink" href="#MetricsAggregator.Ptr">&#xb6;</a>


Expand All @@ -133034,7 +133039,7 @@ <h3 id="MetricsAggregator.Ptr">func (MetricsAggregator) <a href="https://github.



<h3 id="MetricsAggregator.UnmarshalJSON">func (*MetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L38">UnmarshalJSON</a>
<h3 id="MetricsAggregator.UnmarshalJSON">func (*MetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L46">UnmarshalJSON</a>
<a class="permalink" href="#MetricsAggregator.UnmarshalJSON">&#xb6;</a>


Expand Down Expand Up @@ -141453,7 +141458,7 @@ <h3 id="NullableEventsAggregation.Unset">func (*NullableEventsAggregation) <a hr



<h2 id="NullableEventsDataSource">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L66">NullableEventsDataSource</a>
<h2 id="NullableEventsDataSource">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L68">NullableEventsDataSource</a>
<a class="permalink" href="#NullableEventsDataSource">&#xb6;</a>


Expand All @@ -141475,7 +141480,7 @@ <h2 id="NullableEventsDataSource">type <a href="https://github.com/DataDog/datad



<h3 id="NewNullableEventsDataSource">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L94">NewNullableEventsDataSource</a>
<h3 id="NewNullableEventsDataSource">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L96">NewNullableEventsDataSource</a>
<a class="permalink" href="#NewNullableEventsDataSource">&#xb6;</a>


Expand All @@ -141489,7 +141494,7 @@ <h3 id="NewNullableEventsDataSource">func <a href="https://github.com/DataDog/da



<h3 id="NullableEventsDataSource.Get">func (NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L72">Get</a>
<h3 id="NullableEventsDataSource.Get">func (NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L74">Get</a>
<a class="permalink" href="#NullableEventsDataSource.Get">&#xb6;</a>


Expand All @@ -141502,7 +141507,7 @@ <h3 id="NullableEventsDataSource.Get">func (NullableEventsDataSource) <a href="h



<h3 id="NullableEventsDataSource.IsSet">func (NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L83">IsSet</a>
<h3 id="NullableEventsDataSource.IsSet">func (NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L85">IsSet</a>
<a class="permalink" href="#NullableEventsDataSource.IsSet">&#xb6;</a>


Expand All @@ -141515,7 +141520,7 @@ <h3 id="NullableEventsDataSource.IsSet">func (NullableEventsDataSource) <a href=



<h3 id="NullableEventsDataSource.MarshalJSON">func (NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L99">MarshalJSON</a>
<h3 id="NullableEventsDataSource.MarshalJSON">func (NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L101">MarshalJSON</a>
<a class="permalink" href="#NullableEventsDataSource.MarshalJSON">&#xb6;</a>


Expand All @@ -141528,7 +141533,7 @@ <h3 id="NullableEventsDataSource.MarshalJSON">func (NullableEventsDataSource) <a



<h3 id="NullableEventsDataSource.Set">func (*NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L77">Set</a>
<h3 id="NullableEventsDataSource.Set">func (*NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L79">Set</a>
<a class="permalink" href="#NullableEventsDataSource.Set">&#xb6;</a>


Expand All @@ -141541,7 +141546,7 @@ <h3 id="NullableEventsDataSource.Set">func (*NullableEventsDataSource) <a href="



<h3 id="NullableEventsDataSource.UnmarshalJSON">func (*NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L104">UnmarshalJSON</a>
<h3 id="NullableEventsDataSource.UnmarshalJSON">func (*NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L106">UnmarshalJSON</a>
<a class="permalink" href="#NullableEventsDataSource.UnmarshalJSON">&#xb6;</a>


Expand All @@ -141554,7 +141559,7 @@ <h3 id="NullableEventsDataSource.UnmarshalJSON">func (*NullableEventsDataSource)



<h3 id="NullableEventsDataSource.Unset">func (*NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L88">Unset</a>
<h3 id="NullableEventsDataSource.Unset">func (*NullableEventsDataSource) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_events_data_source.go#L90">Unset</a>
<a class="permalink" href="#NullableEventsDataSource.Unset">&#xb6;</a>


Expand Down Expand Up @@ -148993,7 +148998,7 @@ <h3 id="NullableMetricVolumes.Unset">func (*NullableMetricVolumes) <a href="http



<h2 id="NullableMetricsAggregator">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L74">NullableMetricsAggregator</a>
<h2 id="NullableMetricsAggregator">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L82">NullableMetricsAggregator</a>
<a class="permalink" href="#NullableMetricsAggregator">&#xb6;</a>


Expand All @@ -149015,7 +149020,7 @@ <h2 id="NullableMetricsAggregator">type <a href="https://github.com/DataDog/data



<h3 id="NewNullableMetricsAggregator">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L102">NewNullableMetricsAggregator</a>
<h3 id="NewNullableMetricsAggregator">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L110">NewNullableMetricsAggregator</a>
<a class="permalink" href="#NewNullableMetricsAggregator">&#xb6;</a>


Expand All @@ -149029,7 +149034,7 @@ <h3 id="NewNullableMetricsAggregator">func <a href="https://github.com/DataDog/d



<h3 id="NullableMetricsAggregator.Get">func (NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L80">Get</a>
<h3 id="NullableMetricsAggregator.Get">func (NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L88">Get</a>
<a class="permalink" href="#NullableMetricsAggregator.Get">&#xb6;</a>


Expand All @@ -149042,7 +149047,7 @@ <h3 id="NullableMetricsAggregator.Get">func (NullableMetricsAggregator) <a href=



<h3 id="NullableMetricsAggregator.IsSet">func (NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L91">IsSet</a>
<h3 id="NullableMetricsAggregator.IsSet">func (NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L99">IsSet</a>
<a class="permalink" href="#NullableMetricsAggregator.IsSet">&#xb6;</a>


Expand All @@ -149055,7 +149060,7 @@ <h3 id="NullableMetricsAggregator.IsSet">func (NullableMetricsAggregator) <a hre



<h3 id="NullableMetricsAggregator.MarshalJSON">func (NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L107">MarshalJSON</a>
<h3 id="NullableMetricsAggregator.MarshalJSON">func (NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L115">MarshalJSON</a>
<a class="permalink" href="#NullableMetricsAggregator.MarshalJSON">&#xb6;</a>


Expand All @@ -149068,7 +149073,7 @@ <h3 id="NullableMetricsAggregator.MarshalJSON">func (NullableMetricsAggregator)



<h3 id="NullableMetricsAggregator.Set">func (*NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L85">Set</a>
<h3 id="NullableMetricsAggregator.Set">func (*NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L93">Set</a>
<a class="permalink" href="#NullableMetricsAggregator.Set">&#xb6;</a>


Expand All @@ -149081,7 +149086,7 @@ <h3 id="NullableMetricsAggregator.Set">func (*NullableMetricsAggregator) <a href



<h3 id="NullableMetricsAggregator.UnmarshalJSON">func (*NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L112">UnmarshalJSON</a>
<h3 id="NullableMetricsAggregator.UnmarshalJSON">func (*NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L120">UnmarshalJSON</a>
<a class="permalink" href="#NullableMetricsAggregator.UnmarshalJSON">&#xb6;</a>


Expand All @@ -149094,7 +149099,7 @@ <h3 id="NullableMetricsAggregator.UnmarshalJSON">func (*NullableMetricsAggregato



<h3 id="NullableMetricsAggregator.Unset">func (*NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L96">Unset</a>
<h3 id="NullableMetricsAggregator.Unset">func (*NullableMetricsAggregator) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_metrics_aggregator.go#L104">Unset</a>
<a class="permalink" href="#NullableMetricsAggregator.Unset">&#xb6;</a>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>
<td></td>
<td align="right">12370</td>
<td></td>
<td align="left">2023-02-16 08:33:24.303986813 +0000 UTC</td>
<td align="left">2023-02-16 09:17:47.11937056 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -88,7 +88,7 @@ <h2>
<td></td>
<td align="right">17477</td>
<td></td>
<td align="left">2023-02-16 08:33:24.303986813 +0000 UTC</td>
<td align="left">2023-02-16 09:17:47.11937056 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -97,7 +97,7 @@ <h2>
<td></td>
<td align="right">405</td>
<td></td>
<td align="left">2023-02-16 08:33:24.303986813 +0000 UTC</td>
<td align="left">2023-02-16 09:17:47.11937056 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -106,7 +106,7 @@ <h2>
<td></td>
<td align="right">11457</td>
<td></td>
<td align="left">2023-02-16 08:33:24.303986813 +0000 UTC</td>
<td align="left">2023-02-16 09:17:47.11937056 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -115,7 +115,7 @@ <h2>
<td></td>
<td align="right">589</td>
<td></td>
<td align="left">2023-02-16 08:33:24.303986813 +0000 UTC</td>
<td align="left">2023-02-16 09:17:47.11937056 +0000 UTC</td>
</tr>


Expand Down
Loading

0 comments on commit ccd8df0

Please sign in to comment.