You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
When I do ./snapctl metric get -m="/intel/mock/*" I am expecting to get all of the metrics since no version is specified. I actually see: Received an invalid API response (META/TYPE)
Digging a little deeper, the rest API is sending a response with all the metrics. The rest client gives the error because it's expecting MetricReturnedType but is receiving MetricsReturnedType which is what causes the error. The code that impacts this is here. The server side is doing some interpretation of the wildcard here but only if the namespace ends in a *.
The text was updated successfully, but these errors were encountered:
When using snapctl to query metrics while running one of the example tasks we have the following metrics:
When I do
./snapctl metric get -m="/intel/mock/*"
I am expecting to get all of the metrics since no version is specified. I actually see:Received an invalid API response (META/TYPE)
Digging a little deeper, the rest API is sending a response with all the metrics. The rest client gives the error because it's expecting MetricReturnedType but is receiving MetricsReturnedType which is what causes the error. The code that impacts this is here. The server side is doing some interpretation of the wildcard here but only if the namespace ends in a *.
The text was updated successfully, but these errors were encountered: