Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promtail - Add config.file location URL capability #2177

Closed
vincent-gou opened this issue Jun 4, 2020 · 4 comments
Closed

Promtail - Add config.file location URL capability #2177

vincent-gou opened this issue Jun 4, 2020 · 4 comments
Labels
stale A stale issue or PR that will automatically be closed.

Comments

@vincent-gou
Copy link

Is your feature request related to a problem? Please describe.
Promtail client can only read config.file from local storage. I got promtail deployed on different servers that i can't manage directly. I can't find any information on that subject.

Describe the solution you'd like
Get promtail ability to read config.file from an URL.
I use this solution for telegraf agent for example:
telegraf --config "https://xxxx.domain.com/telegraf?client=52410725-813e-4a87-9457-ff09fe7abext&application=aaaaaa&os=windows&host=srv-yyyyy&editor=xxxx&app_component=back-full"

Describe alternatives you've considered
none for now.

Additional context
Thanks

@slim-bean
Copy link
Collaborator

hey @vincent-gou there is currently no support for this I'm afraid, we did discuss it a long time ago but it was never really a priority and actually haven't really seen any requests for it until yours.

I think this makes sense, some consideration would be versioning the config file as config options can change.

/cc @rfratto not sure if you've considered this yet with the Grafana Agent?

@rfratto
Copy link
Member

rfratto commented Jun 4, 2020

I haven't considered it yet, but I agree it makes sense and I'd like to eventually see it added to the Agent.

@vincent-gou
Copy link
Author

Ok thanks all for your feedback.

I think that i have a workaround by downloading on each promtail reload or restart (via custom script) config.file.
If you decide to go further with this maybe issue #16 may be interesting to implement.

Best regards

Vincent

@stale
Copy link

stale bot commented Jul 4, 2020

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue or PR that will automatically be closed. label Jul 4, 2020
@stale stale bot closed this as completed Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale A stale issue or PR that will automatically be closed.
Projects
None yet
Development

No branches or pull requests

3 participants