Skip to content

[BUG] Auto instrumentation with gorm fails #511

Description

@AlonGluz

Version of orchestrion
1.0.3

Describe what happened:
not enough arguments in call to __orchestrion_gorm.Open
have ("gorm.io/gorm".Dialector)
want ("gorm.io/gorm".Dialector, *"gorm.io/gorm".Config, ..."gopkg.in/DataDog/dd-trace-go.v1/contrib/gorm.io/gorm.v1".Option)
exit status 2

Describe what you expected:
For it to work, gorm changed the function interface and *"gorm.io/gorm".Config required.
Steps to reproduce the issue:
build go microservice that utilizes gorm

Additional environment details (Version of Go, Operating System, etc.):
go 1.23
gorm 1.25.12

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions