Bug 1321349
| Summary: | OpenShift nodes metrics missing machine prefix | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Federico Simoncelli <fsimonce> |
| Component: | Hawkular | Assignee: | Matt Wringe <mwringe> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | chunchen <chunchen> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | agoldste, aos-bugs, fsimonce, wsun |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-12 17:13:36 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
Federico Simoncelli
2016-03-25 17:31:09 UTC
@Federico is this really for OSE or origin? Also, can you please explain why you are directly trying to derive the resource id? The resource id should be opaque, you should not be directly trying to calculate them but instead be performing a query based on the criteria that you are wanting PR submitted: https://github.com/kubernetes/heapster/pull/1116 Will update origin-metrics once it is merged origin-metrics has been updated It's fixed, the images built from the latest source repo, please refer to the below messages: [chunchen@F17-CCY scripts]$ oc rsh hawkular-metrics-qxlh1 sh-4.2$ curl -k -H "Authorization: Bearer <user-token>" -H "Hawkular-Tenant: _system" https://172.30.37.211/hawkular/metrics/metrics?tags=group_id:/cpu/usage |python -mjson.tool [ { "dataRetention": 7, "id": "machine/ip-172-18-6-225.ec2.internal/cpu/usage", "tags": { "descriptor_name": "cpu/usage", "group_id": "/cpu/usage", "host_id": "ip-172-18-6-225.ec2.internal", "hostname": "ip-172-18-6-225.ec2.internal", "nodename": "ip-172-18-6-225.ec2.internal", "type": "node", "units": "ns" }, "tenantId": "_system", "type": "counter" } ] |