Skip to content

Commit

Permalink
Regenerate client from commit 7a83b48f of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 22, 2022
1 parent c2f8ec1 commit 756b513
Show file tree
Hide file tree
Showing 36 changed files with 345 additions and 570 deletions.
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.6.4",
"regenerated": "2022-11-21 22:06:53.798849",
"spec_repo_commit": "19da6428"
"regenerated": "2022-11-22 11:03:10.572998",
"spec_repo_commit": "7a83b48f"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2022-11-21 22:06:53.813550",
"spec_repo_commit": "19da6428"
"regenerated": "2022-11-22 11:03:10.584497",
"spec_repo_commit": "7a83b48f"
}
}
}
77 changes: 3 additions & 74 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5012,9 +5012,7 @@ components:
associated target attribute values,

formatted as `["source_key1,target_value1", "source_key2,target_value2"]`'
example:
- source_key1,target_value1
- source_key2,target_value2
example: []
items:
description: Mapping between a source and a value, it should follow the
format `"<SOURCE>,<VALUE>"`.
Expand All @@ -5025,14 +5023,14 @@ components:
type: string
source:
description: Source attribute used to perform the lookup.
example: service_id
example: ''
type: string
target:
description: 'Name of the attribute that contains the corresponding value
in the mapping list

or the `default_lookup` if not found in the mapping list.'
example: service
example: ''
type: string
type:
$ref: '#/components/schemas/LogsLookupProcessorType'
Expand Down Expand Up @@ -5219,7 +5217,6 @@ components:
- $ref: '#/components/schemas/LogsPipelineProcessor'
- $ref: '#/components/schemas/LogsGeoIPParser'
- $ref: '#/components/schemas/LogsLookupProcessor'
- $ref: '#/components/schemas/ReferenceTableLogsLookupProcessor'
- $ref: '#/components/schemas/LogsTraceRemapper'
type: object
LogsQueryCompute:
Expand Down Expand Up @@ -8518,51 +8515,6 @@ components:
security_query:
$ref: '#/components/schemas/LogQueryDefinition'
type: object
ReferenceTableLogsLookupProcessor:
description: '**Note**: Reference Tables are in public beta.

Use the Lookup Processor to define a mapping between a log attribute

and a human readable value saved in a Reference Table.

For example, you can use the Lookup Processor to map an internal service ID

into a human readable service name. Alternatively, you could also use it to
check

if the MAC address that just attempted to connect to the production

environment belongs to your list of stolen machines.'
properties:
is_enabled:
default: false
description: Whether or not the processor is enabled.
type: boolean
lookup_enrichment_table:
description: Name of the Reference Table for the source attribute and their
associated target attribute values.
example: service_id_to_service_name_table
type: string
name:
description: Name of the processor.
type: string
source:
description: Source attribute used to perform the lookup.
example: service_id
type: string
target:
description: Name of the attribute that contains the corresponding value
in the mapping list.
example: service
type: string
type:
$ref: '#/components/schemas/LogsLookupProcessorType'
required:
- source
- target
- lookup_enrichment_table
- type
type: object
ResponseMetaAttributes:
description: Object describing meta attributes of response.
properties:
Expand Down Expand Up @@ -15339,11 +15291,6 @@ components:
(and were NOT running the Datadog Agent).'
format: int64
type: integer
opentelemetry_apm_host_count:
description: Contains the total number of hosts using APM reported by Datadog
exporter for the OpenTelemetry Collector.
format: int64
type: integer
opentelemetry_host_count:
description: Contains the total number of hosts reported by Datadog exporter
for the OpenTelemetry Collector.
Expand Down Expand Up @@ -16317,12 +16264,6 @@ components:
date for all organizations.
format: int64
type: integer
opentelemetry_apm_host_top99p:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
date for all organizations.
format: int64
type: integer
opentelemetry_host_top99p:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -16685,12 +16626,6 @@ components:
date for the given org.
format: int64
type: integer
opentelemetry_apm_host_top99p:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
date for the given org.
format: int64
type: integer
opentelemetry_host_top99p:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -17080,12 +17015,6 @@ components:
months for all organizations.
format: int64
type: integer
opentelemetry_apm_host_top99p_sum:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
months for all organizations.
format: int64
type: integer
opentelemetry_host_top99p_sum:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down
111 changes: 88 additions & 23 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5012,8 +5012,6 @@ components:
properties:
aggregation_type:
$ref: '#/components/schemas/LogsMetricComputeAggregationType'
include_percentiles:
$ref: '#/components/schemas/LogsMetricComputeIncludePercentiles'
path:
description: The path to the value the log-based metric will aggregate on
(only used if the aggregation type is a "distribution").
Expand All @@ -5032,13 +5030,6 @@ components:
x-enum-varnames:
- COUNT
- DISTRIBUTION
LogsMetricComputeIncludePercentiles:
description: 'Toggle to include or exclude percentile aggregations for distribution
metrics.

