Skip to content

Commit 2f6ba61

Browse files
authored
Merge pull request #183 from google/go/application_tag/core
db_driver tag fix and application tag related changes:
2 parents d35d54f + 60c4ead commit 2f6ba61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

go/core/core.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ const (
3131
Controller string = "controller"
3232
Action string = "action"
3333
Framework string = "framework"
34-
Driver string = "driver"
34+
Driver string = "db_driver"
3535
Traceparent string = "traceparent"
36+
Application string = "application"
3637
)
3738

3839
type CommenterOptions struct {
@@ -42,6 +43,8 @@ type CommenterOptions struct {
4243
EnableController bool
4344
EnableAction bool
4445
EnableTraceparent bool
46+
EnableApplication bool
47+
Application string
4548
}
4649

4750
func encodeURL(k string) string {

0 commit comments

Comments
 (0)