change the way to configure grafana