8000 [Documentation/Feature Request] write_prometheus add arbitrary labels on a per metric basis. · Issue #2995 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Documentation/Feature Request] write_prometheus add arbitrary labels on a per metric basis. #2995
Open
@SleepyBrett

Description

@SleepyBrett
  • Version of collectd
    collectd/write_prometheus 5.8.0.145.gca1cb27

  • Operating system / distribution:
    Ubuntu Xenial (containerized if it matters)

  • Kernel version (if applicable):
    N/A

Expected behavior

I have a piece of software that exposes metrics on a json endpoint which I am scraping w/ curl_json.

Some of the metrics constitute what would be a bundle of histogram metrics in prometheus. One of the elements being a series of timeseries that contain different counts or different timing buckts like so:
something_duration_seconds_bucket{le="5"}

(where le is the differentiator)

You documentation for curl_json and write_prometheus doesn't make it clear if I can, or how I would be able to add an arbitrary label/tag to a particular type.

So this is either a feature request (I would very much like to do this, please!) or just a "How do I do this, maybe the documentation could be improved on this point"

Thanks!

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

      0