Skip to content

Commit

Permalink
Merge pull request #191 from Dost2010/main
Browse files Browse the repository at this point in the history
amba monitoring update for azure load balancer
  • Loading branch information
JoeyBarnes authored Apr 15, 2024
2 parents 0cc3409 + b29a6df commit 0efbcb3
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 64 deletions.
4 changes: 4 additions & 0 deletions docs/layouts/_default/_markup/render-codeblock-mermaid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<pre class="mermaid">
{{- .Inner | safeHTML }}
</pre>
{{ .Page.Store.Set "hasMermaid" true }}
4 changes: 2 additions & 2 deletions docs/themes/hugo-geekdoc/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Geekdoc

[![Build Status](https://img.shields.io/drone/build/thegeeklab/hugo-geekdoc?logo=drone&server=https%3A%2F%2Fdrone.thegeeklab.de)](https://drone.thegeeklab.de/thegeeklab/hugo-geekdoc)
[![Build Status](https://img.shields.io/drone/build/thegeeklab/hugo-geekdoc?logo=drone&server=https%3A%2F%2Fdrone.thegeeklab.de)]
[![Hugo Version](https://img.shields.io/badge/hugo-0.93-blue.svg)](https://gohugo.io)
[![GitHub release](https://img.shields.io/github/v/release/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/releases/latest)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/graphs/contributors)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE)

Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of good alternatives out there. You can find a demo and the full documentation at [https://geekdocs.de](https://geekdocs.de).
Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of good alternatives out there. You can find a demoand the full documentation at [https://geekdocs.de](https://geekdocs.de).

![Desktop and mobile preview](https://raw.githubusercontent.com/thegeeklab/hugo-geekdoc/main/images/readme.png)

Expand Down
40 changes: 39 additions & 1 deletion services/Network/loadBalancers/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,42 @@ geekdocCollapseSection: true
geekdocHidden: false
---

{{< alertList name="alertList" >}}
Load Balancer Monitoring Design

```mermaid
flowchart LR
A[Performance Monitoring]-->B[Bandwidth Usage Analysis]
A-->C[Session Analysis]
A-->D[Response Time Analysis]
B-->R2[Bytecount]
B-->R13[Packetcount]
C-->R3[SnatconnectionCount]
C-->R4[DipAvailability]
D-->PM[Use Network Performance Monitor]
A-->CA[Connectivity Analysis]
CA-->CNN[Concurrent Connection]
CA-->NC[New Connection]
CA-->CE[Connection Error Rate]
CNN-->R5[Allocatedsnatports]
CNN-->R6[Usedsnartports]
NC-->R7[SnatconnectionCount]
CE-->R8[SyncCount]
AA[Availability Analysis]-->HC[Backend availability]
AA-->FOD[Failover Detection]
AA-->AR[Load Balancer Availability]
HC-->R10[DipAvailability]
FOD-->R11[HealthProbLog]
AR-->R12[VipAvailability]
```

{{< alertList name="alertList" >}}

{{ if .Store.Get "hasMermaid" }}
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true });
</script>
{{ end }}
102 changes: 41 additions & 61 deletions services/Network/loadBalancers/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,104 +128,84 @@
properties:
scope: Resource
multiResource: false
- name: DipAvailability
description: Average Load Balancer health probe status per time duration
- name: SnatConnectionCount
description: Total number of new SNAT connections created within time period
type: Metric
verified: false
visible: true
tags:
- auto-generated
- agc-62990
- agc-3226
properties:
metricName: DipAvailability
metricName: SnatConnectionCount
metricNamespace: Microsoft.Network/loadBalancers
severity: 3
severity: 1
windowSize: PT5M
evaluationFrequency: PT1M
timeAggregation: Average
operator: LessThan
evaluationFrequency: PT5M
timeAggregation: Total
operator: GreaterThan
criterionType: StaticThresholdCriterion
threshold: 51.0
- name: VipAvailability
description: Average Load Balancer data path availability per time duration
dimensions:
- operator: include
name: connectionstate
values:
- failed
threshold: 0.0
autoMitigate: false
- name: Byte Count
description: Total number of bytes passing through load balancer
type: Metric
verified: false
visible: true
tags:
- auto-generated
- agc-7718
properties:
metricName: VipAvailability
metricName: Bytecount
metricNamespace: Microsoft.Network/loadBalancers
severity: 2
severity: 1
windowSize: PT5M
evaluationFrequency: PT1M
timeAggregation: Average
operator: LessThan
timeAggregation: Total
criterionType: StaticThresholdCriterion
threshold: 50.0
- name: SnatConnectionCount
description: Total number of new SNAT connections created within time period
autoMitigate: false
- name: Packet Count
description: total number of packet passing through load balancer
type: Metric
verified: false
visible: true
tags:
- auto-generated
- agc-3226
properties:
metricName: SnatConnectionCount
metricName: PacketCount
metricNamespace: Microsoft.Network/loadBalancers
severity: 1
windowSize: PT5M
evaluationFrequency: PT5M
evaluationFrequency: PT1M
timeAggregation: Total
operator: GreaterThan
criterionType: StaticThresholdCriterion
dimensions:
- operator: include
name: connectionstate
values:
- failed
threshold: 0.0
- name: UsedSnatPorts
description: Total number of SNAT ports used within time period
autoMitigate: false
- name: Allocated Snat Ports
description: total number of port allocated for SNAT
type: Metric
verified: false
visible: true
tags:
- auto-generated
- agc-1837
properties:
metricName: UsedSnatPorts
metricName: AllocatedSnartPorts
metricNamespace: Microsoft.Network/loadBalancers
severity: 2
severity: 1
windowSize: PT5M
evaluationFrequency: PT1M
timeAggregation: Average
operator: GreaterThan
criterionType: StaticThresholdCriterion
dimensions:
- operator: include
name: backendipaddress
values:
- '*'
threshold: 900.0
- name: GlobalBackendAvailability
description: Azure Cross-region Load Balancer backend health and status per time
duration
autoMitigate: false
- name: SYN Count
description: number of syn packet which represent an attempt to establish tcp connection.
type: Metric
verified: false
visible: true
tags:
- auto-generated
- agc-262
properties:
metricName: GlobalBackendAvailability
metricName: SYNCount
metricNamespace: Microsoft.Network/loadBalancers
severity: 3
windowSize: PT30M
evaluationFrequency: PT5M
timeAggregation: Average
operator: LessThan
severity: 1
windowSize: PT5M
evaluationFrequency: PT1M
timeAggregation: Total
criterionType: StaticThresholdCriterion
threshold: 0.6
autoMitigate: false


0 comments on commit 0efbcb3

Please sign in to comment.