Get the OpenTelemetry export
curl --request GET \
--url https://api.compute.anonalabs.com/v1/otel-export \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.compute.anonalabs.com/v1/otel-export"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.compute.anonalabs.com/v1/otel-export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"export": {
"endpoint": "<string>",
"headerNames": [
"<string>"
],
"enabled": true,
"updatedAt": "2023-11-07T05:31:56Z",
"lastExportAt": "2023-11-07T05:31:56Z",
"lastError": "<string>",
"lastErrorAt": "2023-11-07T05:31:56Z"
},
"intervalSeconds": 123,
"metrics": [
"<string>"
]
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}Webhooks and telemetry
Get the OpenTelemetry export
GET
/
v1
/
otel-export
Get the OpenTelemetry export
curl --request GET \
--url https://api.compute.anonalabs.com/v1/otel-export \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.compute.anonalabs.com/v1/otel-export"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.compute.anonalabs.com/v1/otel-export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"export": {
"endpoint": "<string>",
"headerNames": [
"<string>"
],
"enabled": true,
"updatedAt": "2023-11-07T05:31:56Z",
"lastExportAt": "2023-11-07T05:31:56Z",
"lastError": "<string>",
"lastErrorAt": "2023-11-07T05:31:56Z"
},
"intervalSeconds": 123,
"metrics": [
"<string>"
]
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
An Anona Compute API key (e2b_ followed by lowercase hex).