Skip to content

Commit 1823864

Browse files
authored
Merge pull request #89107 from skrthomas/no-1.8-integration
No 1.8 integration
2 parents 04fb582 + f100240 commit 1823864

9 files changed

+612
-100
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * observability/network_observability/netobserv_cli/netobserv-cli-using.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="network-observability-cli-capturing-metrics_{context}"]
7+
= Capturing metrics
8+
You can generate on-demand dashboards in Prometheus by using a service monitor for Network Observability.
9+
10+
.Prerequisites
11+
* Install the {oc-first}.
12+
* Install the Network Observability CLI (`oc netobserv`) plugin.
13+
14+
.Procedure
15+
. Capture metrics with filters enabled by running the following command:
16+
+
17+
.Example output
18+
[source,terminal]
19+
----
20+
$ oc netobserv metrics --enable_filter=true --cidr=0.0.0.0/0 --protocol=TCP --port=49051
21+
----
22+
. Open the link provided in the terminal to view the *NetObserv / On-Demand* dashboard:
23+
+
24+
.Example URL
25+
[source,terminal]
26+
----
27+
https://console-openshift-console.apps.rosa...openshiftapps.com/monitoring/dashboards/netobserv-cli
28+
----
29+
+
30+
[NOTE]
31+
====
32+
Features that are not enabled present as empty graphs.
33+
====

0 commit comments

Comments
 (0)