Skip to content

Commit

Permalink
Merge branch 'Azure:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunoga-MS authored Nov 4, 2024
2 parents cf7c301 + ec4488f commit 0757251
Show file tree
Hide file tree
Showing 73 changed files with 6,149 additions and 239 deletions.
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/amba-alz-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: AMBA - ALZ Pattern Issue 🚀
description: Have an issue, question or suggestion for the AMBA ALZ Pattern? Let us know!
title: "[General workload issue]: "
assignees:
- arjenhuitema
labels:
[
"Pattern: ALZ"
]
body:
- type: markdown
attributes:
value: |
Thank you for submitting this issue!
- type: checkboxes
id: existing-checks
attributes:
label: Check for previous/existing GitHub issues
description: By submitting this issue, you confirm that you have [searched for previous/existing GitHub issues](https://github.com/Azure/azure-monitor-baseline-alerts/issues) to avoid creating a duplicate.
options:
- label: I have checked for previous/existing GitHub issues
required: true
- type: dropdown
id: issue-type
attributes:
label: Issue Type?
description: How would you best describe this issue? Is this a...
options:
- "Feature Request"
- "Bug"
- "Question"
- "Other"
validations:
required: true
- type: textarea
id: question-feedback-text
attributes:
label: Description
description: Let us know your question, feedback or suggestion here!
validations:
required: true

42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/amba-avd-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: AMBA - AVD Pattern Issue 🚀
description: Have an issue, question or suggestion for the AMBA AVD Pattern? Let us know!
title: "[General workload issue]: "
assignees:
- JCoreMS
labels:
[
"Pattern: AVD"
]
body:
- type: markdown
attributes:
value: |
Thank you for submitting this issue!
- type: checkboxes
id: existing-checks
attributes:
label: Check for previous/existing GitHub issues
description: By submitting this issue, you confirm that you have [searched for previous/existing GitHub issues](https://github.com/Azure/azure-monitor-baseline-alerts/issues) to avoid creating a duplicate.
options:
- label: I have checked for previous/existing GitHub issues
required: true
- type: dropdown
id: issue-type
attributes:
label: Issue Type?
description: How would you best describe this issue? Is this a...
options:
- "Feature Request"
- "Bug"
- "Question"
- "Other"
validations:
required: true
- type: textarea
id: question-feedback-text
attributes:
label: Description
description: Let us know your question, feedback or suggestion here!
validations:
required: true

42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/amba-avs-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: AMBA - AVS Pattern Issue 🚀
description: Have an issue, question or suggestion for the AMBA AVS Pattern? Let us know!
title: "[General workload issue]: "
assignees:
- Mahesh-MSFT
labels:
[
"Pattern: AVS"
]
body:
- type: markdown
attributes:
value: |
Thank you for submitting this issue!
- type: checkboxes
id: existing-checks
attributes:
label: Check for previous/existing GitHub issues
description: By submitting this issue, you confirm that you have [searched for previous/existing GitHub issues](https://github.com/Azure/azure-monitor-baseline-alerts/issues) to avoid creating a duplicate.
options:
- label: I have checked for previous/existing GitHub issues
required: true
- type: dropdown
id: issue-type
attributes:
label: Issue Type?
description: How would you best describe this issue? Is this a...
options:
- "Feature Request"
- "Bug"
- "Question"
- "Other"
validations:
required: true
- type: textarea
id: question-feedback-text
attributes:
label: Description
description: Let us know your question, feedback or suggestion here!
validations:
required: true

42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/amba-workload-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: AMBA - General workload Issue 🚀
description: Have an issue, question or suggestion for a specific workload alert or for the overall project? Let us know!
title: "[General workload issue]: "
assignees:
- JoeyBarnes
labels:
[
"AMBA Core"
]
body:
- type: markdown
attributes:
value: |
Thank you for submitting this issue!
- type: checkboxes
id: existing-checks
attributes:
label: Check for previous/existing GitHub issues
description: By submitting this issue, you confirm that you have [searched for previous/existing GitHub issues](https://github.com/Azure/azure-monitor-baseline-alerts/issues) to avoid creating a duplicate.
options:
- label: I have checked for previous/existing GitHub issues
required: true
- type: dropdown
id: issue-type
attributes:
label: Issue Type?
description: How would you best describe this issue? Is this a...
options:
- "Feature Request"
- "Bug"
- "Question"
- "Other"
validations:
required: true
- type: textarea
id: question-feedback-text
attributes:
label: Description
description: Let us know your question, feedback or suggestion here!
validations:
required: true

24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/question_feedback.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/unit-test-arm-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
continue-on-error: true
- name: Check for failed tests
id: check_fail
if: steps.run_tests.conclusion == 'success'
shell: pwsh
run: |
echo "Number of failed tests: ${{ env.failtests }}"
Expand Down
2 changes: 1 addition & 1 deletion docs/content/patterns/artificial intelligence/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Running AI workloads on Azure infrastructure involves monitoring each of the com

### AI Specialized Workload Patterns

#### GPT-RAG (coming soon)
#### [GPT-RAG](./rag/)
20 changes: 20 additions & 0 deletions docs/content/patterns/artificial intelligence/rag/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: GPT-RAG
geekdocCollapseSection: true
---

## Overview

The Retrieval-Augmented Generation (RAG) pattern is an industry-standard approach to building applications that use large language models to reason over specific or proprietary data that is not already known to the large language model.

This page provides the alert settings for AI RAG pattern setup. It contains relevant metrics and threshold recommendations for key services involved in a RAG pattern architecture.For a reference architecture design of RAG, see [GPT-RAG](https://github.com/Azure/GPT-RAG).

Below is a basic architecture of RAG implementation

![RAG Basic Architecture](https://github.com/Azure/GPT-RAG/blob/main/media/architecture-GPT-RAG-Basic.png?raw=true)

We may update these settings as we continue to work with a breadth of customers.

## Alerts

{{< ragMetricAlerts >}}
95 changes: 95 additions & 0 deletions docs/layouts/shortcodes/ragMetricAlerts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<div><table>
<tr>
<th>Alert Name</th>
<th>Component</th>
<th>Metric</th>
<th>Aggregation</th>
<th>Operator</th>
<th>Threshold</th>
<th>Window</th>
<th>Frequency</th>
<th>Severity</th>
<th>Scope</th>
<th>Support for Multiple Resources</th>
<th>Verified</th>
<th>References</th>
</tr>

{{ range $category, $types := $.Site.Data }}
{{ range $type, $rules := $types }}
{{ range $rules.alerts }}
{{ if or (eq .visible true) (eq $.Site.Params.ambaDevMode true) }}
{{ if and (eq .type "Metric") (in .tags "rag") }}
{{ $data := newScratch }}
{{ if isset . "deployments" }}
{{ range where .deployments "type" "Policy" }}
{{ if and (in .tags "rag") }}
{{ $data.Set "name" .name }}
{{ $data.Set "url" (relURL (path.Join "services" $category $type .template)) }}
{{ $data.Set "scope" .properties.scope }}
{{ $data.Set "multiResource" .properties.multiResource }}
{{ end }}
{{ end }}
{{ end }}
<tr>
<td>
<a href='{{ $data.Get "url" }}'>{{ $data.Get "name" }}</a>
</td>
<td>
{{ .properties.metricNamespace }}
</td>
<td>
{{ .properties.metricName }}
</td>
<td>
{{ .properties.timeAggregation }}
</td>
<td>
{{ .properties.operator }}
</td>
<td>
{{ if eq .properties.criterionType "DynamicThresholdCriterion" }}
dynamic
{{ else }}
{{ .properties.threshold }}
{{ end }}
</td>
<td>
{{ .properties.windowSize }}
</td>
<td>
{{ .properties.evaluationFrequency }}
</td>
<td>
{{ .properties.severity }}
</td>
<td>
{{ $data.Get "scope" }}
</td>
<td>
{{ if ($data.Get "multiResource") }}
Yes
{{ else }}
No
{{ end }}
</td>
<td>
{{ if .verified }}
Y
{{ else }}
N
{{ end }}
</td>
<td>
{{ range .references }}
<a href="{{ .url }}" target="_blank">{{ .name }}</a>
{{ end }}
</td>
</tr>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}

</table></div>
Loading

0 comments on commit 0757251

Please sign in to comment.