Skip to content

Multiple Prometheus instances #44

@iksaif

Description

@iksaif

I have a usecase where I want multiple prometheus instances on the same machine. With the recent support of federation, this will become more and more common.

How do you think this cookbook should support that ? It's in theory possible to create a wrapper, but a lot would have to be wrapped, mostly anything that refers to service[prometheus]

Prosition:

  • In init scripts, change name=prometheus to name=$(basename $0) (iksaif@90f58ec)
  • Change service[prometheus] to "service[prometheus" + instance "]" (defaults to "")
  • Also prepend 'instance' to the multiple paths that may be affected.

What do you think ? Is there a more idiomatic way to do that with chef ?

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