@Override
    public Metrics getMetrics(final int index) {
        return this.positionIndexedMetrics.get(index);
    }
This is only a convenient constructor needed for GraphSON deserialization.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/DefaultTraversalMetrics.java