Skip to content

Commit

Permalink
otel version use dubbo version
Browse files Browse the repository at this point in the history
  • Loading branch information
pherzheyu authored May 17, 2022
1 parent bda51ce commit 1d4bc71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion filter/otel/trace/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@

package trace

import (
"dubbo.apache.org/dubbo-go/v3/common/constant"
)

// Version is the current release version of the dubbogo instrumentation.
func Version() string {
return "3.0.0"
return constant.Version
}

// SemVersion is the semantic version to be supplied to tracer/meter creation.
Expand Down

0 comments on commit 1d4bc71

Please sign in to comment.