Skip to content

Classic Incorrect Label Values Problem #88

@Smithx10

Description

@Smithx10

After a discussion with SuperQ on IRC he concluded the following:

There are labels for "percent", "total", "free", and "used". This makes using Prometheus harder.

If they correctly used the metric, it would look like this:

(mesos_master_allocator_resources_free_cpus + mesos_master_allocator_resources_used_cpus) and mesos_master_elected == 1

At a minimum, they should just delete the percent and total so you could do it this way:

sum without (type) (mesos_master_allocator_resources_cpus) and mesos_master_elected == 1

I guess the request is to follow prometheus exporter best practices.

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