Skip to content

Prometheus "Error scraping target" while reading /metrics #416

@nodje

Description

@nodje

I'm using Scaphandre with latest docker image, deployed on a baremetal hypervisor (Truenas 25.04)
with command being ['prometheus','--qemu']

Prometheus returns a scrape error:
Error scraping target: label_value_length_limit exceeded (metric: scaph_process_disk_write_bytes, label name: cmdline, value: "/usr/bin/qemu-system-x86_64-nameguest=8_ubuntudock", length: 4478, limit: 200)

Looking into /metris, this value returns, as shown by the very high 4478 figure, an amazing amount of information that seems to have nothing to do with scaph_process_disk_total_write_bytes

I guess I could simply override the 200 limit for the scapahandre scrape, but is this really expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions