We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3877604 commit bd1a073Copy full SHA for bd1a073
pkg/cortex/serve/cortex_internal/serve/serve.py
@@ -216,7 +216,7 @@ def predict(request: Request):
216
) from e
217
response = Response(content=json_string, media_type="application/json")
218
219
- if local_cache["provider"] != "local" and api.monitoring is not None:
+ if local_cache["provider"] not in ["local", "gcp"] and api.monitoring is not None:
220
try:
221
predicted_value = api.monitoring.extract_predicted_value(prediction)
222
api.post_monitoring_metrics(predicted_value)
0 commit comments