Bug 1846857 - [4.4] error "label value was collected before with the same name and label values" in node-exporter pod's log
Summary: [4.4] error "label value was collected before with the same name and label va...
Keywords:
Status: CLOSED DUPLICATE of bug 1847961
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.4.z
Assignee: Pawel Krupa
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On: 1803058
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-15 06:15 UTC by Junqi Zhao
Modified: 2020-06-17 12:52 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1803058
Environment:
Last Closed: 2020-06-17 12:52:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Junqi Zhao 2020-06-15 06:18:17 UTC
Tested with 4.4.0-0.nightly-2020-06-14-142924, we need back-port the fix to 4.4.z
# oc -n openshift-monitoring logs -c node-exporter node-exporter-9zv4p | grep "was collected before with the same name and label values"
time="2020-06-15T06:16:18Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric \"virt_platform\" { label:<name:\"type\" value:\"aws\" > gauge:<value:1 > } was collected before with the same name and label values\n" source="log.go:172"
time="2020-06-15T06:16:28Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric \"virt_platform\" { label:<name:\"type\" value:\"aws\" > gauge:<value:1 > } was collected before with the same name and label values\n" source="log.go:172"
time="2020-06-15T06:16:33Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric \"virt_platform\" { label:<name:\"type\" value:\"aws\" > gauge:<value:1 > } was collected before with the same name and label values\n" source="log.go:172"
time="2020-06-15T06:16:43Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric \"virt_platform\" { label:<name:\"type\" value:\"aws\" > gauge:<value:1 > } was collected before with the same name and label values\n" source="log.go:172"
time="2020-06-15T06:16:48Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric \"virt_platform\" { label:<name:\"type\" value:\"aws\" > gauge:<value:1 > } was collected before with the same name and label values\n" source="log.go:172"
time="2020-06-15T06:16:58Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric \"virt_platform\" { label:<name:\"type\" value:\"aws\" > gauge:<value:1 > } was collected before with the same name and label values\n" source="log.go:172"


# oc -n openshift-monitoring exec -c node-exporter node-exporter-9zv4p -- cat /var/node_exporter/textfile/virt.prom
# HELP virt_platform reports one series per detected virtualization type. If no type is detected, the type is "none".
# TYPE virt_platform gauge
virt_platform{type="xen"} 1
virt_platform{type="xen-hvm"} 1
virt_platform{type="aws"} 1
virt_platform{type="aws"} 1

Comment 2 Pawel Krupa 2020-06-17 12:52:20 UTC

*** This bug has been marked as a duplicate of bug 1847961 ***


Note You need to log in before you can comment on or make changes to this bug.