Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure storage account: fix capacity and count metrics visualizations in the all dashboards #11120

Merged
merged 13 commits into from
Sep 20, 2024
5 changes: 5 additions & 0 deletions packages/azure_metrics/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: "1.6.6"
changes:
- description: Fix capacity and count metrics visualizations in the overview, blob, table, and file storage dashboards.
type: bugfix
link: https://github.com/elastic/integrations/pull/11120
- version: "1.6.5"
changes:
- description: Consolidate content on Azure metrics pages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,28 @@
"azure.namespace": "Microsoft.Storage/storageAccounts/queueServices"
}
}
},
{
"$state": {
"store": "appState"
},
"meta": {
"alias": "storage_account",
"disabled": false,
"field": "data_stream.dataset",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"key": "data_stream.dataset",
"negate": false,
"params": {
"query": "azure.storage_account"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"data_stream.dataset": "azure.storage_account"
}
}
}
],
"query": {
Expand Down Expand Up @@ -118,7 +140,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.queue_capacity.avg: *"
},
"isBucketed": false,
"label": "Queue Capacity",
Expand Down Expand Up @@ -296,7 +318,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.queue_message_count.avg: *"
},
"isBucketed": false,
"label": "Queue Message Count",
Expand Down Expand Up @@ -433,7 +455,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.queue_count.avg: *"
},
"isBucketed": false,
"label": "Queue Count",
Expand Down Expand Up @@ -1647,6 +1669,11 @@
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "controlGroup_13954387-48b2-4103-97e6-1d4ffcf73360:optionsListDataView",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,30 @@
"description": "This dashboard shows metrics for different storage types in Azure.",
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"filter": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": "storage_account",
"disabled": false,
"field": "data_stream.dataset",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"key": "data_stream.dataset",
"negate": false,
"params": {
"query": "azure.storage_account"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"data_stream.dataset": "azure.storage_account"
}
}
}
],
"query": {
"language": "kuery",
"query": ""
Expand Down Expand Up @@ -96,7 +119,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.used_capacity.avg: *"
},
"isBucketed": false,
"label": "Used Capacity",
Expand Down Expand Up @@ -1785,6 +1808,11 @@
"dashboard": "8.7.0"
},
"references": [
{
"id": "metrics-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "controlGroup_4d6088e2-f470-4c13-b08f-cf6b06b13c6a:optionsListDataView",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,28 @@
"azure.namespace": "Microsoft.Storage/storageAccounts/blobServices"
}
}
},
{
"$state": {
"store": "appState"
},
"meta": {
"alias": "storage_account",
"disabled": false,
"field": "data_stream.dataset",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"key": "data_stream.dataset",
"negate": false,
"params": {
"query": "azure.storage_account"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"data_stream.dataset": "azure.storage_account"
}
}
}
],
"query": {
Expand Down Expand Up @@ -159,7 +181,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.blob_capacity.avg: *"
},
"isBucketed": false,
"label": "Blob Capacity",
Expand Down Expand Up @@ -296,7 +318,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.blob_count.avg: *"
},
"isBucketed": false,
"label": "Blob Count",
Expand Down Expand Up @@ -392,7 +414,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.container_count.avg: *"
},
"isBucketed": false,
"label": "Container Count",
Expand Down Expand Up @@ -1640,6 +1662,11 @@
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "controlGroup_7eb82f60-7b2e-473f-960b-35b3fa5392d5:optionsListDataView",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,28 @@
"azure.namespace": "Microsoft.Storage/storageAccounts/fileServices"
}
}
},
{
"$state": {
"store": "appState"
},
"meta": {
"alias": "storage_account",
"disabled": false,
"field": "data_stream.dataset",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"key": "data_stream.dataset",
"negate": false,
"params": {
"query": "azure.storage_account"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"data_stream.dataset": "azure.storage_account"
}
}
}
],
"query": {
Expand Down Expand Up @@ -159,7 +181,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.file_capacity.avg: *"
},
"isBucketed": false,
"label": "File Capacity",
Expand Down Expand Up @@ -255,7 +277,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.file_count.avg: *"
},
"isBucketed": false,
"label": "File Count",
Expand Down Expand Up @@ -433,7 +455,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.file_share_count.avg: *"
},
"isBucketed": false,
"label": "File Share Count",
Expand Down Expand Up @@ -923,7 +945,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.file_share_snapshot_count.avg: *"
},
"isBucketed": false,
"label": "File Share Snapshot Count",
Expand Down Expand Up @@ -1411,7 +1433,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.file_share_snapshot_size.avg: *"
},
"isBucketed": false,
"label": "File Share Snapshot Size",
Expand Down Expand Up @@ -1921,6 +1943,11 @@
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "controlGroup_c7829894-f20c-4b19-ad2d-3a612701abc9:optionsListDataView",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,28 @@
"azure.namespace": "Microsoft.Storage/storageAccounts/tableServices"
}
}
},
{
"$state": {
"store": "appState"
},
"meta": {
"alias": "storage_account",
"disabled": false,
"field": "data_stream.dataset",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"key": "data_stream.dataset",
"negate": false,
"params": {
"query": "azure.storage_account"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"data_stream.dataset": "azure.storage_account"
}
}
}
],
"query": {
Expand Down Expand Up @@ -159,7 +181,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.table_capacity.avg: *"
},
"isBucketed": false,
"label": "Table Capacity",
Expand Down Expand Up @@ -255,7 +277,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.table_count.avg: *"
},
"isBucketed": false,
"label": "Table Count",
Expand Down Expand Up @@ -433,7 +455,7 @@
"dataType": "number",
"filter": {
"language": "kuery",
"query": ""
"query": "azure.storage_account.table_entity_count.avg: *"
},
"isBucketed": false,
"label": "Table Entity Count",
Expand Down Expand Up @@ -1647,6 +1669,11 @@
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "controlGroup_859278cd-7231-4483-9a14-5bd544d85949:optionsListDataView",
Expand Down
2 changes: 1 addition & 1 deletion packages/azure_metrics/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: azure_metrics
title: Azure Resource Metrics
version: 1.6.5
version: 1.6.6
description: Collect metrics from Azure resources with Elastic Agent.
type: integration
icons:
Expand Down