UpdatePrometheusUserSetting
Updates the user configuration for Prometheus. Note: Modifying settingKey=financeUsageRegion switches Prometheus usage data to Log Service in the specified region, and historical usage data will no longer be available in the Prometheus console.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:UpdatePrometheusUserSetting |
update |
*All Resource
|
None | None |
Request syntax
PUT /prometheus-user-setting/{settingKey} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| settingKey |
string |
Yes |
The user configuration key. Valid values:
|
financeUsageRegion |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| settingValue |
string |
Yes |
The user configuration setting value. |
ap-southeast-1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
8FDE2569-626B-5176-9844-28877A***** |
Examples
Success response
JSON format
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.