Skip to content

Releases: opencensus-integrations/ocsql

Release v0.1.7 (RonaImposed)

01 Dec 13:18
aa76e4b
Compare
Choose a tag to compare

This release features the following changes

  • Addition of RegisterWithSource to allow passing in dataSourceName into sql.Open as pe PR #42 by @veera83372
  • Addition of an implementation of driver.NamedValueChecker as per PR #44 by @micanzhang and PR #45 by fixed further by @neilaram1

Thank you to all the contributors, and users!

Release v0.1.6 (Roaring 20s)

18 May 00:21
b6f4ab8
Compare
Choose a tag to compare

This release features some bug fixes and new features:

  • A new trace option to record the database instance name, called WithInstanceName.
    This feature is useful to differentiate between different database names. It was requested by
    @vearutop in issue #33 and then resolved by PR #34
    It can be used when creating a driver like this
driverName, err = ocsql.Register("mysql", ocsql.WithAllTraceOptions(), ocsql.WithInstanceName("prod8"))
  • A bug fix to correctly catch and record errors produced, and propagate them when tracking latency.
    The cause of the issue was in our defers we were directly getting a closure and passing err directly into it
    which would use the earliest value of the named error value err e.g.
func foo() (err error) {
     defer tracker(...)(err)
     ....

but really what we wanted was

func foo() (err error) {
     onDeferFn := tracker(...)
     defer func() {
          onDeferFn(err)
     }()
     ....

This bug was noticed and fixed by @otternq in PR #43.

Thank you everyone for all the changes, bug reports and fixes and for the reviews!

Release v0.1.5 (cheerful decade)

20 Dec 03:57
e766b83
Compare
Choose a tag to compare

This release v0.1.5 features:

  • The addition of an option DisableErrSkip to prevent database/sql/driver.ErrSkip errors from being added as erroring statuses on spans. This work was done by @a8m in PR #37 and the prior behavior that was removed can be seen in @a8m's screenshot
    image
    which can now be turned off programmatically

  • The addition of a WithSampler option which sets the sampler that will be passed into trace.StartSpan as per opencensus-go/trace.WithSampler. This work ws done by @alexsn in PR #40

Enjoy, happy holidays and cheers to the next decade! Thank you for using OpenCensus and these integrations.

Release v0.1.4

12 Mar 20:19
v0.1.4
88d7880
Compare
Choose a tag to compare

This release features:

  • Properly propagating TraceOptions to the transaction decorator
  • Ensuring that trace attributes are added before a span.End defer call as per PR #34
  • A WrapConnector method to explicitly wrap existing driver connectors as per PR #34 (comment) which was requested in #30
  • An updated README to documenting available stats and how to use RecordStats

Release v0.1.3

17 Jan 07:40
eb3ef1d
Compare
Choose a tag to compare

This release adds stats to ocsql.

Release v0.1.2

28 Nov 18:28
cdb861a
Compare
Choose a tag to compare

This release improves ocsql by:

  • supporting all additional driver.Rows interfaces. Thanks @hugorut
  • adding SpanKind = client to ocsql spans. Thanks @yancl
  • fixing doc typos. Thanks @sagikazarmark
  • adding ability to directly wrap a driver.Conn. Thanks for the suggestion @zombiezen.

release v0.1.1

09 Oct 14:31
f8bf6e3
Compare
Choose a tag to compare

Fixes some open issues with optional interfaces being incorrectly hidden.

initial release of ocsql

21 Sep 19:07
b747101
Compare
Choose a tag to compare

initial release of ocsql