Connect Prometheus to Transfer
You can monitor your Transfer metrics using third-party tools like Prometheus
Endpoint format
The metrics endpoint has the following format:
https://transfer.double.cloud/metrics/<your_transfer_id>
Export Transfer metrics
Console
API
-
Go to the Transfer
-
Select the transfer you want to export metrics from.
-
Switch to the Monitoring tab.
-
At the top right, click
-
Follow the instructions in the dialog:
-
Get a list of hosts using
TransferService
List method in the DoubleCloud API. -
To get credentials, use the
TransferService
Get method with thesensitive:true
flag. You can find the credentials undermetrics_exporter_connection_info
.
You can use 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"
See also
Previous
Next