Skip to content

Constant Value for Pipeline Aggregation #198

@jfeldman325

Description

@jfeldman325

Is your feature request related to a problem? Please describe

Very often in order to avoid blowing up prometheus metrics affinity you want to utilize an info metrics which contains the majority of labels which are joined on by other metrics. Decent summary here, at the moment there is no documented way of providing a constant value instead of selecting the value from the result

Describe the solution you'd like

A direct way to set a fixed value, for example:

  - name:  job_info
      type: constant
      help: "Deadline job information"
      value: 1
      labels: ["_id","group","pool","priority","user","batch","name"]

Describe alternatives you've considered

It seems possible to create a seperate aggregation which returns a fixed value field, but that seems like a hack overall.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions