Release Notes for Cyphernetes v0.10.0
This version adds initial support for aggregation functions in the language syntax.
Features
- New aggregation functions
COUNT
andSUM
can now be used to create data aggregations across multiple resources:
MATCH (deployments:Deployment)->(replicaSets:ReplicaSet)->(pods:Pod)
WHERE pods.status.phase = "Running"
RETURN SUM{deployments.spec.replicas} AS TotalDesired,
COUNT{pods.metadata.name} AS TotalAvailable;
{
"aggregate": {
"TotalAvailable": 7,
"TotalDesired": 7
}
}
Improvements
- New default macro
deployment_replicas
uses the new aggregation functions to show total desired vs. running replicas across all deployments
Bugfixes
- Resolved an issue where only the first node in the MATCH clause could be used in the WHERE clause. WHERE clause items will now fail silently if the filtered node can't be matched.