-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
5
-
False
-
-
False
-
-
-
OBSDOCS (Jun 17 - Jul 8) #256
Description of problem:
Provide commands to verify the example given
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
Deploy the example documented here [1] [1] - https://docs.openshift.com/container-platform/4.15/observability/cluster_observability_operator/configuring-the-cluster-observability-operator-to-monitor-a-service.html#deploying-a-sample-service-for-cluster-observability-operator_configuring_the_cluster_observability_operator_to_monitor_a_service
Actual results:
we have a nice example setup
Expected results:
show the example is configuring a target, return metrics from the service
Additional info:
The following commands could be added: show the serviceMonitor has created a target: $ oc -n ns1-coo exec -c prometheus prometheus-example-coo-monitoring-stack-0 -- curl -s 'http://localhost:9090/api/v1/targets' | jq '.data.activeTargets[].discoveredLabels | select(.__meta_kubernetes_endpoints_label_app=="prometheus-coo-example-app")' return metrics from the service $ oc -n ns1-coo exec -c prometheus prometheus-example-coo-monitoring-stack-0 -- curl -s 'http://localhost:9090/api/v1/query?query=http_requests_total' | jq
- is cloned by
-
OBSDOCS-1475 [COO] Move COO to be more prominent in Observability section
- New
- links to