grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.94k stars 3.45k forks source link

Is there any way to re-configure Promtail and no need to stop it. #13628

Open clouddea opened 3 months ago

clouddea commented 3 months ago

Is your feature request related to a problem? Please describe. We need to update our online systems frequently (Ex. architecture ...). For no modifying current Pods in Kubernetes, a DaemonSet of Promtail was deployed to scrape logs of components of these systems from host path. As a result, when a new component was added into the systems, the scape_configs of Promtail should be updated for the logs of the new component can be push into Loki. So any way can we take to update the scape_configs and there is no need to modify the DaemonSet of Promtail ?

Describe the solution you'd like An HTTP API added to Promtail to update its config online.

Describe alternatives you've considered none

Additional context As to Production systems, We should keep secret.

JStickler commented 3 months ago

Promtail is now considered “feature complete” and will be in a maintenance mode. Requests for new features should be made against Grafana Alloy, Grafana Labs’ distribution of the OpenTelemetry Collector.