All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
This project adheres to Semantic Versioning.
- Upgrade OTel to version
v1.20.0/v0.43.0. (#196)
0.26.0 - 2023-10-11
- Upgrade OTel to version
v1.19.0/v0.42.0. (#190)
0.25.0 - 2023-09-18
This update contains a breaking change of the type of SpanNameFormatter. If you use SpanNameFormatter in your code, you need to change the type of SpanNameFormatter to function.
The minimum supported Go version is 1.20.
- Upgrade OTel to version
v1.18.0/v0.41.0. (#184) - The type of
SpanNameFormatterhas been changed to function for easier use. (#185)
- Support for Go
1.19. (#186)
0.24.0 - 2023-09-08
SpanFilterconfiguration inSpanOptionsto filter spans creation. (#174)- Go 1.21 to supported versions. (#180)
- Upgrade OTel to version
v1.17.0/v0.40.0. (#181)
0.23.0 - 2023-05-22
- Upgrade OTel to version
1.16.0/0.39.0. (#170)
0.22.0 - 2023-04-28
The minimum supported Go version is 1.19.
- Upgrade OTel to version
1.15.0/0.38.0. (#163)
- Support for Go
1.18. Support is now only for Go1.19and Go1.20. (#164)
0.21.0 - 2023-04-16
This update contains a breaking change of correcting the behavior of returning driver.ErrSkip when not permitted by sql/driver.
- If your driver uses the old
sql/driverinterfaces, which does not use theContextas a parameter, this update may let your driver work with this library. - If your driver uses the new
sql/driverinterfaces, which use theContextas a parameter, this update should not affect your code.
- Avoid returning
driver.ErrSkipwhen not permitted bysql/driver. (#153) - Upgrade all
semconvpackages to usev1.18.0. (#156)
0.20.0 - 2023-03-02
- Upgrade OTel to version
1.14.0/0.37.0. (#150)
0.19.0 - 2023-02-13
- Go 1.20 to supported versions. (#146)
- Upgrade OTel to version
1.13.0/0.36.0. (#145)
0.18.0 - 2023-02-01
- Upgrade OTel to version
1.12.0/0.35.0. (#139) - Upgrade all
semconvpackages to usev1.17.0. (#141)
0.17.1 - 2022-12-13
- Upgrade OTel to version
1.11.2/0.34.0. (#134)
0.17.0 - 2022-10-21
The minimum supported Go version is 1.18.
- Go 1.19 to supported versions. (#118)
WithAttributesGetteroption provides additional attributes on spans creation. (#125)
-
Upgrade OTel to version
1.10.0. (#119) -
Upgrade OTel to version
1.11.0/0.32.3. (#122) -
Upgrade OTel to version
1.11.1/0.33.0. (#126)This OTel release contains a feature that the
go.opentelemetry.io/otel/exporters/prometheusexporter now adds a unit suffix to metric names. This can be disabled using theWithoutUnits()option added to that package.
- Support for Go
1.17. Support is now only for Go1.18and Go1.19. (#123)
0.16.0 - 2022-08-25
-
WithSQLCommenteroption to enable context propagation for database by injecting a comment into SQL statements. (#112)This is an experimental feature and may be changed or removed in a later release.
- Upgrade OTel to version
1.9.0. (#113)
0.15.0 - 2022-07-11
The minimum supported Go version is 1.17.
This update contains a breaking change of the removal of SpanOptions.AllowRoot.
-
SpanOptions to suppress creation of spans. (#87, #102)
OmitConnResetSessionOmitConnPrepareOmitConnQueryOmitRowsOmitConnectorConnect
-
Function
RawtootConnto return the underlying driver connection. (#100)
- Upgrade OTel to
v1.7.0. (#91) - Upgrade OTel to version
1.8.0/0.31.0. (#105)
- Support for Go
1.16. Support is now only for Go1.17and Go1.18. (#99) SpanOptions.AllowRoot. (#101)
0.14.1 - 2022-04-07
- Upgrade OTel to
v1.6.2. (#82)
0.14.0 - 2022-04-05
This update is a breaking change of Open, OpenDB, Register, WrapDriver and RegisterDBStatsMetrics methods.
Code instrumented with these methods will need to be modified.
- Remove
dbSystemparameter from all exported functions. (#80)
0.13.0 - 2022-04-04
- Add Metrics support. (#74)
- Add
OpenandOpenDBmethods to instrumentdatabase/sql. (#77)
- Upgrade OTel to
v1.6.0/v0.28.0. (#74) - Upgrade OTel to
v1.6.1. (#76)
0.12.0 - 2022-03-18
- Covering connector's connect method with span. (#66)
- Add Go 1.18 to supported versions. (#69)
- Upgrade OTel to
v1.5.0. (#67)
0.11.0 - 2022-02-22
- Upgrade OTel to
v1.4.1. (#61)
0.10.0 - 2021-12-13
- Upgrade OTel to
v1.2.0. (#50) - Upgrade OTel to
v1.3.0. (#54)
0.9.0 - 2021-11-05
- Upgrade OTel to v1.1.0. (#37)
0.8.0 - 2021-10-13
- Upgrade OTel to v1.0.1. (#33)
0.7.0 - 2021-09-21
- Upgrade OTel to v1.0.0. (#31)
0.6.0 - 2021-09-06
- Added RecordError to SpanOption. (#23)
- Added DisableQuery to SpanOption. (#26)
- Upgrade OTel to v1.0.0-RC3. (#29)
0.5.0 - 2021-08-02
- Upgrade OTel to v1.0.0-RC2. (#18)
0.4.0 - 2021-06-25
- Upgrade to v1.0.0-RC1 of
go.opentelemetry.io/otel. (#15)
0.3.0 - 2021-05-13
- Add AllowRoot option to prevent backward incompatible. (#13)
- Upgrade to v0.20.0 of
go.opentelemetry.io/otel. (#8) - otelsql will not create root spans in absence of existing spans by default. (#13)
0.2.1 - 2021-03-28
- otelsql does not set the status of span to Error while recording error. (#5)
0.2.0 - 2021-03-24
- Upgrade to v0.19.0 of
go.opentelemetry.io/otel. (#3)
0.1.0 - 2021-03-23
This is the first release of otelsql.
It contains instrumentation for trace and depends on OTel v0.18.0.
- Instrumentation for trace.
- CI files.
- Example code for a basic usage.
- Apache-2.0 license.