tektoncd / results

Long term storage of execution results.
Apache License 2.0
77 stars 74 forks source link

Add option to enable prometheus histogram #511

Closed sayan-biswas closed 1 year ago

sayan-biswas commented 1 year ago

Adds a config option PROMETHEUS_HISTOGRAM to enable prometheus histogram for the gRPC server. This records metrics to calculate request latency distributions.

resolves #510

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you review them:

Release Notes

api: Config option `PROMETHEUS_HISTOGRAM` added to enable histograms (disabled by default).
enarha commented 1 year ago

/approve Please add /kind label. Personally I'm considering this a feature, but I'm leaving it to you to decide. My only question is if we really need the action required here? With the default option being disabled, users do not strictly require to do anything. They do need to set the configuration option to enable the functionality, but doing nothing changes/breaks nothing.

sayan-biswas commented 1 year ago

@enarha Removed "action required". Added kind label to miscellaneous as this change is not much of a feature, and more of enabling a feature which was already there.

tekton-robot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adambkaplan, enarha

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/tektoncd/results/blob/main/OWNERS)~~ [adambkaplan,enarha] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
adambkaplan commented 1 year ago

/kind feature

enarha commented 1 year ago

/lgtm