We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, I have used:
POST /v1/aggregates operations: "(100 - (metric aggregation-cpu-average@percent-idle-0 mean))" search: "host in [\"fake-phy-host-25b627441e04\"]" resource_type: "collectd"
I obviously wrote a wrong operations, it should be (- 100 (metric ...))
operations
(- 100 (metric ...))
But the error message is misleading:
{ "message": "Invalid input: extra keys not allowed @ data['search']", "title": "Bad Request", "code": "400 Bad Request" }
The text was updated successfully, but these errors were encountered:
Sorry for asking @sileht: Is there any documentation about the syntax used for operations in general?
Sorry, something went wrong.
I don't work on the project anymore, but the documentation is here: https://gnocchi.xyz/rest.html#cross-metric-usage
Thanks, I know but the docs are very limited to "(metric cpu.util mean)" ;)
No branches or pull requests
For example, I have used:
I obviously wrote a wrong
operations
, it should be(- 100 (metric ...))
But the error message is misleading:
{
"message": "Invalid input: extra keys not allowed @ data['search']",
"title": "Bad Request",
"code": "400 Bad Request"
}
The text was updated successfully, but these errors were encountered: