Documentation ¶
Index ¶
- Constants
- Variables
- func GetTraceArtifactLocationTag(experiment *entities.Experiment, requestID string) (models.TraceTag, error)
- type PageToken
- type TrackingSQLStore
- func (s TrackingSQLStore) CreateExperiment(ctx context.Context, name string, artifactLocation string, ...) (string, *contract.Error)
- func (s TrackingSQLStore) CreateRun(ctx context.Context, experimentID, userID string, startTime int64, ...) (*entities.Run, *contract.Error)
- func (s TrackingSQLStore) DeleteExperiment(ctx context.Context, id string) *contract.Error
- func (s TrackingSQLStore) DeleteRun(ctx context.Context, runID string) *contract.Error
- func (s TrackingSQLStore) DeleteTag(ctx context.Context, runID, key string) *contract.Error
- func (s TrackingSQLStore) DeleteTraceTag(ctx context.Context, tag *entities.TraceTag) *contract.Error
- func (s TrackingSQLStore) DeleteTraces(ctx context.Context, experimentID string, maxTimestampMillis int64, ...) (int32, *contract.Error)
- func (s TrackingSQLStore) Destroy() error
- func (s TrackingSQLStore) EndTrace(ctx context.Context, reqeustID string, timestampMS int64, status string, ...) (*entities.TraceInfo, error)
- func (s TrackingSQLStore) GetExperiment(ctx context.Context, id string) (*entities.Experiment, *contract.Error)
- func (s TrackingSQLStore) GetExperimentByName(ctx context.Context, name string) (*entities.Experiment, *contract.Error)
- func (s TrackingSQLStore) GetMetricHistory(ctx context.Context, runID, metricKey string) ([]*entities.Metric, *contract.Error)
- func (s TrackingSQLStore) GetRun(ctx context.Context, runID string) (*entities.Run, *contract.Error)
- func (s TrackingSQLStore) GetRunTag(ctx context.Context, runID, tagKey string) (*entities.RunTag, *contract.Error)
- func (s TrackingSQLStore) GetTraceInfo(ctx context.Context, reqeustID string) (*entities.TraceInfo, *contract.Error)
- func (s TrackingSQLStore) GetTraceTag(ctx context.Context, requestID, key string) (*entities.TraceTag, *contract.Error)
- func (s TrackingSQLStore) LogBatch(ctx context.Context, runID string, metrics []*entities.Metric, ...) *contract.Error
- func (s TrackingSQLStore) LogInputs(ctx context.Context, runID string, datasets []*entities.DatasetInput) *contract.Error
- func (s TrackingSQLStore) LogMetric(ctx context.Context, runID string, metric *entities.Metric) *contract.Error
- func (s TrackingSQLStore) LogParam(ctx context.Context, runID string, param *entities.Param) *contract.Error
- func (s TrackingSQLStore) RenameExperiment(ctx context.Context, experimentID, name string) *contract.Error
- func (s TrackingSQLStore) RestoreExperiment(ctx context.Context, id string) *contract.Error
- func (s TrackingSQLStore) RestoreRun(ctx context.Context, runID string) *contract.Error
- func (s TrackingSQLStore) SearchExperiments(ctx context.Context, experimentViewType protos.ViewType, maxResults int64, ...) ([]*entities.Experiment, string, *contract.Error)
- func (s TrackingSQLStore) SearchRuns(ctx context.Context, experimentIDs []string, filter string, ...) ([]*entities.Run, string, *contract.Error)
- func (s TrackingSQLStore) SetExperimentTag(ctx context.Context, experimentID, key, value string) *contract.Error
- func (s TrackingSQLStore) SetTag(ctx context.Context, runID, key, value string) *contract.Error
- func (s TrackingSQLStore) SetTrace(ctx context.Context, experimentID string, timestampMS int64, ...) (*entities.TraceInfo, error)
- func (s TrackingSQLStore) SetTraceTag(ctx context.Context, requestID, key, value string) error
- func (s TrackingSQLStore) UpdateRun(ctx context.Context, runID string, runStatus string, endTime *int64, ...) *contract.Error
Constants ¶
View Source
const ( LikeExpression = "LIKE" ILikeExpression = "ILIKE" EqualExpression = "=" NotEqualExpression = "!=" LessExpression = "<" LessOrEqualExpression = "<=" GreaterExpression = ">" GreaterOrEqualExpression = ">=" )
supported expression list.
View Source
const ( TraceFolderName = "traces" ArtifactsFolderName = "artifacts" )
View Source
const ( ArtifactFolderName = "artifacts" RunNameIntegerScale = 3 RunNameMaxLength = 20 )
View Source
const (
BatchSize = 100
)
View Source
const (
MlflowArtifactLocation = "mlflow.artifactLocation"
)
View Source
const RunIDMaxLength = 32
Variables ¶
View Source
var ErrInvalidOrderClauseInput = errors.New("input string is empty or only contains quote characters")
Functions ¶
Types ¶
type TrackingSQLStore ¶
type TrackingSQLStore struct {
// contains filtered or unexported fields
}
func NewTrackingSQLStore ¶
func (TrackingSQLStore) CreateExperiment ¶
func (s TrackingSQLStore) CreateExperiment( ctx context.Context, name string, artifactLocation string, tags []*entities.ExperimentTag, ) (string, *contract.Error)
func (TrackingSQLStore) DeleteExperiment ¶
func (TrackingSQLStore) DeleteTraceTag ¶
func (TrackingSQLStore) DeleteTraces ¶
func (TrackingSQLStore) Destroy ¶
func (s TrackingSQLStore) Destroy() error
func (TrackingSQLStore) GetExperiment ¶
func (s TrackingSQLStore) GetExperiment(ctx context.Context, id string) (*entities.Experiment, *contract.Error)
func (TrackingSQLStore) GetExperimentByName ¶
func (s TrackingSQLStore) GetExperimentByName( ctx context.Context, name string, ) (*entities.Experiment, *contract.Error)
func (TrackingSQLStore) GetMetricHistory ¶
func (TrackingSQLStore) GetTraceInfo ¶
func (TrackingSQLStore) GetTraceTag ¶
func (TrackingSQLStore) LogInputs ¶
func (s TrackingSQLStore) LogInputs( ctx context.Context, runID string, datasets []*entities.DatasetInput, ) *contract.Error
func (TrackingSQLStore) RenameExperiment ¶
func (TrackingSQLStore) RestoreExperiment ¶
func (TrackingSQLStore) RestoreRun ¶
func (TrackingSQLStore) SearchExperiments ¶
func (TrackingSQLStore) SearchRuns ¶
func (TrackingSQLStore) SetExperimentTag ¶
func (TrackingSQLStore) SetTraceTag ¶
func (s TrackingSQLStore) SetTraceTag( ctx context.Context, requestID, key, value string, ) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.