Prometheus Configuration
Set Prometheus configuration
Configure Prometheus URL and authentication for a cluster or region. Requires either cluster_id or (region_code + user_id).
post/api/v1/prometheus/config
Request
- Base URLhttp://localhost:8080
- AuthAPI key in header Authorization
Request body
Example request
{
"auth_type": "basic",
"bearer_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"cluster_id": "cluster-123abc",
"password": "secure_password",
"region_code": "us-west-2",
"url": "https://prometheus.example.com:9090",
"user_id": "user-456def",
"username": "prometheus_user"
}Response
Configuration saved successfully
Example response
{
"message": "Prometheus configuration saved successfully"
}Changes
No recorded changes to this operation across all 1 revision of this API.