Skip to content

Releases: podium/uinta

Datadog formatter

20 May 22:40
b6bafb6
Compare
Choose a tag to compare

Support for Datadog

Bug fix around query

20 May 22:39
a2469b6
Compare
Choose a tag to compare
  • Doesn't crash when "query" is not a string

Bug Fix around client IP

20 May 22:39
b8843a8
Compare
Choose a tag to compare

Client ip is now properly serialize as a string

Extend format

20 May 22:38
89e5783
Compare
Choose a tag to compare
  • adds more fields to the log:
    • referer
    • user_agent
    • x_forwarded_for
    • x_forwarded_proto
    • x_forwarded_port
    • via

v0.8.0

22 Nov 18:53
Compare
Choose a tag to compare

Breaking Changes

  • Adds a new operationName key in the JSON that is logged by Uinta.Plug to contain the GraphQL operation name when provided
  • Always includes the path in the JSON logged by Uinta.Plug in the event that there are multiple GraphQL endpoints being served by the same application
  • Now includes the path in strings logged Uinta.Plug - like MUTATION sendMessage (/graphql)

v0.7.0

17 Aug 16:52
3271694
Compare
Choose a tag to compare

New Features

  • configurable sampling of successful requests. Use the :success_log_sampling_ratio configuration to specify a ratio of the sample to log. Ratio can support a precision up to 4 digits

v0.5.0

05 Nov 00:33
0bdfc62
Compare
Choose a tag to compare

New Features

  • Uinta.Plug now accepts a new ignore_paths option that allows you to provide a list of paths. Requests to those paths will no longer show in the logs unless the request returns a non-200-level HTTP status code.
  • Documentation now describes how to replace Phoenix.Logger rather than just Plug.Logger

v0.4.2

31 Mar 15:55
Compare
Choose a tag to compare

Bug Fixes

  • The GraphQL spec says that commas and white space are ignored in queries. This updates the regex to allow for comma-less queries and for whitespace inside the parentheses

v0.4.1

31 Mar 15:28
Compare
Choose a tag to compare

Bug Fixes

  • Query name extraction wasn't previously working if an array argument was provided in the query variables. The regex has been updated to properly handle array arguments.

v0.4.0

31 Mar 00:26
Compare
Choose a tag to compare

New Features

  • Uinta.Plug will now extract the name of named GraphQL queries without an operationName parameter. It is still recommended that you use the operationName parameter when possible to avoid the overhead of parsing the query body with an extra regular expression on every request.
  • include_unnamed_queries option for Uinta.Plug will log out the entire query body of any query that doesn't have a name. This is useful for finding any queries that don't have names attached to them yet so that you can improve your logs.