You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**victorialogs-handler** is a high-performance Python log handler tailored for [VictoriaLogs](https://victoriametrics.com/products/victorialogs/). It integrates seamlessly with Python’s native logging module, allowing you to stream log events to a VictoriaLogs instance with minimal configuration and zero friction.
17
26
18
-
## Key Features
27
+
## Features
19
28
20
29
-**Asynchronous Processing**: Log events are queued and dispatched in a dedicated background thread, ensuring your application's main execution flow remains non-blocking and highly responsive.
21
30
@@ -69,13 +78,13 @@ logger.info("This is an info message")
69
78
70
79
Please see the directory `/examples` for additional examples on how to use the handler.
71
80
72
-
## Technical details
81
+
## Technical documentation
73
82
74
-
This section documents technical details of the solution.
83
+
This section documents technical aspects of the handler.
75
84
76
-
### Technical process
85
+
### Process Flow
77
86
78
-
The vlogs handler works as follows:
87
+
The process flow of the vlogs handler is as follows:
79
88
80
89
1. When a a log event is received, it is converted into JSON and stored in the buffer
81
90
2. At an interval (e.g. 5 second) or when a threshold is reached (e.g. 125 logs) a background worker starts the process of submitting logs from the buffer to the log server
@@ -111,3 +120,7 @@ VictoriaLogs handles three fields in a special:
111
120
-`_stream`: The source of a log event, which is used to group and filter logs. This field is mapped to `stream`.
112
121
113
122
For more information please also see [VictoriaLogs Data model](https://docs.victoriametrics.com/victorialogs/keyconcepts/#data-model).
123
+
124
+
## API documentation
125
+
126
+
For the documentation of configuration options and defaults please see the [API documentation](https://erikkalkoken.github.io/python-victorialogs-handler/).
0 commit comments