You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/application-gateway/for-containers/prometheus-grafana.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ You can monitor Azure Application Gateway for Containers resources in the follow
21
21
22
22
-[Diagnostic Logs](../../application-gateway/for-containers/diagnostics.md): Access Logs audit all requests made to Application Gateway for Containers. Logs can provide several characteristics, such as the client's IP, requested URL, request latencies, return code, and bytes in and out. An access log is collected every 60 seconds.
23
23
24
-
[](./media/prometheus-grafana/article-drawio.png#lightbox)
24
+
[](./media/prometheus-grafana/design-arch.png#lightbox)
25
25
26
26
## Learn About the Services
27
27
-[What is Azure Managed Prometheus?](../../azure-monitor/essentials/prometheus-metrics-overview.md)
@@ -54,15 +54,16 @@ Complete the steps to configure prometheus and grafana.
54
54
1. Sign in to the [Azure portal](https://portal.azure.com) with your Azure account.
55
55
2. In **Search resources, service, and docs**, type **Application Gateways for Containers** and select your Kubernetes Cluster name.
56
56
57
-
](./media/prometheus-grafana/configure.png#lightbox)
57
+
[](./media/prometheus-grafana/configure.png#lightbox)
58
58
59
59
3. Under insights and select **Configure Monitoring**.
60
60
61
-

61
+
[](./media/prometheus-grafana/grafana-container.png#lightbox)
62
+
62
63
Create new instances of Log analytics, Azure Monitor (Prometheus), and Managed Grafana to store current Kubernetes cluster metrics.
63
64
4. In **Search resources, service, and docs**, type **Managed Prometheus** and select.
64
65
65
-
](./media/prometheus-grafana/managed-prometheus.png#lightbox)
66
+
[](./media/prometheus-grafana/managed-prometheus.png#lightbox)
66
67
67
68
5. Follow the steps to enable Azure Monitor to enable Managed Prometheus service by selecting **Create**.
68
69
6. Create Azure Monitor Workspace Instance:
@@ -88,7 +89,7 @@ Complete the steps to configure prometheus and grafana.
88
89
- In **Search resources, service, and docs**, type**Azure Monitor**.
89
90
- Select your monitor workspace.
90
91
- Select **Linked Grafana Workspaces**.
91
-

92
+

92
93
9. Select a Grafana workspace.
93
94
10. Select **Link**.
94
95
@@ -108,7 +109,7 @@ We created the resources and now we combine all resources and configure promethe
108
109
- Select **“Configure”**.
109
110
> [!NOTE]
110
111
> Check forama-metrics under workloadsin your kubernetes cluster.
111
-
>](./media/prometheus-grafana/notesimage.png#lightbox)
112
+
>[ ](./media/prometheus-grafana/notes-image.png#lightbox)
112
113
113
114
## Enable diagnostic logs for Application Gateway for Containers
114
115
Activity logging is automatically enabled forevery Resource Manager resource. For Access Logs, you must enable access logging to start collecting the data available through those logs. To enable logging, you may configure diagnostic settingsin Azure Monitor.
@@ -118,7 +119,7 @@ Activity logging is automatically enabled for every Resource Manager resource. F
118
119
1. Enter **Application Gateway forContainers**in the search box. Select your active Application Gateway for Container resource.
119
120
2. Search and selectDiagnostic Setting under Monitoring. Add diagnostic setting.
120
121
3. Select a name, check box **allLogs** which includes the Application Gateway for Container Access Logs, and select**Send to Log analytics Workspace** with your desired subscription and recently made log analytics workspace.
121
-
](./media/prometheus-grafana/logsall.png#lightbox)
122
+
[](./media/prometheus-grafana/logs-all.png#lightbox)
122
123
123
124
3. Select **Save**.
124
125
@@ -128,7 +129,7 @@ In this section, we enter Grafana default dashboards.
128
129
1. In **Search resources, service, and docs**, selectyour**Managed Grafana**.
129
130
2. Select the grafana resource used forconfiguring monitoringin the cluster.
130
131
3. Select on Endpoint URL in the overview.
131
-

132
+

132
133
133
134
4. After entering your user credentials, refer to the Grafana introduction.
134
135
5. Select on the left side bar to access default dashboards under dashboards.
@@ -182,7 +183,7 @@ In this section, we visualize a sample logs from Log Analytics Workspace. Refer
182
183
](./media/prometheus-grafana/metrics-logs-datasource.png#lightbox)
183
184
6. Select metric namespace as microsoft.servicenetworking/trafficcontrollers.
184
185
7. Choose a metric such as **total requests** and type of data visualization.
185
-
](./media/prometheus-grafana/metrics-logs.png#lightbox)
186
+
[ ](./media/prometheus-grafana/metrics-logs.png#lightbox)
186
187
8. Select a name, description, and time range of the panel.
0 commit comments