Skip to content

[BUG] gauge:<value:1.512540839e+09 > was collected before with the same name and label values #753

@regardfs

Description

@regardfs

I use textfile-exporter to get metrics from textfile, and got below errors times and times:

time="2017-12-06T06:15:36Z" level=error msg="error gathering metrics: 12 error(s) occurred:\n* [from Gatherer #1]
[from Gatherer #1]
[from Gatherer #1]
[from Gatherer #1]
collected metric slb_LoadBalancerStatus
label:<name:"slb_Address" value:"192.168.66.1" >
label:<name:"slb_AddressType" value:"internet" >
label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" >
label:<name:"slb_Name" value:"cr-public-slb-prod-3" >
gauge:<value:1 > was collected before with the same name and label values\n*
[from Gatherer #1]
[from Gatherer #1]
[from Gatherer #1]
[from Gatherer #1]
collected metric node_textfile_mtime
label:<name:"file" value:"1.prom" >
gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1]
[from Gatherer #1]
[from Gatherer #1]
[from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n*
[from Gatherer #1]
[from Gatherer #1]
[from Gatherer #1] collected metric slb_LoadBalancerStatus
label:<name:"slb_Address" value:"192.168.66.1" >
label:<name:"slb_AddressType" value:"internet" >
label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" >
abel:<name:"slb_Name" value:"cr-public-slb-prod-3" >
gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n" source=":38"
textfile_exporter | time="2017-12-06T06:15:39Z" level=error msg="error gathering metrics: 15 error(s) occurred:\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n" source=":38"
textfile_exporter | time="2017-12-06T06:15:51Z" level=error msg="error gathering metrics: 18 error(s) occurred:\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric slb_LoadBalancerStatus label:<name:"slb_Address" value:"192.168.66.1" > label:<name:"slb_AddressType" value:"internet" > label:<name:"slb_Id" value:"lb-uf6g8rpm66rjy6fo0ngd9" > label:<name:"slb_Name" value:"cr-public-slb-prod-3" > gauge:<value:1 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric node_textfile_mtime label:<name:"file" value:"1.prom" > gauge:<value:1.512540839e+09 > was collected before with the same name and label values\n* [from Gatherer #1] collected metric node_textfile_scrape_error gauge:<value:0 > was collected before with the same name and label values\n" source=":38"
^CGracefully stopping... (press Ctrl+C again to force)

It seems a bug, both tag 0.15.1/0 report this error message, but 0.14.0 works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions