Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.2.0",
"regenerated": "2020-09-17 14:33:05.225257",
"spec_repo_commit": "372420b"
"regenerated": "2020-09-18 09:55:25.452527",
"spec_repo_commit": "49af2c4"
},
"v2": {
"apigentools_version": "1.2.0",
"regenerated": "2020-09-17 14:33:11.944595",
"spec_repo_commit": "372420b"
"regenerated": "2020-09-18 09:55:31.991375",
"spec_repo_commit": "49af2c4"
}
}
}
5 changes: 4 additions & 1 deletion api_docs/v1/UsageMeteringApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ Name | Type | Description | Notes

## getUsageRumSessions

> UsageRumSessionsResponse getUsageRumSessions().startHr(startHr).endHr(endHr).execute();
> UsageRumSessionsResponse getUsageRumSessions().startHr(startHr).endHr(endHr).type(type).execute();

Get hourly usage for RUM Sessions

Expand Down Expand Up @@ -1332,10 +1332,12 @@ public class Example {
UsageMeteringApi apiInstance = new UsageMeteringApi(defaultClient);
OffsetDateTime startHr = new OffsetDateTime(); // OffsetDateTime | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
OffsetDateTime endHr = new OffsetDateTime(); // OffsetDateTime | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
String type = "type_example"; // String | RUM type: `[browser, mobile]`. Defaults to `browser`.
try {
UsageRumSessionsResponse result = api.getUsageRumSessions()
.startHr(startHr)
.endHr(endHr)
.type(type)
.execute();
System.out.println(result);
} catch (ApiException e) {
Expand All @@ -1356,6 +1358,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**startHr** | **OffsetDateTime**| Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. |
**endHr** | **OffsetDateTime**| Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. | [optional]
**type** | **String**| RUM type: `[browser, mobile]`. Defaults to `browser`. | [optional]

### Return type

Expand Down
3 changes: 2 additions & 1 deletion api_docs/v1/UsageSummaryDate.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ Name | Type | Description | Notes
**indexedEventsCountSum** | **Long** | Shows the sum of all log events indexed over all hours in the current date for all organizations. | [optional]
**infraHostTop99p** | **Long** | Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for all organizations. | [optional]
**ingestedEventsBytesSum** | **Long** | Shows the sum of all log bytes ingested over all hours in the current date for all organizations. | [optional]
**mobileRumSessionCountSum** | **Long** | Shows the sum of all mobile RUM Sessions over all hours in the current date for all organizations | [optional]
**netflowIndexedEventsCountSum** | **Long** | Shows the sum of all Network flows indexed over all hours in the current date for all organizations. | [optional]
**npmHostTop99p** | **Long** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for all organizations. | [optional]
**orgs** | [**List<UsageSummaryDateOrg>**](UsageSummaryDateOrg.md) | Organizations associated with a user. | [optional]
**profilingHostTop99p** | **Long** | Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations. | [optional]
**rumSessionCountSum** | **Long** | Shows the sum of all RUM Sessions over all hours in the current date for all organizations | [optional]
**rumSessionCountSum** | **Long** | Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations | [optional]
**syntheticsBrowserCheckCallsCountSum** | **Long** | Shows the sum of all Synthetic browser tests over all hours in the current date for all organizations. | [optional]
**syntheticsCheckCallsCountSum** | **Long** | Shows the sum of all Synthetic API tests over all hours in the current date for all organizations. | [optional]
**traceSearchIndexedEventsCountSum** | **Long** | Shows the sum of all analyzed spans indexed over all hours in the current date for all organizations. | [optional]
Expand Down
3 changes: 2 additions & 1 deletion api_docs/v1/UsageSummaryDateOrg.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ Name | Type | Description | Notes
**indexedEventsCountSum** | **Long** | Shows the sum of all log events indexed over all hours in the current date for the given org. | [optional]
**infraHostTop99p** | **Long** | Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for the given org. | [optional]
**ingestedEventsBytesSum** | **Long** | Shows the sum of all log bytes ingested over all hours in the current date for the given org. | [optional]
**mobileRumSessionCountSum** | **Long** | Shows the sum of all mobile RUM Sessions over all hours in the current date for the given org. | [optional]
**name** | **String** | The organization name. | [optional]
**netflowIndexedEventsCountSum** | **Long** | Shows the sum of all Network flows indexed over all hours in the current date for the given org. | [optional]
**npmHostTop99p** | **Long** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for the given org. | [optional]
**profilingHostTop99p** | **Long** | Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org. | [optional]
**publicId** | **String** | The organization public id. | [optional]
**rumSessionCountSum** | **Long** | Shows the sum of all RUM Sessions over all hours in the current date for the given org. | [optional]
**rumSessionCountSum** | **Long** | Shows the sum of all browser RUM Sessions over all hours in the current date for the given org. | [optional]
**syntheticsBrowserCheckCallsCountSum** | **Long** | Shows the sum of all Synthetic browser tests over all hours in the current date for the given org. | [optional]
**syntheticsCheckCallsCountSum** | **Long** | Shows the sum of all Synthetic API tests over all hours in the current date for the given org. | [optional]
**traceSearchIndexedEventsCountSum** | **Long** | Shows the sum of all analyzed spans indexed over all hours in the current date for the given org. | [optional]
Expand Down
3 changes: 2 additions & 1 deletion api_docs/v1/UsageSummaryResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ Name | Type | Description | Notes
**infraHostTop99pSum** | **Long** | Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current month(s) for all organizations. | [optional]
**ingestedEventsBytesAggSum** | **Long** | Shows the sum of all log bytes ingested over all hours in the current month(s) for all organizations. | [optional]
**lastUpdated** | [**OffsetDateTime**](OffsetDateTime.md) | Shows the the most recent hour in the current month(s) for all organizations for which all usages were calculated. | [optional]
**mobileRumSessionCountAggSum** | **Long** | Shows the sum of all mobile RUM Sessions over all hours in the current month(s) for all organizations. | [optional]
**netflowIndexedEventsCountAggSum** | **Long** | Shows the sum of all Network flows indexed over all hours in the current month(s) for all organizations. | [optional]
**npmHostTop99pSum** | **Long** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current month(s) for all organizations. | [optional]
**profilingContainerAgentCountAvg** | **Long** | Shows the average number of profiled containers over all hours in the current month(s) for all organizations. | [optional]
**profilingHostCountTop99pSum** | **Long** | Shows the 99th percentile of all profiled hosts over all hours in the current month(s) for all organizations. | [optional]
**rumSessionCountAggSum** | **Long** | Shows the sum of all RUM Sessions over all hours in the current month(s) for all organizations. | [optional]
**rumSessionCountAggSum** | **Long** | Shows the sum of all browser RUM Sessions over all hours in the current month(s) for all organizations. | [optional]
**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Shows the first date of usage in the current month(s) for all organizations. | [optional]
**syntheticsBrowserCheckCallsCountAggSum** | **Long** | Shows the sum of all Synthetic browser tests over all hours in the current month(s) for all organizations. | [optional]
**syntheticsCheckCallsCountAggSum** | **Long** | Shows the sum of all Synthetic API tests over all hours in the current month(s) for all organizations. | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1886,7 +1886,7 @@ public APIgetUsageProfilingRequest getUsageProfiling() throws ApiException {
return new APIgetUsageProfilingRequest();
}

private ApiResponse<UsageRumSessionsResponse> getUsageRumSessionsWithHttpInfo(OffsetDateTime startHr, OffsetDateTime endHr) throws ApiException {
private ApiResponse<UsageRumSessionsResponse> getUsageRumSessionsWithHttpInfo(OffsetDateTime startHr, OffsetDateTime endHr, String type) throws ApiException {
Object localVarPostBody = null;

// verify the required parameter 'startHr' is set
Expand All @@ -1905,6 +1905,7 @@ private ApiResponse<UsageRumSessionsResponse> getUsageRumSessionsWithHttpInfo(Of

localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_hr", startHr));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "end_hr", endHr));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "type", type));

// Set Operation-ID header for telemetry
localVarHeaderParams.put("DD-OPERATION-ID", "getUsageRumSessions");
Expand Down Expand Up @@ -1934,6 +1935,7 @@ private ApiResponse<UsageRumSessionsResponse> getUsageRumSessionsWithHttpInfo(Of
public class APIgetUsageRumSessionsRequest {
private OffsetDateTime startHr;
private OffsetDateTime endHr;
private String type;

private APIgetUsageRumSessionsRequest() {
}
Expand All @@ -1958,6 +1960,16 @@ public APIgetUsageRumSessionsRequest endHr(OffsetDateTime endHr) {
return this;
}

/**
* Set type
* @param type RUM type: &#x60;[browser, mobile]&#x60;. Defaults to &#x60;browser&#x60;. (optional)
* @return APIgetUsageRumSessionsRequest
*/
public APIgetUsageRumSessionsRequest type(String type) {
this.type = type;
return this;
}

/**
* Execute getUsageRumSessions request
* @return UsageRumSessionsResponse
Expand Down Expand Up @@ -1990,7 +2002,7 @@ public UsageRumSessionsResponse execute() throws ApiException {

*/
public ApiResponse<UsageRumSessionsResponse> executeWithHttpInfo() throws ApiException {
return getUsageRumSessionsWithHttpInfo(startHr, endHr);
return getUsageRumSessionsWithHttpInfo(startHr, endHr, type);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
UsageSummaryDate.JSON_PROPERTY_INDEXED_EVENTS_COUNT_SUM,
UsageSummaryDate.JSON_PROPERTY_INFRA_HOST_TOP99P,
UsageSummaryDate.JSON_PROPERTY_INGESTED_EVENTS_BYTES_SUM,
UsageSummaryDate.JSON_PROPERTY_MOBILE_RUM_SESSION_COUNT_SUM,
UsageSummaryDate.JSON_PROPERTY_NETFLOW_INDEXED_EVENTS_COUNT_SUM,
UsageSummaryDate.JSON_PROPERTY_NPM_HOST_TOP99P,
UsageSummaryDate.JSON_PROPERTY_ORGS,
Expand Down Expand Up @@ -115,6 +116,9 @@ public class UsageSummaryDate {
public static final String JSON_PROPERTY_INGESTED_EVENTS_BYTES_SUM = "ingested_events_bytes_sum";
private Long ingestedEventsBytesSum;

public static final String JSON_PROPERTY_MOBILE_RUM_SESSION_COUNT_SUM = "mobile_rum_session_count_sum";
private Long mobileRumSessionCountSum;

public static final String JSON_PROPERTY_NETFLOW_INDEXED_EVENTS_COUNT_SUM = "netflow_indexed_events_count_sum";
private Long netflowIndexedEventsCountSum;

Expand Down Expand Up @@ -551,6 +555,30 @@ public void setIngestedEventsBytesSum(Long ingestedEventsBytesSum) {
}


public UsageSummaryDate mobileRumSessionCountSum(Long mobileRumSessionCountSum) {
this.mobileRumSessionCountSum = mobileRumSessionCountSum;
return this;
}

/**
* Shows the sum of all mobile RUM Sessions over all hours in the current date for all organizations
* @return mobileRumSessionCountSum
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Shows the sum of all mobile RUM Sessions over all hours in the current date for all organizations")
@JsonProperty(JSON_PROPERTY_MOBILE_RUM_SESSION_COUNT_SUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public Long getMobileRumSessionCountSum() {
return mobileRumSessionCountSum;
}


public void setMobileRumSessionCountSum(Long mobileRumSessionCountSum) {
this.mobileRumSessionCountSum = mobileRumSessionCountSum;
}


public UsageSummaryDate netflowIndexedEventsCountSum(Long netflowIndexedEventsCountSum) {
this.netflowIndexedEventsCountSum = netflowIndexedEventsCountSum;
return this;
Expand Down Expand Up @@ -661,11 +689,11 @@ public UsageSummaryDate rumSessionCountSum(Long rumSessionCountSum) {
}

/**
* Shows the sum of all RUM Sessions over all hours in the current date for all organizations
* Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations
* @return rumSessionCountSum
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Shows the sum of all RUM Sessions over all hours in the current date for all organizations")
@ApiModelProperty(value = "Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations")
@JsonProperty(JSON_PROPERTY_RUM_SESSION_COUNT_SUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand Down Expand Up @@ -804,6 +832,7 @@ public boolean equals(Object o) {
Objects.equals(this.indexedEventsCountSum, usageSummaryDate.indexedEventsCountSum) &&
Objects.equals(this.infraHostTop99p, usageSummaryDate.infraHostTop99p) &&
Objects.equals(this.ingestedEventsBytesSum, usageSummaryDate.ingestedEventsBytesSum) &&
Objects.equals(this.mobileRumSessionCountSum, usageSummaryDate.mobileRumSessionCountSum) &&
Objects.equals(this.netflowIndexedEventsCountSum, usageSummaryDate.netflowIndexedEventsCountSum) &&
Objects.equals(this.npmHostTop99p, usageSummaryDate.npmHostTop99p) &&
Objects.equals(this.orgs, usageSummaryDate.orgs) &&
Expand All @@ -817,7 +846,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(agentHostTop99p, apmHostTop99p, awsHostTop99p, awsLambdaFuncCount, awsLambdaInvocationsSum, azureAppServiceTop99p, billableIngestedBytesSum, containerAvg, containerHwm, customTsAvg, date, fargateTasksCountAvg, fargateTasksCountHwm, gcpHostTop99p, indexedEventsCountSum, infraHostTop99p, ingestedEventsBytesSum, netflowIndexedEventsCountSum, npmHostTop99p, orgs, profilingHostTop99p, rumSessionCountSum, syntheticsBrowserCheckCallsCountSum, syntheticsCheckCallsCountSum, traceSearchIndexedEventsCountSum, twolIngestedEventsBytesSum);
return Objects.hash(agentHostTop99p, apmHostTop99p, awsHostTop99p, awsLambdaFuncCount, awsLambdaInvocationsSum, azureAppServiceTop99p, billableIngestedBytesSum, containerAvg, containerHwm, customTsAvg, date, fargateTasksCountAvg, fargateTasksCountHwm, gcpHostTop99p, indexedEventsCountSum, infraHostTop99p, ingestedEventsBytesSum, mobileRumSessionCountSum, netflowIndexedEventsCountSum, npmHostTop99p, orgs, profilingHostTop99p, rumSessionCountSum, syntheticsBrowserCheckCallsCountSum, syntheticsCheckCallsCountSum, traceSearchIndexedEventsCountSum, twolIngestedEventsBytesSum);
}


Expand All @@ -842,6 +871,7 @@ public String toString() {
sb.append(" indexedEventsCountSum: ").append(toIndentedString(indexedEventsCountSum)).append("\n");
sb.append(" infraHostTop99p: ").append(toIndentedString(infraHostTop99p)).append("\n");
sb.append(" ingestedEventsBytesSum: ").append(toIndentedString(ingestedEventsBytesSum)).append("\n");
sb.append(" mobileRumSessionCountSum: ").append(toIndentedString(mobileRumSessionCountSum)).append("\n");
sb.append(" netflowIndexedEventsCountSum: ").append(toIndentedString(netflowIndexedEventsCountSum)).append("\n");
sb.append(" npmHostTop99p: ").append(toIndentedString(npmHostTop99p)).append("\n");
sb.append(" orgs: ").append(toIndentedString(orgs)).append("\n");
Expand Down
Loading