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
Console
API
-
Go to the Transfer
-
Select the transfer from which you want to export metrics.
-
Open the Monitoring tab.
-
In the upper-right corner, click
-
Follow the instructions in the dialog window:
-
Get a list of hosts using the DoubleCloud API's
TransferService
List method. -
Use the
TransferService
Get method with thesensitive:true
flag to get the required credentials. You'll see them undermetrics_exporter_connection_info
.
We suggest using the following scrape_config
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"