Skip to content

Releases: infobloxopen/hotload

v1.3.0

19 Jun 18:39
09c77f9
Compare
Choose a tag to compare
feat: Add Prometheus metric to track sql stmts per transaction (#29)

* Added a new summary metric `transaction_sql_stmts` to track the number of exec/querys stmts executed per transaction
* Introduced a new struct `managedTx` to to hold the context and connection of a transaction
* Introduced a new field `execStmtsCounter` and `queryStmtsCounter` in the `managedConn` to track the number of exec querys in a transaction
* When SQL lib opens a transaction we are storing the connection for that transaction and context of the transaction in the `managedTx`
* Context is used to store the required grpc labels for the metric. i.e. grpc method, grpc service
* Added a UnaryInterceptor to the grpc server to store the grpc method and grpc service in the context
* On commit or rollback of the transaction we are removing the connection from the `managedTx` and resetting the counters to 0
* On commit of the transaction we are observing the `transaction_sql_stmts` metric by the number of exec/querys got executed in the transaction

v1.2.2

28 Feb 06:54
a9750df
Compare
Choose a tag to compare

What's Changed

  • add filename to error returned on config read

Full Changelog: v1.2.1...v1.2.2

v1.2.1: * fix passing options during driver registration

14 Aug 14:54
e981ce9
Compare
Choose a tag to compare
  • fix passing options during driver registration
  • fix datarace when fsnotify strategy sends data via values channel

v1.2.0

08 Jun 20:51
8ea3baf
Compare
Choose a tag to compare

Add support for passing options to underlying driver's connection string.

transaction isolation support

19 Apr 20:56
8ea3baf
Compare
Choose a tag to compare

Add support for transaction isolation settings in drivers.

v1.0.0 [31/10/2022]

31 Oct 10:09
1535a93
Compare
Choose a tag to compare

What's Changed

  • establish fsync interfaces and general usage by @daniel-garcia in #1
  • add ginkgo testing setup and make by @khous in #2
  • use test fixtures, add workflow by @khous in #3
  • fail on changes generated by go fmt by @khous in #5
  • initialize cgroup in a threadsafe manner by @khous in #6
  • Implement SessionResetter interface by @khous in #7
  • Beef up testing, fix some bugs along the way by @khous in #8
  • Thread-safety improvements by @khous in #10
  • Introduce forceKill logic by @khous in #11
  • Update README.md by @daniel-garcia in #14
  • Add integration test setup by @khous in #15
  • add logger with configurable log level by @khous in #16
  • Add myself as codeowner by @khous in #18

New Contributors

Full Changelog: https://github.com/infobloxopen/hotload/commits/v1.0.0