[helm chart] Remove prometheus chart dependency from Fission (#2371)

* Removing Prometheus dependency from fission chart
* User should install their own Prometheus installation
* Install Prometheus chart in Github CI workflow
* Change Prometheus query logging to debug

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2022-03-02 10:58:56 +05:30
committed by GitHub
parent ded13229c0
commit 21c76683ef
9 changed files with 25 additions and 34 deletions
+1 -2
View File
@@ -138,8 +138,7 @@ func (promApiClient *PrometheusApiClient) GetTotalFailedRequestsToFuncInWindow(f
}
func (promApiClient *PrometheusApiClient) executeQuery(queryString string) (float64, error) {
// TODO: Change to debug level once we have a better understanding of what is happening
promApiClient.logger.Info("prometheus executing query", zap.String("query", queryString))
promApiClient.logger.Debug("executing prometheus query", zap.String("query", queryString))
val, warn, err := promApiClient.client.Query(context.Background(), queryString, time.Now())
if err != nil {