Skip to content

Commit

Permalink
En/add tracer in external datasources (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
Umang01-hash authored Sep 26, 2024
1 parent 1d0c225 commit 5ebbcae
Show file tree
Hide file tree
Showing 16 changed files with 803 additions and 11 deletions.
3 changes: 3 additions & 0 deletions pkg/gofr/container/datasources.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ type provider interface {
// UseMetrics sets the metrics for the Cassandra client.
UseMetrics(metrics any)

// UseTracer sets the tracer for the Cassandra client.
UseTracer(tracer any)

// Connect establishes a connection to Cassandra and registers metrics using the provided configuration when the client was Created.
Connect()
}
Expand Down
Loading

0 comments on commit 5ebbcae

Please sign in to comment.