mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
add opentracing spans for metrics
This commit is contained in:
committed by
Travis Reeder
parent
1cc1a5ad49
commit
dc5e67b6d2
@@ -20,7 +20,6 @@ import (
|
||||
_ "github.com/lib/pq"
|
||||
"github.com/mattn/go-sqlite3"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
"gitlab-odx.oracle.com/odx/functions/api/datastore/internal/datastoreutil"
|
||||
"gitlab-odx.oracle.com/odx/functions/api/models"
|
||||
)
|
||||
|
||||
@@ -134,8 +133,7 @@ func New(url *url.URL) (models.Datastore, error) {
|
||||
}
|
||||
}
|
||||
|
||||
sqlDatastore := &sqlStore{db: db}
|
||||
return datastoreutil.NewValidator(sqlDatastore), nil
|
||||
return &sqlStore{db: db}, nil
|
||||
}
|
||||
|
||||
func (ds *sqlStore) InsertApp(ctx context.Context, app *models.App) (*models.App, error) {
|
||||
|
||||
Reference in New Issue
Block a user