我有一个可以通过 POST 请求远程访问的数据源(包括 API 密钥和用户 ID 作为请求中的数据)。
有没有办法配置 Prometheus 来抓取这个数据源?最好不需要任何额外的软件。
据我所知,prometheus只支持GET方式。
您可以使用 basic_auth 或不记名令牌进行身份验证。
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config