diff --git a/packages/aws/changelog.yml b/packages/aws/changelog.yml index ff461eb10e2..46b24359f5f 100644 --- a/packages/aws/changelog.yml +++ b/packages/aws/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.46.5" + changes: + - description: Fix metric type for API Gateway metric fields. + type: enhancement + link: https://github.com/elastic/integrations/pull/6952 - version: "1.46.4" changes: - description: Set dimensions fields for API Gateway data stream. diff --git a/packages/aws/data_stream/apigateway_metrics/fields/fields.yml b/packages/aws/data_stream/apigateway_metrics/fields/fields.yml index cc2f87f5484..225cd9522ab 100644 --- a/packages/aws/data_stream/apigateway_metrics/fields/fields.yml +++ b/packages/aws/data_stream/apigateway_metrics/fields/fields.yml @@ -10,23 +10,23 @@ - name: 4XXError.sum type: long description: The number of client-side errors captured in a given period. - metric_type: counter + metric_type: gauge - name: 4xx.sum type: long description: The number of client-side errors captured in a given period. - metric_type: counter + metric_type: gauge - name: 5XXError.sum type: long description: The number of server-side errors captured in a given period. - metric_type: counter + metric_type: gauge - name: 5xx.sum type: long description: The number of server-side errors captured in a given period. - metric_type: counter + metric_type: gauge - name: Count.sum type: long description: The total number API requests in a given period. - metric_type: counter + metric_type: gauge - name: IntegrationLatency.avg type: long description: The time between when API Gateway relays a request to the backend and when it receives a response from the backend. @@ -45,35 +45,35 @@ - name: CacheHitCount.sum type: long description: The number of requests served from the API cache in a given period. - metric_type: counter + metric_type: gauge - name: CacheMissCount.sum type: long description: The number of requests served from the backend in a given period, when API caching is enabled. - metric_type: counter + metric_type: gauge - name: Count.sum type: long description: The total number of API requests in a given period. - metric_type: counter + metric_type: gauge - name: ConnectCount.sum type: long description: The number of messages sent to the connect route integration. - metric_type: counter + metric_type: gauge - name: MessageCount.sum type: long description: The number of messages sent to the WebSocket API, either from or to the client. - metric_type: counter + metric_type: gauge - name: IntegrationError.sum type: long description: The number of requests that return a 4XX/5XX response from the integration. - metric_type: counter + metric_type: gauge - name: ClientError.sum type: long description: The number of requests that have a 4XX response returned by API Gateway before the integration is invoked. - metric_type: counter + metric_type: gauge - name: ExecutionError.sum type: long description: Errors that occurred when calling the integration. - metric_type: counter + metric_type: gauge - name: dimensions type: group fields: diff --git a/packages/aws/docs/apigateway.md b/packages/aws/docs/apigateway.md index f2b18f17454..7f5da0f1116 100644 --- a/packages/aws/docs/apigateway.md +++ b/packages/aws/docs/apigateway.md @@ -141,21 +141,21 @@ An example event for `apigateway` looks as following: |---|---|---|---|---| | @timestamp | Event timestamp. | date | | | | agent.id | Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id. | keyword | | | -| aws.apigateway.metrics.4XXError.sum | The number of client-side errors captured in a given period. | long | | counter | -| aws.apigateway.metrics.4xx.sum | The number of client-side errors captured in a given period. | long | | counter | -| aws.apigateway.metrics.5XXError.sum | The number of server-side errors captured in a given period. | long | | counter | -| aws.apigateway.metrics.5xx.sum | The number of server-side errors captured in a given period. | long | | counter | -| aws.apigateway.metrics.CacheHitCount.sum | The number of requests served from the API cache in a given period. | long | | counter | -| aws.apigateway.metrics.CacheMissCount.sum | The number of requests served from the backend in a given period, when API caching is enabled. | long | | counter | -| aws.apigateway.metrics.ClientError.sum | The number of requests that have a 4XX response returned by API Gateway before the integration is invoked. | long | | counter | -| aws.apigateway.metrics.ConnectCount.sum | The number of messages sent to the connect route integration. | long | | counter | -| aws.apigateway.metrics.Count.sum | The total number of API requests in a given period. | long | | counter | +| aws.apigateway.metrics.4XXError.sum | The number of client-side errors captured in a given period. | long | | gauge | +| aws.apigateway.metrics.4xx.sum | The number of client-side errors captured in a given period. | long | | gauge | +| aws.apigateway.metrics.5XXError.sum | The number of server-side errors captured in a given period. | long | | gauge | +| aws.apigateway.metrics.5xx.sum | The number of server-side errors captured in a given period. | long | | gauge | +| aws.apigateway.metrics.CacheHitCount.sum | The number of requests served from the API cache in a given period. | long | | gauge | +| aws.apigateway.metrics.CacheMissCount.sum | The number of requests served from the backend in a given period, when API caching is enabled. | long | | gauge | +| aws.apigateway.metrics.ClientError.sum | The number of requests that have a 4XX response returned by API Gateway before the integration is invoked. | long | | gauge | +| aws.apigateway.metrics.ConnectCount.sum | The number of messages sent to the connect route integration. | long | | gauge | +| aws.apigateway.metrics.Count.sum | The total number of API requests in a given period. | long | | gauge | | aws.apigateway.metrics.DataProcessed.avg | The amount of data processed in bytes. | long | byte | gauge | -| aws.apigateway.metrics.ExecutionError.sum | Errors that occurred when calling the integration. | long | | counter | -| aws.apigateway.metrics.IntegrationError.sum | The number of requests that return a 4XX/5XX response from the integration. | long | | counter | +| aws.apigateway.metrics.ExecutionError.sum | Errors that occurred when calling the integration. | long | | gauge | +| aws.apigateway.metrics.IntegrationError.sum | The number of requests that return a 4XX/5XX response from the integration. | long | | gauge | | aws.apigateway.metrics.IntegrationLatency.avg | The time between when API Gateway relays a request to the backend and when it receives a response from the backend. | long | ms | gauge | | aws.apigateway.metrics.Latency.avg | The time between when API Gateway receives a request from a client and when it returns a response to the client. | long | ms | gauge | -| aws.apigateway.metrics.MessageCount.sum | The number of messages sent to the WebSocket API, either from or to the client. | long | | counter | +| aws.apigateway.metrics.MessageCount.sum | The number of messages sent to the WebSocket API, either from or to the client. | long | | gauge | | aws.cloudwatch.namespace | The namespace specified when query cloudwatch api. | keyword | | | | aws.dimensions.ApiId | Each API created in API Gateway is assigned a unique ApiId, which is used to distinguish and reference that specific API within the system. | keyword | | | | aws.dimensions.ApiName | It represents a human-readable name that helps identify and differentiate the API within the API Gateway service. | keyword | | | diff --git a/packages/aws/manifest.yml b/packages/aws/manifest.yml index 48a4c45c144..c59b0eebcdb 100644 --- a/packages/aws/manifest.yml +++ b/packages/aws/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: aws title: AWS -version: 1.46.4 +version: 1.46.5 license: basic description: Collect logs and metrics from Amazon Web Services (AWS) with Elastic Agent. type: integration