Bug 1631029
| Summary: | [starter-ca-central-1] container_network_receive_bytes_total not available for all namespaces | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Justin Pierce <jupierce> |
| Component: | Monitoring | Assignee: | Frederic Branczyk <fbranczy> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Junqi Zhao <juzhao> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | anpicker, brad.williams, kgeorgie, scuppett, spasquie, surbania |
| Target Milestone: | --- | ||
| Target Release: | 4.1.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-12-04 17:09:52 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: | |||
|
Description
Justin Pierce
2018-09-19 19:20:31 UTC
Can you clarify which Prometheus environment you're querying? When I query this on the central cluster: ``` sum(container_network_receive_bytes_total) by(namespace) ``` I see all namespaces, not just the cluster component namespaces. You're right.. there do appear to be some non-core namespaces. I was expecting to see far more. oc get pods --all-namespaces | grep Running | cut -f 1 -d ' ' | uniq | wc Results in 6329 atm on ca-central-1. However, in prometheus, your query results in 161 time series. Looking at the cAdvisor code, it may just be that containers from other namespaces simply have not received any network traffic: https://github.com/google/cadvisor/blob/be9cd931d724ef2aaa88e7f255ea38ebd904eaa0/metrics/prometheus.go#L633-L640 |