so , which param i have to adjust to let promtail work ok.
Maximum active stream limit exceeded, reduce the number of active streams (reduce labels or reduce label values), or contact your Loki administrator to see if the limit can be increased"
When sending logs to Loki, each unique set of labels is considered one log stream. With 10000 files, you have minimum 10000 log streams (because each of them would at minimum has an unique filename label), potentially more if you are parsing for labels.