OTLP ingestion
Ingest an OTLP trace batch
Ingest an OTLP trace batch
curl --request POST \
--url https://agentgateway.atlan.engineering/otel/v1/traces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://agentgateway.atlan.engineering/otel/v1/traces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://agentgateway.atlan.engineering/otel/v1/traces"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/jsonapplication/x-protobuf
The body is of type object.
Response
HTTP 200 response.
The response is of type object.
⌘I
Ingest an OTLP trace batch
curl --request POST \
--url https://agentgateway.atlan.engineering/otel/v1/traces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://agentgateway.atlan.engineering/otel/v1/traces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://agentgateway.atlan.engineering/otel/v1/traces"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}{
"code": 123,
"message": "<string>",
"details": [
{}
]
}