Skip to content

Comments

Fix apt.sh arch duplication (#1462)#1467

Closed
ghost wants to merge 1 commit intorelease-0.17from
unknown repository
Closed

Fix apt.sh arch duplication (#1462)#1467
ghost wants to merge 1 commit intorelease-0.17from
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Sep 2, 2019

In some cases apt.sh could output duplicated arch values causing the
following error:

Aug 29 12:12:22 host123 prometheus-node-exporter[2235]: time="2019-08-29T12:12:22Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric "apt_upgrades_pending" { label:<name:"arch" value:"Debian/Ubuntu" > label:<name:"origin" value:"PostgreSQLfor" > gauge:<value:6 > } was collected before with the same name and label values\n" source="log.go:172"

In some cases apt.sh could output duplicated arch values causing the
following error:

Aug 29 12:12:22 host123 prometheus-node-exporter[2235]: time="2019-08-29T12:12:22Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric \"apt_upgrades_pending\" { label:<name:\"arch\" value:\"Debian/Ubuntu\" > label:<name:\"origin\" value:\"PostgreSQLfor\" > gauge:<value:6 > } was collected before with the same name and label values\n" source="log.go:172"

Signed-off-by: Andrey Arapov <andrey.arapov@nixaid.com>
@discordianfish
Copy link
Member

Replaced by #1467, see comments there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant