Connect Prometheus to Transfer

You can monitor your Transfer metrics using third-party tools like Prometheus .

Endpoint format

The metrics endpoint is accessible as follows:

https://transfer.double.cloud/metrics/<your_transfer_id>

Export your Transfer metrics

  1. Go to the Transfer page in the console.

  2. Select the transfer from which you want to export metrics.

  3. Open the Monitoring tab.

  4. In the upper-right corner, click .

  5. Follow the instructions in the dialog window:

    metrics-export-modal

  1. Get a list of hosts using the DoubleCloud API's TransferService List method.

  2. Use the TransferService Get method with the sensitive:true flag to get the required credentials. You'll see them under metrics_exporter_connection_info.

We suggest using the following scrape_config section for your Prometheus configuration:

scrape_configs:
- job_name: transfer
   honor_timestamps: true
   scrape_interval: 15s
   scrape_timeout: 10s
   metrics_path: /metrics/transfer-id
   basic_auth:
   username: 'exporter'
   password: '<your-endpoint-password>'
   scheme: https
   static_configs:
   - targets:
      - "transfer.double.cloud"

See also