Only present when the `aggregation_type` is `distribution`.'
example: true
type: boolean
LogsMetricCreateAttributes:
description: The object describing the Datadog log-based metric to create.
properties:
Expand Down Expand Up @@ -5130,8 +5121,6 @@ components:
properties:
aggregation_type:
$ref: '#/components/schemas/LogsMetricResponseComputeAggregationType'
include_percentiles:
$ref: '#/components/schemas/LogsMetricComputeIncludePercentiles'
path:
description: The path to the value the log-based metric will aggregate on
(only used if the aggregation type is a "distribution").
Expand Down Expand Up @@ -5193,8 +5182,6 @@ components:
LogsMetricUpdateAttributes:
description: The log-based metric properties that will be updated.
properties:
compute:
$ref: '#/components/schemas/LogsMetricUpdateCompute'
filter:
$ref: '#/components/schemas/LogsMetricFilter'
group_by:
Expand All @@ -5203,12 +5190,6 @@ components:
$ref: '#/components/schemas/LogsMetricGroupBy'
type: array
type: object
LogsMetricUpdateCompute:
description: The compute rule to compute the log-based metric.
properties:
include_percentiles:
$ref: '#/components/schemas/LogsMetricComputeIncludePercentiles'
type: object
LogsMetricUpdateData:
description: The new log-based metric properties.
properties:
Expand Down Expand Up @@ -5997,7 +5978,7 @@ components:
format: date-time
type: string
include_percentiles:
description: 'Toggle to include or exclude percentile aggregations for distribution
description: 'Toggle to turn on/off percentile aggregations for distribution
metrics.

Only present when the `metric_type` is `distribution`.'
Expand Down Expand Up @@ -6913,6 +6894,10 @@ components:
description: ID of the RUM application.
example: abcd1234-0000-0000-abcd-1234abcd5678
type: string
client_token:
description: Client token of the RUM application.
example: abcd1234efgh5678ijkl90abcd1234efgh0
type: string
created_at:
description: Timestamp in ms of the creation date.
example: 1659479836169
Expand All @@ -6923,9 +6908,12 @@ components:
example: john.doe
type: string
hash:
description: Client token of the RUM application.
example: abcd1234efgh5678ijkl90abcd1234efgh0
description: Hash of the RUM application. Optional.
type: string
is_active:
description: Indicates if the RUM application is active.
example: true
type: boolean
name:
description: Name of the RUM application.
example: my_rum_application
Expand All @@ -6952,6 +6940,7 @@ components:
type: string
required:
- application_id
- client_token
- created_at
- created_by_handle
- name
Expand Down Expand Up @@ -7003,6 +6992,82 @@ components:
type: string
x-enum-varnames:
- RUM_APPLICATION_CREATE
RUMApplicationList:
description: RUM application list.
properties:
attributes:
$ref: '#/components/schemas/RUMApplicationListAttributes'
type:
$ref: '#/components/schemas/RUMApplicationListType'
required:
- attributes
- type
type: object
RUMApplicationListAttributes:
description: RUM application list attributes.
properties:
application_id:
description: ID of the RUM application.
example: abcd1234-0000-0000-abcd-1234abcd5678
type: string
created_at:
description: Timestamp in ms of the creation date.
example: 1659479836169
format: int64
type: integer
created_by_handle:
description: Handle of the creator user.
example: john.doe
type: string
hash:
description: Hash of the RUM application. Optional.
type: string
is_active:
description: Indicates if the RUM application is active.
example: true
type: boolean
name:
description: Name of the RUM application.
example: my_rum_application
type: string
org_id:
description: Org ID of the RUM application.
example: 999
format: int32
maximum: 2147483647
type: integer
type:
description: Type of the RUM application.
example: browser|ios|android|react-native|flutter
type: string
updated_at:
description: Timestamp in ms of the last update date.
example: 1659479836169
format: int64
type: integer
updated_by_handle:
description: Handle of the updater user.
example: jane.doe
type: string
required:
- application_id
- created_at
- created_by_handle
- name
- org_id
- type
- updated_at
- updated_by_handle
type: object
RUMApplicationListType:
default: rum_application
description: RUM application list type.
enum:
- rum_application
example: rum_application
type: string
x-enum-varnames:
- RUM_APPLICATION
RUMApplicationResponse:
description: RUM application response.
properties:
Expand Down Expand Up @@ -7069,7 +7134,7 @@ components:
data:
description: RUM applications array response.
items:
$ref: '#/components/schemas/RUMApplication'
$ref: '#/components/schemas/RUMApplicationList'
type: array
type: object
RUMBucketResponse:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2022-11-21T15:36:05.545Z"
"2022-05-12T09:52:22.599Z"
Loading

0 comments on commit 756b513

Please sign in to comment.