Allow attribute configuration for datasources

NB: String attributes must be written litteraly :
type => "'graphite'"