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/aks/open-service-mesh-azure-monitor.md
+2-19Lines changed: 2 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,15 +37,15 @@ For metrics to be scraped from a particular namespace monitored by the mesh, the
37
37
osm metrics enable --namespace <namespace>
38
38
```
39
39
40
-
For instance, if you are running the [bookstore demo](https://docs.openservicemesh.io/docs/getting_started/quickstart/manual_demo/), you would run the `osm metrics enable` command on the following namespaces:
40
+
For instance, if you are running the [bookstore demo](https://release-v0-11.docs.openservicemesh.io/docs/getting_started/quickstart/manual_demo/), you would run the `osm metrics enable` command on the following namespaces:
41
41
42
42
```sh
43
43
osm metrics enable --namespace bookbuyer
44
44
osm metrics enable --namespace bookstore
45
45
osm metrics enable --namespace bookthief
46
46
osm metrics enable --namespace bookwarehouse
47
47
```
48
-
## Apply ConfigMaps
48
+
## Apply ConfigMap
49
49
50
50
Create the following ConfigMap in `kube-system`, which will tell AzMon what namespaces should be monitored. For instance, for the bookbuyer / bookstore demo, the ConfigMap would look as follows:
51
51
@@ -67,23 +67,6 @@ metadata:
67
67
68
68
```
69
69
70
-
Next, a second ConfigMap needs to be created to set [monitor_kubernetes_pods to true](https://github.com/microsoft/Docker-Provider/blob/24b709f9e3c3b18779102b491fc98b87a99d1335/kubernetes/container-azm-ms-agentconfig.yaml#L72).
71
-
72
-
```yaml
73
-
kind: ConfigMap
74
-
apiVersion: v1
75
-
metadata:
76
-
name: container-azm-ms-agentconfig
77
-
namespace: kube-system
78
-
data:
79
-
schema-version: v1
80
-
config-version: ver1
81
-
prometheus-data-collection-settings: |-
82
-
[prometheus_data_collection_settings.cluster]
83
-
interval = "30s"
84
-
monitor_kubernetes_pods = true
85
-
```
86
-
87
70
## View metrics in the Azure portal
88
71
89
72
In Azure portal, select the Kubernetes cluster and then the "Logs" tab under "Monitoring." You should be now able to query the `InsightsMetrics` table to view metrics in the enabled namespaces. For instance, if you wanted to see the envoy metrics for `bookbuyer`, you would use the following query:
0 commit comments