Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

float values are rounded up to int, collectd load plugin unusable #3

@oryband

Description

@oryband

First of all - this plugin is very useful, so good job. It's also cleanly written 👍

It looks like this line converts all values to integer. This is problematic since some values reported by collectd can be floats and/or between 0 and 1.

For example, the collectd load plugin usually reports values very close to 0, and this bug causes all values to be rounded up to 0, showing as if there is no load.

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