AWS Performance Insights
amazonaws · Cloud
Amazon RDS Performance Insights Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide provides detailed information about Performance Insights data types, parameters and errors. When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the authorit
Authentication
Sample Requests
For a specific time period, retrieve the top N dimension keys for a metric. Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.
Hover any highlighted part to learn what it does
| X-Amz-Target | PerformanceInsightsv20180227.DescribeDimensionKeys |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.DescribeDimensionKeys?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: PerformanceInsightsv20180227.DescribeDimensionKeys"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "PerformanceInsightsv20180227.DescribeDimensionKeys"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.DescribeDimensionKeys",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.DescribeDimensionKeys');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'PerformanceInsightsv20180227.DescribeDimensionKeys'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.DescribeDimensionKeys")
q := baseURL.Query()
q.Set("NextToken", "example")
q.Set("MaxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "PerformanceInsightsv20180227.DescribeDimensionKeys")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.DescribeDimensionKeys")
uri.query = URI.encode_www_form({
"NextToken" => "example",
"MaxResults" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "PerformanceInsightsv20180227.DescribeDimensionKeys"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.DescribeDimensionKeys?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: PerformanceInsightsv20180227.DescribeDimensionKeys"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide specific dimension groups and dimensions, and provide aggregation and filtering criteria for each group. Each response element returns a maximum of 500 bytes. For larger elements, suc
Hover any highlighted part to learn what it does
| X-Amz-Target | PerformanceInsightsv20180227.GetResourceMetrics |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.GetResourceMetrics?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: PerformanceInsightsv20180227.GetResourceMetrics"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "PerformanceInsightsv20180227.GetResourceMetrics"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.GetResourceMetrics",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.GetResourceMetrics');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'PerformanceInsightsv20180227.GetResourceMetrics'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.GetResourceMetrics")
q := baseURL.Query()
q.Set("NextToken", "example")
q.Set("MaxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "PerformanceInsightsv20180227.GetResourceMetrics")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.GetResourceMetrics")
uri.query = URI.encode_www_form({
"NextToken" => "example",
"MaxResults" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "PerformanceInsightsv20180227.GetResourceMetrics"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.GetResourceMetrics?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: PerformanceInsightsv20180227.GetResourceMetrics"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.
Hover any highlighted part to learn what it does
| X-Amz-Target | PerformanceInsightsv20180227.ListAvailableResourceDimensions |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.ListAvailableResourceDimensions?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: PerformanceInsightsv20180227.ListAvailableResourceDimensions"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "PerformanceInsightsv20180227.ListAvailableResourceDimensions"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.ListAvailableResourceDimensions",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.ListAvailableResourceDimensions');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'PerformanceInsightsv20180227.ListAvailableResourceDimensions'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.ListAvailableResourceDimensions")
q := baseURL.Query()
q.Set("NextToken", "example")
q.Set("MaxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "PerformanceInsightsv20180227.ListAvailableResourceDimensions")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.ListAvailableResourceDimensions")
uri.query = URI.encode_www_form({
"NextToken" => "example",
"MaxResults" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "PerformanceInsightsv20180227.ListAvailableResourceDimensions"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/pi/2018-02-27/#X-Amz-Target=PerformanceInsightsv20180227.ListAvailableResourceDimensions?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: PerformanceInsightsv20180227.ListAvailableResourceDimensions"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with AWS Performance Insights?
AWS Performance Insights is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. AWS Performance Insights is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?