diff --git a/packages/azure_metrics/changelog.yml b/packages/azure_metrics/changelog.yml index 7ebdf0ec4a6..a08e6dd8e9e 100644 --- a/packages/azure_metrics/changelog.yml +++ b/packages/azure_metrics/changelog.yml @@ -1,3 +1,8 @@ +- version: "1.6.0" + changes: + - description: Add support for integration secrets. + type: enhancement + link: https://github.com/elastic/integrations/pull/9621 - version: "1.5.0" changes: - description: Update visualizations of Queue Storage Overview, Table Storage Overview, File Storage Overview & Storage Overview dashboards. diff --git a/packages/azure_metrics/data_stream/container_instance/fields/package-fields.yml b/packages/azure_metrics/data_stream/container_instance/fields/package-fields.yml index 6b49881a897..1acff1ffc84 100644 --- a/packages/azure_metrics/data_stream/container_instance/fields/package-fields.yml +++ b/packages/azure_metrics/data_stream/container_instance/fields/package-fields.yml @@ -67,25 +67,3 @@ type: keyword dimension: true description: The container name - - name: metrics - type: group - fields: - - name: cpu_usage.avg - type: float - metric_type: gauge - description: CPU usage on all cores in millicores. - - name: memory_usage.avg - type: float - metric_type: gauge - unit: byte - description: Total memory usage in byte. - - name: network_bytes_received_per_second.avg - type: float - metric_type: gauge - unit: byte - description: The network bytes received per second. - - name: network_bytes_transmitted_per_second.avg - type: float - metric_type: gauge - unit: byte - description: The network bytes transmitted per second. diff --git a/packages/azure_metrics/data_stream/storage_account/fields/agent.yml b/packages/azure_metrics/data_stream/storage_account/fields/agent.yml index 61a93a5e201..745245c719e 100644 --- a/packages/azure_metrics/data_stream/storage_account/fields/agent.yml +++ b/packages/azure_metrics/data_stream/storage_account/fields/agent.yml @@ -55,34 +55,6 @@ - name: image.id type: keyword description: Image ID for the cloud instance. -- name: container - title: Container - group: 2 - description: 'Container fields are used for meta information about the specific container that is the source of information. - - These fields help correlate data based containers from any runtime.' - type: group - fields: - - name: id - level: core - type: keyword - ignore_above: 1024 - description: Unique container id. - - name: image.name - level: extended - type: keyword - ignore_above: 1024 - description: Name of the image the container was built on. - - name: labels - level: extended - type: object - object_type: keyword - description: Image labels. - - name: name - level: extended - type: keyword - ignore_above: 1024 - description: Container name. - name: host title: Host group: 2 diff --git a/packages/azure_metrics/data_stream/storage_account/fields/ecs.yml b/packages/azure_metrics/data_stream/storage_account/fields/ecs.yml index 0ef9d19c59d..b1bb9538cd8 100644 --- a/packages/azure_metrics/data_stream/storage_account/fields/ecs.yml +++ b/packages/azure_metrics/data_stream/storage_account/fields/ecs.yml @@ -9,6 +9,8 @@ external: ecs - name: container.name external: ecs +- name: container.labels + external: ecs - name: container.runtime external: ecs - name: container.image.name diff --git a/packages/azure_metrics/docs/README.md b/packages/azure_metrics/docs/README.md index b7c32cc52d3..f7538e41fa5 100644 --- a/packages/azure_metrics/docs/README.md +++ b/packages/azure_metrics/docs/README.md @@ -497,7 +497,7 @@ so the `period` for `container_instance` should be `300s` or multiples of `300s` | azure.container_instance.network_bytes_received_per_second.avg | The network bytes received per second. | float | byte | gauge | | azure.container_instance.network_bytes_transmitted_per_second.avg | The network bytes transmitted per second. | float | byte | gauge | | azure.dimensions.container_name | The container name | keyword | | | -| azure.metrics.cpu_usage.avg | CPU usage on all cores in millicores. | float | | gauge | +| azure.metrics.cpu_usage.avg | | alias | | | | azure.metrics.memory_usage.avg | | alias | | | | azure.metrics.network_bytes_received_per_second.avg | | alias | | | | azure.metrics.network_bytes_transmitted_per_second.avg | | alias | | | diff --git a/packages/azure_metrics/docs/container_instance.md b/packages/azure_metrics/docs/container_instance.md index 7ba464af00d..4ee6c46466b 100644 --- a/packages/azure_metrics/docs/container_instance.md +++ b/packages/azure_metrics/docs/container_instance.md @@ -79,7 +79,7 @@ Authentication: we are handling authentication on our side (creating/renewing th | azure.container_instance.network_bytes_received_per_second.avg | The network bytes received per second. | float | byte | gauge | | azure.container_instance.network_bytes_transmitted_per_second.avg | The network bytes transmitted per second. | float | byte | gauge | | azure.dimensions.container_name | The container name | keyword | | | -| azure.metrics.cpu_usage.avg | CPU usage on all cores in millicores. | float | | gauge | +| azure.metrics.cpu_usage.avg | | alias | | | | azure.metrics.memory_usage.avg | | alias | | | | azure.metrics.network_bytes_received_per_second.avg | | alias | | | | azure.metrics.network_bytes_transmitted_per_second.avg | | alias | | | diff --git a/packages/azure_metrics/manifest.yml b/packages/azure_metrics/manifest.yml index f9cda0d94f2..1bb49a06df9 100644 --- a/packages/azure_metrics/manifest.yml +++ b/packages/azure_metrics/manifest.yml @@ -1,7 +1,6 @@ name: azure_metrics title: Azure Resource Metrics -version: 1.5.0 -release: ga +version: 1.6.0 description: Collect metrics from Azure resources with Elastic Agent. type: integration icons: @@ -14,13 +13,13 @@ screenshots: title: Azure VM metrics overview size: 5120x2562 type: image/png -format_version: 1.0.0 -license: basic +format_version: 3.1.2 categories: - observability - azure conditions: - kibana.version: "^8.11.2" + kibana: + version: "^8.12.0" vars: - name: client_id type: text @@ -29,11 +28,12 @@ vars: required: true show_user: true - name: client_secret - type: text + type: password title: Client Secret multi: false required: true show_user: true + secret: true - name: tenant_id type: text title: Tenant ID @@ -236,3 +236,4 @@ policy_templates: type: image/png owner: github: elastic/obs-ds-hosted-services + type: elastic diff --git a/packages/azure_metrics/validation.yml b/packages/azure_metrics/validation.yml new file mode 100644 index 00000000000..2b0dbafa239 --- /dev/null +++ b/packages/azure_metrics/validation.yml @@ -0,0 +1,3 @@ +errors: + exclude_checks: + - SVR00002 # Mandatory filters in dashboards.