Skip to content

request help: any methods to remove leading and trailing zeros for histrogram buckets #118

Closed
@Yiyiyimu

Description

@Yiyiyimu

Hi @knyar thanks for this repo. It's so great!

One problem is, when I have a lot of buckets, say

local DEFAULT_BUCKETS = { 1, 2, 5, 7, 10, 15, 20, 25, 30, 40, 50, 60, 70,
    80, 90, 100, 200, 300, 400, 500, 1000,
    2000, 5000, 10000, 30000, 60000
}

I'll get the grafana panel like this and it's quite annoying.
image

I get the reason for add those zeros, but since grafana does not support formatting legends(buckets), is there any method to remove those zeros?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions