Skip to content

Commit

Permalink
[Amazon Bedrock] Overview and Guardrails dashboard improvements (#12493)
Browse files Browse the repository at this point in the history
* Minor improvements to the Amazon Bedrock overview and Amazon Bedrock guardrails dashboard labels.
  • Loading branch information
agithomas authored Jan 28, 2025
1 parent 26f639f commit 4ea84a1
Show file tree
Hide file tree
Showing 8 changed files with 172 additions and 160 deletions.
5 changes: 5 additions & 0 deletions packages/aws_bedrock/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: "0.22.1"
changes:
- description: Add minor improvements to the Overview and Guardrails dashboards.
type: enhancement
link: https://github.com/elastic/integrations/pull/12493
- version: "0.22.0"
changes:
- description: Add improvements to the Overview and Guardrails dashboards.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/aws_bedrock/img/aws_bedrock_chat_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/aws_bedrock/img/aws_bedrock_invocation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"id": "",
"params": {
"fontSize": 10,
"markdown": "# Amazon Bedrock\n\n\nPrimary metrics and logs from Amazon Bedrock service. This dashboard contains:\n\n- Request rates\n- Error rates\n- Token usage\n- Latency information\n- LLM prompt, input and response",
"markdown": "# Amazon Bedrock\n\n\nPrimary metrics and logs from Amazon Bedrock service. This dashboard contains:\n\n- Invocation rates\n- Error rates\n- Token usage\n- Latency information\n- LLM prompt, input and response",
"openLinksInNewTab": false
},
"title": "",
Expand All @@ -182,7 +182,7 @@
"gridData": {
"h": 12,
"i": "65d17dfa-754c-4cb1-990d-2933e6fc3cd3",
"w": 16,
"w": 14,
"x": 0,
"y": 3
},
Expand Down Expand Up @@ -266,14 +266,15 @@
"type": "lens",
"visualizationType": "lnsMetric"
},
"description": "The number of requests to the Converse, ConverseStream, InvokeModel, and InvokeModelWithResponseStream API operations.",
"enhancements": {},
"hidePanelTitles": true
},
"gridData": {
"h": 6,
"i": "e60d4cb7-a41f-4607-be08-6fe1437abfbd",
"w": 4,
"x": 16,
"w": 5,
"x": 14,
"y": 3
},
"panelIndex": "e60d4cb7-a41f-4607-be08-6fe1437abfbd",
Expand Down Expand Up @@ -421,14 +422,15 @@
"type": "lens",
"visualizationType": "lnsMetric"
},
"description": "The total number of input and output tokens.",
"enhancements": {},
"hidePanelTitles": true
},
"gridData": {
"h": 6,
"i": "0859e03b-1edc-4d5b-8067-4c0e28997201",
"w": 4,
"x": 20,
"w": 5,
"x": 19,
"y": 3
},
"panelIndex": "0859e03b-1edc-4d5b-8067-4c0e28997201",
Expand Down Expand Up @@ -515,6 +517,7 @@
"visualization": {
"layers": [
{
"allowMultipleMetrics": false,
"categoryDisplay": "default",
"colorMapping": {
"assignments": [],
Expand All @@ -534,6 +537,7 @@
}
]
},
"emptySizeRatio": 0.3,
"layerId": "94286ada-c213-4185-8d61-6285ea6d56c0",
"layerType": "data",
"legendDisplay": "default",
Expand All @@ -544,16 +548,18 @@
"numberDisplay": "percent",
"primaryGroups": [
"a115bc75-d25a-4092-a8bc-c877d036116f"
]
],
"secondaryGroups": []
}
],
"shape": "pie"
"shape": "donut"
}
},
"title": "",
"type": "lens",
"visualizationType": "lnsPie"
},
"description": "The number of requests to the Converse, ConverseStream, InvokeModel, and InvokeModelWithResponseStream API operations, grouped by model",
"enhancements": {}
},
"gridData": {
Expand Down Expand Up @@ -750,14 +756,15 @@
"type": "lens",
"visualizationType": "lnsMetric"
},
"description": "The total number of invocations that result in server-side and client-side errors.",
"enhancements": {},
"hidePanelTitles": true
},
"gridData": {
"h": 6,
"i": "8aded3de-be0e-42ca-936d-58f82aabdb7f",
"w": 4,
"x": 16,
"w": 5,
"x": 14,
"y": 9
},
"panelIndex": "8aded3de-be0e-42ca-936d-58f82aabdb7f",
Expand Down Expand Up @@ -1065,7 +1072,7 @@
"preferredSeriesType": "bar_stacked",
"title": "Empty XY chart",
"valueLabels": "hide",
"yTitle": "Number of errors"
"yTitle": "Errors"
}
},
"title": "",
Expand Down Expand Up @@ -1313,7 +1320,7 @@
"query": "aws_bedrock.runtime.model_id : * "
},
"isBucketed": false,
"label": "Number of throttled invocations",
"label": "Throttled invocations",
"operationType": "sum",
"params": {
"emptyAsNull": true
Expand Down Expand Up @@ -1377,13 +1384,13 @@
],
"legend": {
"isVisible": true,
"legendStats": [],
"position": "right",
"shouldTruncate": false
},
"preferredSeriesType": "bar_stacked",
"title": "Empty XY chart",
"valueLabels": "hide",
"valuesInLegend": false
"valueLabels": "hide"
}
},
"title": "",
Expand Down Expand Up @@ -1584,14 +1591,14 @@
],
"legend": {
"isVisible": true,
"legendStats": [],
"position": "right",
"shouldTruncate": false
},
"preferredSeriesType": "bar_stacked",
"title": "Empty XY chart",
"valueLabels": "hide",
"valuesInLegend": false,
"yTitle": "Number of tokens"
"yTitle": "Tokens"
}
},
"title": "",
Expand Down Expand Up @@ -1779,14 +1786,14 @@
],
"legend": {
"isVisible": true,
"legendStats": [],
"position": "right",
"shouldTruncate": false
},
"preferredSeriesType": "bar_stacked",
"title": "Empty XY chart",
"valueLabels": "hide",
"valuesInLegend": false,
"yTitle": "Number of tokens"
"yTitle": "Tokens"
}
},
"title": "",
Expand Down Expand Up @@ -1965,14 +1972,14 @@
],
"legend": {
"isVisible": true,
"legendStats": [],
"position": "right",
"shouldTruncate": false
},
"preferredSeriesType": "bar_stacked",
"title": "Empty XY chart",
"valueLabels": "hide",
"valuesInLegend": false,
"yTitle": "Number of images"
"yTitle": "Images"
}
},
"title": "",
Expand Down Expand Up @@ -2136,14 +2143,14 @@
],
"legend": {
"isVisible": true,
"legendStats": [],
"position": "right",
"shouldTruncate": false
},
"preferredSeriesType": "bar_stacked",
"title": "Empty XY chart",
"valueLabels": "hide",
"valuesInLegend": false,
"yTitle": "Number of images"
"yTitle": "Images"
}
},
"title": "",
Expand Down Expand Up @@ -2745,7 +2752,7 @@
"version": 2
},
"coreMigrationVersion": "8.8.0",
"created_at": "2025-01-23T02:17:22.085Z",
"created_at": "2025-01-28T12:46:17.825Z",
"id": "aws_bedrock-2a19b571-251b-487b-84b2-abd887efb8a4",
"managed": false,
"references": [
Expand Down Expand Up @@ -2851,6 +2858,5 @@
}
],
"type": "dashboard",
"typeMigrationVersion": "10.2.0",
"updated_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0"
"typeMigrationVersion": "10.2.0"
}
10 changes: 5 additions & 5 deletions packages/aws_bedrock/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: aws_bedrock
title: Amazon Bedrock
description: Collect Amazon Bedrock model invocation logs and runtime metrics with Elastic Agent.
type: integration
version: "0.22.0"
version: "0.22.1"
categories:
- aws
- cloud
Expand Down Expand Up @@ -31,23 +31,23 @@ policy_templates:
screenshots:
- src: /img/aws_bedrock_invocation.png
title: Runtime metrics
size: 1917x817
size: 1518x873
type: image/png
- src: /img/aws_bedrock_chat_image.png
title: Text and chat metrics
size: 1919x621
size: 1489x645
type: image/png
- src: /img/aws_bedrock_logs.png
title: Invocation logs
size: 3688x2216
type: image/png
- src: /img/amazon_bedrock_guardrails_overview.png
title: Guardrails Overview
size: 3224x2326
size: 1391x999
type: image/png
- src: /img/amazon_bedrock_guardrails_invocation_details.png
title: Guardrails Overview
size: 3284x2182
size: 1456x999
type: image/png
icons:
- src: "/img/icon.svg"
Expand Down

0 comments on commit 4ea84a1

Please sign in to comment.