Fixed messages format

This commit is contained in:
2026-07-08 23:06:31 +04:00
parent 3bc9334fd3
commit bbb439da2e

View File

@@ -257,17 +257,16 @@ if __name__ == "__main__":
## Message Format
Messages must conform to a specific JSON format:
Messages should conform to a specific JSON format:
```json
{
"service": "service_name",
"environment": "production",
"exception": "ErrorType",
"message": "Error message text",
"type": "error",
"datetime": "2024-01-01T12:00:00"
"id":"019f42ff-de59-7a17-8189-a36b68191a71",
"source":"019f42ff-dff9-7b68-832f-a6323a078105",
"type":"user.message",
"message":"Hello my friend, i'm there"
}
```
See `examples/` directory for sample messages.