Skip to content

Commit

Permalink
Style things (Squash)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynnemonahan committed Jun 28, 2023
1 parent 2747ba5 commit 8f7837b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/ossm-integrating-with-user-workload-monitoring.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The following steps show how to integrate Service Mesh with User-Workload Monito
.Procedure

. Enable monitoring in user-defined projects.
+
[source,yaml]
----
apiVersion: v1
Expand All @@ -25,9 +26,9 @@ data:
config.yaml: |
enableUserWorkload: true
----

. Disable installation of the default Prometheus provided by the OSSM, configure Prometheus extension provider and disable managing network policies by service mesh to not block ingress traffic from external Prometheus.
+
. Disable installation of the default Prometheus provided by the OSSM, configure Prometheus extension provider and
disable managing network policies by service mesh to not block ingress traffic from external Prometheus.
[source,yaml]
----
apiVersion: maistra.io/v2
Expand All @@ -46,8 +47,9 @@ spec:
security:
manageNetworkPolicy: false
----
+

. Apply a Telemetry object to enable traffic metrics in Istio proxies.
+
[source,yaml]
----
apiVersion: telemetry.istio.io/v1alpha1
Expand All @@ -68,6 +70,7 @@ You can also apply this object only in selected namespaces or to selected worklo
====

. Apply a ServiceMonitor to monitor Istio control plane.
+
[source,yaml]
----
apiVersion: monitoring.coreos.com/v1
Expand All @@ -85,8 +88,9 @@ spec:
- port: http-monitoring
interval: 30s
----
+

. Apply a PodMonitor to collect metrics from Istio proxies.
+
[source,yaml]
----
apiVersion: monitoring.coreos.com/v1
Expand Down

0 comments on commit 8f7837b

Please sign in to comment.