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