Metrics
Export account metrics (Prometheus)
GET
/
v1
/
metrics
/
export
Export account metrics (Prometheus)
curl --request GET \
--url https://api.veri.studio/v1/metrics/export \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/metrics/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/metrics/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<string>Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Response
The account's deployment and replica metrics in Prometheus text exposition format (version 0.0.4). Point a Prometheus scrape job, Grafana Cloud, or the Datadog Agent's OpenMetrics check at this endpoint with the API key as a Bearer credential.
The response is of type string.
Export account metrics (Prometheus)
curl --request GET \
--url https://api.veri.studio/v1/metrics/export \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/metrics/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/metrics/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<string>
