<#4214 Expose config for enabling grpc prometheus ...
# flyte-github
a
#4214 Expose config for enabling grpc prometheus histograms Issue created by andrewwdye Motivation: Why do you think this is important? We integrate go-grpc-prometheus for grpc api metrics, but by default handling-time histograms are disabled. See https://github.com/grpc-ecosystem/go-grpc-prometheus#histograms. We should add a flag to admin and other services to optionally turn these on. Goal: What should the final outcome look like, ideally? Simple service config option to enable histograms, which would instruct the service to call
EnableHandlingTimeHistogram()
when setting up grpc middleware. Describe alternatives you've considered A bunch of apis and internal functions are wrapped with StopWatch metrics. These provide pre-computed quantile latencies, which cannot be aggregated across service instances. Propose: Link/Inline OR Additional context No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte