As far as I know this is not supported. But you could always run a sidecar script to download the file. If you configure Prometheus using file_sd_configs it will automatically detect changes to the file and start scraping the new targets.
Nicholas
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ff8a6556-0e05-4fb5-bd18-63be2121b3d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
As far as I know this is not supported. But you could always run a sidecar script to download the file. If you configure Prometheus using file_sd_configs it will automatically detect changes to the file and start scraping the new targets.
Nicholas
On Thu, Jul 6, 2017, 13:42 Matthew Mueller <mattm...@gmail.com> wrote:
Sorry this was a bit unclear, I'm wondering if it's possible to pull scrapers from a directory like an S3 bucket?--
On Friday, July 7, 2017 at 1:32:02 AM UTC+7, Matthew Mueller wrote:Is it possible to configure remote discovery to look for a remote static text file, like a text file or directory on S3?
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ff8a6556-0e05-4fb5-bd18-63be2121b3d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAKA4%2B6roZsoDEB7LG7GKbTpYAiKUrCgq8j4sJrEeGu88eL2VbA%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
Correct, we only have one way of doing generic SD (intentionally don't want to introduce multiple), and it is local-file-based only at the moment.
On Thu, Jul 6, 2017 at 8:45 PM, Nicholas Capo <nichol...@gmail.com> wrote:
As far as I know this is not supported. But you could always run a sidecar script to download the file. If you configure Prometheus using file_sd_configs it will automatically detect changes to the file and start scraping the new targets.
Nicholas
On Thu, Jul 6, 2017, 13:42 Matthew Mueller <mattm...@gmail.com> wrote:
Sorry this was a bit unclear, I'm wondering if it's possible to pull scrapers from a directory like an S3 bucket?--
On Friday, July 7, 2017 at 1:32:02 AM UTC+7, Matthew Mueller wrote:Is it possible to configure remote discovery to look for a remote static text file, like a text file or directory on S3?
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ff8a6556-0e05-4fb5-bd18-63be2121b3d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3236063e-d33b-4bc4-8b7d-e92ac496727c%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/85868b43-d6e4-448f-867a-38e7e5defa24%40googlegroups.com.
…or a side car. Think of file_sd as the plugin mechanism. There is no need to restart or (I think) even reload.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/85868b43-d6e4-448f-867a-38e7e5defa24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmqnR%2BcyjdqwwKH2h4KmD5d8dzjq%3D-y5Ri_uUs4iBY6Hxw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/85868b43-d6e4-448f-867a-38e7e5defa24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmqnR%2BcyjdqwwKH2h4KmD5d8dzjq%3D-y5Ri_uUs4iBY6Hxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAFU3N5WgEgPGZ%3DosEF_tzbmCUzLhXoWwTv6m%3D%3DUfPKACMd6qGQ%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.