@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Metric other = (Metric) obj;
        if (!this.name.equals(other.name())) {
            return false;
        }
        if (!this.description.equals(other.description())) {
            return false;
        }
        if (!value().equals(other.value())) {
            return false;
        }
        return true;
    }