The NOWATCH API
NOWATCH API (0.9.0)
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://docs.api.nowatch.tech/_mock/apis/
https://docs.api.nowatch.tech/nowatch/
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/telemetry/spans
https://docs.api.nowatch.tech/nowatch/v1/telemetry/spans
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/telemetry/spans \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"spans": [
{
"name": "string",
"traceId": "string",
"spanId": "string",
"parentSpanId": "string",
"startTime": 0,
"endTime": 0,
"attributes": [
"string"
]
}
],
"serviceName": "string",
"serviceVersion": "string"
}'- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/telemetry/metrics
https://docs.api.nowatch.tech/nowatch/v1/telemetry/metrics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/telemetry/metrics \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"serviceName": "string",
"serviceVersion": "string",
"metrics": [
{
"name": "string",
"unit": "string",
"sum": {
"dataPoints": [
{
"attributes": [
{}
],
"timestamp": 0,
"asInt": 0,
"asDouble": 0
}
],
"aggregationTemporality": "UNSPECIFIED",
"isMonotonic": true
},
"gauge": {
"dataPoints": [
{
"attributes": [
{}
],
"timestamp": 0,
"asInt": 0,
"asDouble": 0
}
]
}
}
]
}'- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/telemetry/logs
https://docs.api.nowatch.tech/nowatch/v1/telemetry/logs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/telemetry/logs \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"logs": [
{
"message": "string",
"timestamp": 0,
"level": "string",
"traceId": "string",
"spanId": "string",
"attributes": [
"string"
]
}
],
"serviceName": "string",
"serviceVersion": "string"
}'