Bug 2059470
Summary: | Unable to connect external Grafana with Openshift Monitoring | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Arunprasad Rajkumar <arajkuma> |
Component: | Monitoring | Assignee: | Arunprasad Rajkumar <arajkuma> |
Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.10 | CC: | amuller, anpicker, aos-bugs, erooth, juzhao |
Target Milestone: | --- | ||
Target Release: | 4.9.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 2059468 | Environment: | |
Last Closed: | 2022-03-21 12:30:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2059468 | ||
Bug Blocks: |
Description
Arunprasad Rajkumar
2022-03-01 06:27:36 UTC
tested with openshift/cluster-monitoring-operator/pull/1549, followed the same steps in Comment 1, `/api/v1/series` is supported by the namespace scoped Thanos endpoint 9092 # curl -k -H "Authorization: Bearer $token" 'https://localhost:9092/api/v1/series?match%5B%5D=up&namespace=ns1' | jq { "status": "success", "data": [ { "__name__": "up", "endpoint": "web", "instance": "10.128.2.26:8080", "job": "prometheus-example-app", "namespace": "ns1", "pod": "prometheus-example-app-8659789999-khnc8", "prometheus": "openshift-user-workload-monitoring/user-workload", "service": "prometheus-example-app" } ] } # oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" 'https://localhost:9092/api/v1/series?namespace=ns1' | jq { "status": "success", "data": [ { "__name__": "ALERTS", "alertname": "TestAlert", "alertstate": "firing", "namespace": "ns1", "severity": "none" }, ... Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.9.25 bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:0861 |