GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Release Release v0.1.6 (Roaring 20s) · opencensus-integrations/ocsql

Release v0.1.6 (Roaring 20s)

@odeke-em odeke-em released this 18 May 00:21
· 3 commits to master since this release
v0.1.6
b6f4ab8
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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!

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.