Skip to content

Many errors when getting /metrics #100

@valvin1

Description

@valvin1

Hello,

I'm using version v0.5.0 in its docker version. I collect metrics coming from rhel6 and 7.

collectd version on rhel6 is 4.10.9-5
collectd version on rhel7 is 5.8.1-1

I had collectd_exporter working with only rhel6 for some times it looks rhel7 bring this regression.

Here is the one of the 350 errors I get when I call /metrics :

An error has occurred while serving metrics:

350 error(s) occurred:
[...]
* collected metric collectd_interface_if_errors_1_total label:<name:"instance" value:"myserver" > label:<name:"interface" value:"eth1" > counter:<value:0 >  has help "Collectd exporter: 'interface' Type: 'if_errors' Dstype: 'api.Counter' Dsname: '1'" but should have "Collectd exporter: 'interface' Type: 'if_errors' Dstype: 'api.Derive' Dsname: '1'"

it appears on many different metrics.

Collectd is configured using network plugin :

LoadPlugin network
<Plugin network>
  Server "collectd-exporter-server" "25826"
</Plugin>

I'll test to remove rhel7 server and see if it works back. I've already tries to destroy container. I was first on latest version and switch to named version v0.5.0

Does this issue is known ? Should i switch on write_http plugin for rhel7?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions