How to Configure Scraper to Skip Validation on Self-signed Certificates

@EytyxfWMnMj74Y-KoiCn it looks like the change was API-only. I’ll open an issue against the UI repository, but in the meantime you can curl to make it work. Something like this:

curl \
    -H "Authorization: Token <your-token>" \
    -H "Content-Type: application/json" \
    -XPOST \
    "<your-server-url>/api/v2/scrapers" \
    -d '{
  "name": "<your-scraper-name>",
  "type": "prometheus",
  "url": "<url-to-scrape>",
  "orgID": "<your-org-id>",
  "bucketID": "<your-bucket-id>",
  "allowInsecure": true
}'
1 Like