Bug 2059468
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 | |
Target Milestone: | --- | |||
Target Release: | 4.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2059470 (view as bug list) | Environment: | ||
Last Closed: | 2022-03-16 11:12:06 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 2059470 |
Description
Arunprasad Rajkumar
2022-03-01 06:14:48 UTC
This has been already fixed in [1] [2] [1] https://github.com/openshift/cluster-monitoring-operator/pull/1519 [2] https://github.com/openshift/cluster-monitoring-operator/pull/1299 checked with 4.10.0-0.nightly-2022-03-05-023708, thanos-querier now supported /api/v1/series, # oc -n openshift-monitoring get deploy thanos-querier -oyaml ... - --allow-paths=/api/v1/query,/api/v1/query_range,/api/v1/labels,/api/v1/label/*/values,/api/v1/series - --tls-min-version=VersionTLS12 image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:bde2a3cf16e475f514b6a0360a5d7de04a4e0a7f9792f1c3a264f4c347ce19ca imagePullPolicy: IfNotPresent name: kube-rbac-proxy # oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" 'https://thanos-querier.openshift-monitoring.svc:9092/api/v1/series?match[]=scrape_series_added&namespace=openshift-console' | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 523 100 523 0 0 13075 0 --:--:-- --:--:-- --:--:-- 13075 { "status": "success", "data": [ { "__name__": "scrape_series_added", "container": "console", "endpoint": "https", "instance": "10.128.0.52:8443", "job": "console", "namespace": "openshift-console", "pod": "console-5fd958c49-jgp59", "prometheus": "openshift-monitoring/k8s", "service": "console" }, { "__name__": "scrape_series_added", "container": "console", "endpoint": "https", "instance": "10.130.0.136:8443", "job": "console", "namespace": "openshift-console", "pod": "console-5fd958c49-5xw5g", "prometheus": "openshift-monitoring/k8s", "service": "console" } ] 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.10.4 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:0811 |