robusta-dev / krr

Prometheus-based Kubernetes Resource Recommendations
MIT License
3.05k stars 160 forks source link

HTTP Status Code 400 #325

Closed ampc closed 3 months ago

ampc commented 3 months ago

Describe the bug The output returns the values and suggestions but it displays an error in the beginning.

To Reproduce Steps to reproduce the behavior:

  1. Execute the following krr simple --allow-hpa --prometheus-url http://mimir.prd.monitoring.xyz/prometheus/ --prometheus-headers 'X-Scope-OrgID:runtime-metrics' --prometheus-auth-header 'Basic xyz' --prometheus-label cluster --prometheus-cluster-label rtmc-02 -v

Expected behavior Do not return errors

Screenshots

image

Are you interested in contributing a fix for this? Yes

Desktop (please complete the following information):

Additional context Using Mimir with multi tenancy

aantn commented 3 months ago

Does this happen on the prometheus-workload-loader branch as well?