Skip to content

Releases: GGontijo/fastapi-elasticsearch-middleware

v1.1.3

18 Sep 13:18
Compare
Choose a tag to compare

fix: log_data response section needs to stay as an empty dictionary after sending it to ElasticSearch due to continuous StreamingResponse usage

Full Changelog: v1.1.2...v1.1.3

v1.1.2

18 Sep 12:07
Compare
Choose a tag to compare

Minor Change

v1.1.1

18 Sep 11:44
Compare
Choose a tag to compare

log_data needs to be cleared inside async function

Changes: 6668a76

v1.1.0

17 Sep 20:45
Compare
Choose a tag to compare

Fix KeyError: 'request' in line 125 and prevent loop when sending log to ElasticSearch

Changes: 9bc95f6

v1.0.9

17 Sep 20:08
Compare
Choose a tag to compare

Fix KeyError: 'request' in line 125

Changes: b4547d6

v1.0.8

17 Sep 19:29
Compare
Choose a tag to compare

Fix KeyError: 'request' in line 125

Changes: 45e2daa

v1.0.7

13 May 20:59
Compare
Choose a tag to compare

Fix timestamp TZ to UTC

Changes: 41a73f5

v1.0.6

13 May 18:21
Compare
Choose a tag to compare

Initial Release - 1.0.6

This is the first version of the Elasticsearch Logger Middleware for FastAPI. Designed to streamline logging processes, this middleware seamlessly integrates with FastAPI applications, facilitating direct logging to Elasticsearch servers.

Key Features:

  1. Elasticsearch Integration: Now it's possible to send logs directly to an Elasticsearch server for storage and analysis.
  2. Flexible Configuration: Supports a variety of configuration options to adapt to specific environment needs.
  3. Detailed Data Logging: Logs detailed data about HTTP requests, including headers, query parameters, and request body.
  4. Effortless Telemetry: Enjoy automated telemetry generation for monitoring request elapsed time, providing valuable insights into application performance.
  5. Enhanced Data Control for Elasticsearch Payloads: You have the option to control the size of Elasticsearch payload arrays and strings using the 'limit' parameter. This allows for efficient resource management and helps keep Elasticsearch indices within manageable bounds.