From 39adec528f9888b7d1a44db370bb19ff7504ab28 Mon Sep 17 00:00:00 2001 From: iguazio-deploy Date: Tue, 30 Jun 2020 14:32:12 +0000 Subject: [PATCH] Updated TSDB to v0.10.4 --- go.mod | 6 +- go.sum | 6 + vendor/github.com/v3io/frames/Jenkinsfile | 165 ++++--- vendor/github.com/v3io/frames/Makefile | 4 +- vendor/github.com/v3io/frames/column.go | 3 + vendor/github.com/v3io/frames/config.go | 28 +- vendor/github.com/v3io/frames/frames.proto | 31 +- vendor/github.com/v3io/frames/go.mod | 14 +- vendor/github.com/v3io/frames/go.sum | 83 +--- vendor/github.com/v3io/frames/pb/frames.pb.go | 457 ++++++++++++------ vendor/github.com/v3io/frames/types.go | 149 ++++++ .../v3io-go/pkg/dataplane/http/context.go | 20 +- .../v3io/v3io-go/pkg/dataplane/types.go | 1 + vendor/modules.txt | 6 +- 14 files changed, 665 insertions(+), 308 deletions(-) diff --git a/go.mod b/go.mod index 14910732e7a..f8359ba3891 100644 --- a/go.mod +++ b/go.mod @@ -84,7 +84,7 @@ require ( github.com/shurcooL/vfsgen v0.0.0-20180711163814-62bca832be04 github.com/smartystreets/goconvey v0.0.0-20190306220146-200a235640ff // indirect github.com/stretchr/testify v1.4.0 - github.com/v3io/v3io-tsdb v0.10.3 + github.com/v3io/v3io-tsdb v0.10.4 go.opencensus.io v0.19.2 // indirect golang.org/x/net v0.0.0-20190311183353-d8887717615a golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421 @@ -112,6 +112,6 @@ replace labix.org/v2/mgo => github.com/go-mgo/mgo v0.0.0-20180705113738-7446a034 replace launchpad.net/gocheck => github.com/go-check/check v0.0.0-20180628173108-788fd78401277ebd861206a03c884797c6ec5541 -replace github.com/v3io/frames => github.com/v3io/frames v0.7.5 +replace github.com/v3io/frames => github.com/v3io/frames v0.7.12 -replace github.com/v3io/v3io-tsdb => github.com/v3io/v3io-tsdb v0.10.3 +replace github.com/v3io/v3io-tsdb => github.com/v3io/v3io-tsdb v0.10.4 diff --git a/go.sum b/go.sum index a270a43cf0b..cfc4916473c 100644 --- a/go.sum +++ b/go.sum @@ -391,6 +391,8 @@ github.com/v3io/frames v0.7.3 h1:vaKntNCLyaGi9iWpp98Y6TafX369xlze2V25+bNM75g= github.com/v3io/frames v0.7.3/go.mod h1:WmmDTGhal5lDzzQbgGMozsAw/koEbmIPy0f/M2236dg= github.com/v3io/frames v0.7.5 h1:LGGt9MElviZROuNQ2QQby9bJiB9JFJrnDpcnGitJCus= github.com/v3io/frames v0.7.5/go.mod h1:KkRZR5A5o2z79m8gq3znwmEiORYD+ID4uwOKzATRcm4= +github.com/v3io/frames v0.7.12 h1:5021N6aksPDnhV+lD4JveznerxuF0glCNUsNat2toAU= +github.com/v3io/frames v0.7.12/go.mod h1:BwyOsh+le/SS1BOaEeekmbWS06yJgs+RNET1pjlO/TU= github.com/v3io/v3io-go v0.0.0-20180415000000-1486c75b0e590a14580f7d9b6cef7a944a231ca7 h1:J+ps6exCjowNidrtawSQglJQpKrJ6v8UjBVTNrRTpMs= github.com/v3io/v3io-go v0.0.0-20180415000000-1486c75b0e590a14580f7d9b6cef7a944a231ca7/go.mod h1:MHc+d/Jg/y8lV4B9sgwTvuS3tEE9wS+kqtU0+D0Sr78= github.com/v3io/v3io-go v0.0.0-20190826150152-1f2c9a9a61cb715410a35662f5ddab2b306f95e7 h1:Qx3yIJPtDTJVv/gck/009TrBF/JMwe5RM3N9aTZ4Mlo= @@ -413,6 +415,8 @@ github.com/v3io/v3io-go v0.1.5-0.20200316155009-cc83de374ff2 h1:9jIOiEqhu1bUAPl6 github.com/v3io/v3io-go v0.1.5-0.20200316155009-cc83de374ff2/go.mod h1:D0W1tjsVgcp4xk3ZI2fjKTKaOpYJLewN1BPN0x2osO4= github.com/v3io/v3io-go v0.1.5-0.20200413162202-5d20cf2c5c71 h1:yhMPIAWjePxFnhau/TydO7HhR64+skxvfB6wqDdAOOU= github.com/v3io/v3io-go v0.1.5-0.20200413162202-5d20cf2c5c71/go.mod h1:D0W1tjsVgcp4xk3ZI2fjKTKaOpYJLewN1BPN0x2osO4= +github.com/v3io/v3io-go v0.1.5-0.20200416113214-f1b82b9a8e82 h1:4LEQnRvqUtAk++AOKlrIUa13KJmmc7i4dy+gFej4vQk= +github.com/v3io/v3io-go v0.1.5-0.20200416113214-f1b82b9a8e82/go.mod h1:D0W1tjsVgcp4xk3ZI2fjKTKaOpYJLewN1BPN0x2osO4= github.com/v3io/v3io-go-http v0.0.0-20190221115935-53e2b487c9a2 h1:NJc63wM25iS+ci5z7LVwjWD4QM0QpTQw/fovKzatss0= github.com/v3io/v3io-go-http v0.0.0-20190221115935-53e2b487c9a2/go.mod h1:GXYcR9MxgfbE3BJdkXki5EclvtS8Nxu2RQNLA8hMMog= github.com/v3io/v3io-go-http v0.0.0-20190415143924-cc2fbcde6663/go.mod h1:GXYcR9MxgfbE3BJdkXki5EclvtS8Nxu2RQNLA8hMMog= @@ -481,6 +485,8 @@ github.com/v3io/v3io-tsdb v0.10.1 h1:COY5HMHLsuhoUhczcOR9dnzzzzhhO1s4a+A9wg3OkoM github.com/v3io/v3io-tsdb v0.10.1/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= github.com/v3io/v3io-tsdb v0.10.3 h1:slF/xX1QRaNhiQH91iPAatv4KAgG3Q2CoOSCsuQD6Y8= github.com/v3io/v3io-tsdb v0.10.3/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= +github.com/v3io/v3io-tsdb v0.10.4 h1:i7v9rKkSFBEGfob9IhiIv5PnLdMGwn+FXKVxOtAXByw= +github.com/v3io/v3io-tsdb v0.10.4/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.0.0 h1:BwIoZQbBsTo3v2F5lz5Oy3TlTq4wLKTLV260EVTEWco= diff --git a/vendor/github.com/v3io/frames/Jenkinsfile b/vendor/github.com/v3io/frames/Jenkinsfile index 4936679242c..c2d5a6d5f78 100644 --- a/vendor/github.com/v3io/frames/Jenkinsfile +++ b/vendor/github.com/v3io/frames/Jenkinsfile @@ -22,25 +22,31 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang-p parallel( 'test-py': { container('python37') { - dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - common.shellc("pip install pipenv") - common.shellc("make python-deps") - sh "make test-py" + stage('test-py') { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + common.shellc("pip install pipenv") + common.shellc("make python-deps") + sh "make test-py" + } } } }, 'test-go': { container('golang') { - dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - session = '{"url":"' + FRAMES_CI_URL + '","user":"' + FRAMES_CI_USERNAME + '","password":"' + FRAMES_CI_PASSWORD + '","container":"bigdata"}' - common.shellc("V3IO_SESSION='${session}' make test-go") + stage('test-go') { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + session = '{"url":"' + FRAMES_CI_URL + '","user":"' + FRAMES_CI_USERNAME + '","password":"' + FRAMES_CI_PASSWORD + '","container":"bigdata"}' + common.shellc("V3IO_SESSION='${session}' make test-go") + } } } }, 'make lint': { container('golang') { - dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - sh "make lint" + stage('make lint') { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + sh "make lint" + } } } } @@ -48,30 +54,36 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang-p } github.pr(git_deploy_user, git_project, git_project_user, git_project_upstream_user, true, GIT_TOKEN) { parallel( - 'test-py': { - container('python37') { + 'test-py': { + container('python37') { + stage('test-py') { dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { common.shellc("pip install pipenv") common.shellc("make python-deps") - sh "make test-py" + sh "make test-py" } } - }, - 'test-go': { - container('golang') { + } + }, + 'test-go': { + container('golang') { + stage('test-go') { dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { session = '{"url":"' + FRAMES_CI_URL + '","user":"' + FRAMES_CI_USERNAME + '","password":"' + FRAMES_CI_PASSWORD + '","container":"bigdata"}' common.shellc("V3IO_SESSION='${session}' make test-go") } } - }, - 'make lint': { - container('golang') { - dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - sh "make lint" - } - } - } + } + }, + 'make lint': { + container('golang') { + stage('make lint') { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + sh "make lint" + } + } + } + } ) } github.release(git_deploy_user, git_project, git_project_user, git_project_upstream_user, true, GIT_TOKEN) { @@ -80,95 +92,120 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang-p parallel( 'build linux binaries': { container('golang') { - dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - common.shellc("FRAMES_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=linux make frames-bin") + stage('build linux binaries') { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + common.shellc("FRAMES_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=linux make frames-bin") + } } } }, 'build darwin binaries': { container('golang') { - dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - common.shellc("FRAMES_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=darwin make frames-bin") + stage('build darwin binaries') { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + common.shellc("FRAMES_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=darwin make frames-bin") + } } } }, 'build windows binaries': { container('golang') { - dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - common.shellc("FRAMES_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=windows make frames-bin") + stage('build windows binaries') { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + common.shellc("FRAMES_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=windows make frames-bin") + } } } }, 'build frames': { + container('docker-cmd') { + stage('build frames') { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + common.shellc("FRAMES_REPOSITORY= FRAMES_TAG=${github.DOCKER_TAG_VERSION} make build") + } + } + } + }, + 'build framulate': { container('docker-cmd') { dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - common.shellc("FRAMES_REPOSITORY= FRAMES_TAG=${github.DOCKER_TAG_VERSION} make build") + common.shellc("FRAMES_REPOSITORY= FRAMES_TAG=${github.DOCKER_TAG_VERSION} make build-framulate") } } }, - ) parallel( 'upload linux binaries': { container('jnlp') { - github.upload_asset(git_project, git_project_user, "framesd-${github.TAG_VERSION}-linux-amd64", RELEASE_ID, GIT_TOKEN, "${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") + stage('upload linux binaries') { + github.upload_asset(git_project, git_project_user, "framesd-${github.TAG_VERSION}-linux-amd64", RELEASE_ID, GIT_TOKEN, "${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") + } } }, 'upload linux binaries artifactory': { container('jnlp') { - withCredentials([ - string(credentialsId: pipelinex.PackagesRepo.ARTIFACTORY_IGUAZIO[2], variable: 'PACKAGES_ARTIFACTORY_PASSWORD') - ]) { - common.upload_file_to_artifactory(pipelinex.PackagesRepo.ARTIFACTORY_IGUAZIO[0], pipelinex.PackagesRepo.ARTIFACTORY_IGUAZIO[1], PACKAGES_ARTIFACTORY_PASSWORD, "iguazio-devops/k8s", "framesd-${github.TAG_VERSION}-linux-amd64", "${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") + stage('upload linux binaries artifactory') { + withCredentials([ + string(credentialsId: pipelinex.PackagesRepo.ARTIFACTORY_IGUAZIO[2], variable: 'PACKAGES_ARTIFACTORY_PASSWORD') + ]) { + common.upload_file_to_artifactory(pipelinex.PackagesRepo.ARTIFACTORY_IGUAZIO[0], pipelinex.PackagesRepo.ARTIFACTORY_IGUAZIO[1], PACKAGES_ARTIFACTORY_PASSWORD, "iguazio-devops/k8s", "framesd-${github.TAG_VERSION}-linux-amd64", "${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") + } } } }, 'upload darwin binaries': { container('jnlp') { - github.upload_asset(git_project, git_project_user, "framesd-${github.TAG_VERSION}-darwin-amd64", RELEASE_ID, GIT_TOKEN, "${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") + stage('upload darwin binaries') { + github.upload_asset(git_project, git_project_user, "framesd-${github.TAG_VERSION}-darwin-amd64", RELEASE_ID, GIT_TOKEN, "${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") + } } }, 'upload windows binaries': { container('jnlp') { - github.upload_asset(git_project, git_project_user, "framesd-${github.TAG_VERSION}-windows-amd64", RELEASE_ID, GIT_TOKEN, "${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") + stage('upload windows binaries') { + github.upload_asset(git_project, git_project_user, "framesd-${github.TAG_VERSION}-windows-amd64", RELEASE_ID, GIT_TOKEN, "${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") + } } }, 'upload to pypi': { container('python37') { - release_body = github.get_release_body("frames", git_project_user, github.TAG_VERSION, GIT_TOKEN) - if (release_body.startsWith("Autorelease")) { - echo "Autorelease is not uploading frames py to pypi." - } else if( "${github.TAG_VERSION}" != "unstable" ) { - withCredentials([ - usernamePassword(credentialsId: "iguazio-prod-pypi-credentials", passwordVariable: 'V3IO_PYPI_PASSWORD', usernameVariable: 'V3IO_PYPI_USER') - ]) { - dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { - FRAMES_PYPI_VERSION = sh( - script: "echo ${github.DOCKER_TAG_VERSION} | awk -F - '{print \$1}'", - returnStdout: true - ).trim() - common.shellc("pip install pipenv") - common.shellc("make python-deps") - sh "make test-py" - try { - common.shellc("TRAVIS_REPO_SLUG=v3io/frames V3IO_PYPI_USER=${V3IO_PYPI_USER} V3IO_PYPI_PASSWORD=${V3IO_PYPI_PASSWORD} TRAVIS_TAG=${FRAMES_PYPI_VERSION} make pypi") - } catch (err) { - unstable("Failed uploading to pypi") - // Do not continue stages - throw err + stage('upload to pypi') { + release_body = github.get_release_body("frames", git_project_user, github.TAG_VERSION, GIT_TOKEN) + if (release_body.startsWith("Autorelease")) { + echo "Autorelease is not uploading frames py to pypi." + } else if( "${github.TAG_VERSION}" != "unstable" ) { + withCredentials([ + usernamePassword(credentialsId: "iguazio-prod-pypi-credentials", passwordVariable: 'V3IO_PYPI_PASSWORD', usernameVariable: 'V3IO_PYPI_USER') + ]) { + dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") { + FRAMES_PYPI_VERSION = sh( + script: "echo ${github.DOCKER_TAG_VERSION} | awk -F - '{print \$1}'", + returnStdout: true + ).trim() + common.shellc("pip install pipenv") + common.shellc("make python-deps") + sh "make test-py" + try { + common.shellc("TRAVIS_REPO_SLUG=v3io/frames V3IO_PYPI_USER=${V3IO_PYPI_USER} V3IO_PYPI_PASSWORD=${V3IO_PYPI_PASSWORD} TRAVIS_TAG=${FRAMES_PYPI_VERSION} make pypi") + } catch (err) { + unstable("Failed uploading to pypi") + // Do not continue stages + throw err + } } } + } else { + echo "Uploading to pypi only stable version" } - } else { - echo "Uploading to pypi only stable version" } - } + } }, ) - container('docker-cmd') { - dockerx.images_push_multi_registries(["frames:${github.DOCKER_TAG_VERSION}"], [pipelinex.DockerRepo.ARTIFACTORY_IGUAZIO, pipelinex.DockerRepo.DOCKER_HUB, pipelinex.DockerRepo.QUAY_IO]) + dockerx.images_push_multi_registries( + ["frames:${github.DOCKER_TAG_VERSION}", "framulate:${github.DOCKER_TAG_VERSION}"], + [pipelinex.DockerRepo.ARTIFACTORY_IGUAZIO, pipelinex.DockerRepo.DOCKER_HUB, pipelinex.DockerRepo.QUAY_IO]) } } } diff --git a/vendor/github.com/v3io/frames/Makefile b/vendor/github.com/v3io/frames/Makefile index c48bf53f50e..0ef774285cc 100644 --- a/vendor/github.com/v3io/frames/Makefile +++ b/vendor/github.com/v3io/frames/Makefile @@ -129,7 +129,7 @@ endif .PHONY: impi impi: @echo Installing impi... - go get -u github.com/pavius/impi/cmd/impi + GO111MODULE=off go get -u github.com/pavius/impi/cmd/impi @echo Verifying imports... $(GOPATH)/bin/impi \ --local github.com/iguazio/provazio \ @@ -141,7 +141,7 @@ impi: $(GOPATH)/bin/golangci-lint: @echo Installing golangci-lint... - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.10.2 + curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.27.0 cp ./bin/golangci-lint $(GOPATH)/bin/ .PHONY: lint diff --git a/vendor/github.com/v3io/frames/column.go b/vendor/github.com/v3io/frames/column.go index ade6a95a9e4..519c344d0ca 100644 --- a/vendor/github.com/v3io/frames/column.go +++ b/vendor/github.com/v3io/frames/column.go @@ -402,6 +402,9 @@ func NewLabelColumn(name string, value interface{}, size int) (Column, error) { case time.Time: msg.Dtype = pb.DType_TIME msg.Times = []int64{value.(time.Time).UnixNano()} + case nil: + msg.Dtype = pb.DType_NULL + msg.Bools = []bool{false} default: return nil, fmt.Errorf("unknown data type %T", value) } diff --git a/vendor/github.com/v3io/frames/config.go b/vendor/github.com/v3io/frames/config.go index e70169c8fce..3855e222379 100644 --- a/vendor/github.com/v3io/frames/config.go +++ b/vendor/github.com/v3io/frames/config.go @@ -45,11 +45,22 @@ type Config struct { SessionKey string `json:"sessionKey,omitempty"` // Number of parallel V3IO worker routines - Workers int `json:"workers"` + Workers int `json:"workers"` + UpdateWorkersPerVN int `json:"updateWorkersPerVN"` QuerierCacheSize int `json:"querierCacheSize"` TsdbLoadPartitionsFromSchemaAttr bool `json:"tsdbLoadPartitionsFromSchemaAttr"` + // History server related configs + WriteMonitoringLogsTimeoutSeconds int `json:writeMonitoringLogsTimeoutSeconds` + PendingLogsBatchSize int `json:pendingLogsBatchSize` + LogsFolderPath string `json:logsFolderPath` + LogsContainer string `json:logsContainer` + MaxBytesInNginxRequest int `json:maxBytesInNginxRequest` + HistoryFileDurationSpans string `json:historyFileDurationSpans` + HistoryFileNum int `json:historyFileNum` + DisableHistory bool `json:disableHistory` + Backends []*BackendConfig `json:"backends,omitempty"` DisableProfiling bool `json:"disableProfiling,omitempty"` @@ -126,6 +137,7 @@ type BackendConfig struct { Type string `json:"type"` // v3io, csv, ... Name string `json:"name"` Workers int `json:"workers"` + UpdateWorkersPerVN int `json:"updateWorkersPerVN"` V3ioGoWorkers int `json:"v3ioGoWorkers"` V3ioGoRequestChanLength int `json:"v3ioGoRequestChanLength"` MaxConnections int `json:"maxConnections"` @@ -190,8 +202,18 @@ func initBackendDefaults(cfg *BackendConfig, framesConfig *Config) { cfg.Workers = framesConfig.Workers } + if cfg.UpdateWorkersPerVN == 0 { + if framesConfig.UpdateWorkersPerVN == 0 { + cfg.UpdateWorkersPerVN = 8 + } else { + cfg.UpdateWorkersPerVN = framesConfig.UpdateWorkersPerVN + } + + } + if cfg.MaxConnections == 0 { - cfg.MaxConnections = 2048 + // Generally, on a Linux system, there are 28k ephemeral ports available. We default to a 10k max. + cfg.MaxConnections = 10000 } if cfg.DialTimeoutSeconds == 0 { @@ -203,7 +225,7 @@ func initBackendDefaults(cfg *BackendConfig, framesConfig *Config) { case "csv", "stream": cfg.V3ioGoWorkers = 256 default: - cfg.V3ioGoWorkers = cfg.MaxConnections / 2 + cfg.V3ioGoWorkers = 1024 } } diff --git a/vendor/github.com/v3io/frames/frames.proto b/vendor/github.com/v3io/frames/frames.proto index 8f8c3f1c9f2..b7c62cb603e 100644 --- a/vendor/github.com/v3io/frames/frames.proto +++ b/vendor/github.com/v3io/frames/frames.proto @@ -116,12 +116,12 @@ message ReadRequest { TableSchema schema = 3; string data_format = 4; bool row_layout = 5; - bool multi_index = 6; - string query = 7; // SQL Query + bool multi_index = 6; // TSDB + string query = 7; // TSDB - SQL Query string table = 8; // Table name repeated string columns = 9; string filter = 10; - string group_by = 11; + string group_by = 11; // TSDB repeated JoinStruct join = 12; int64 limit = 13; @@ -154,11 +154,11 @@ message InitialWriteRequest { string backend = 2; string table = 3; Frame initial_data = 4; - string expression = 5; - bool more = 6; - repeated string partition_keys = 7; - string condition = 8; - string save_mode = 9; + string expression = 5; // NoSQL + bool more = 6; // Stream + repeated string partition_keys = 7; // NoSQL + string condition = 8; // NoSQL + string save_mode = 9; // NoSQL } message WriteRequest { @@ -225,10 +225,25 @@ message ExecResponse { Frame frame = 1; } +message HistoryRequest { + Session session = 1; + string backend = 2; // Filter by backend type + string table = 3; // Filter by Table name + string user = 4; // Filter by the user executed the command + string action = 5; // Filter by Action type + string min_start_time = 6; // Filter time range + string max_start_time = 7; // Filter time range + string container = 8; // Filter time range + int64 min_duration = 9; // Filter time range + int64 max_duration = 10; // Filter time range +} + + service Frames { rpc Read(ReadRequest) returns (stream Frame) {} rpc Write(stream WriteRequest) returns (WriteRespose) {} rpc Create(CreateRequest) returns (CreateResponse) {} rpc Delete(DeleteRequest) returns (DeleteResponse) {} rpc Exec(ExecRequest) returns (ExecResponse) {} + rpc History(HistoryRequest) returns (stream Frame) {} } diff --git a/vendor/github.com/v3io/frames/go.mod b/vendor/github.com/v3io/frames/go.mod index 373fdd91d51..8e2639b27cf 100644 --- a/vendor/github.com/v3io/frames/go.mod +++ b/vendor/github.com/v3io/frames/go.mod @@ -1,24 +1,26 @@ module github.com/v3io/frames -go 1.12 +go 1.14 require ( github.com/ghodss/yaml v1.0.0 github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 github.com/golang/protobuf v1.2.0 - github.com/inconshreveable/mousetrap v1.0.0 // indirect - github.com/kr/pretty v0.2.0 // indirect github.com/nuclio/errors v0.0.1 github.com/nuclio/logger v0.0.1 github.com/nuclio/zap v0.0.2 github.com/pkg/errors v0.8.1 github.com/stretchr/testify v1.4.0 - github.com/v3io/v3io-go v0.1.5-0.20200413162202-5d20cf2c5c71 - github.com/v3io/v3io-tsdb v0.10.3 + github.com/v3io/v3io-go v0.1.5-0.20200416113214-f1b82b9a8e82 + github.com/v3io/v3io-tsdb v0.10.4 github.com/valyala/fasthttp v1.2.0 github.com/xwb1989/sqlparser v0.0.0-20180606152119-120387863bf2 golang.org/x/net v0.0.0-20181114220301-adae6a3d119a google.golang.org/grpc v1.17.0 ) -replace github.com/xwb1989/sqlparser => github.com/v3io/sqlparser v0.0.0-20190306105200-4d7273501871 +replace ( + github.com/v3io/frames => ./ + github.com/v3io/v3io-go => github.com/v3io/v3io-go v0.0.0-20200602081255-9a94144f811c + github.com/xwb1989/sqlparser => github.com/v3io/sqlparser v0.0.0-20190306105200-4d7273501871 +) diff --git a/vendor/github.com/v3io/frames/go.sum b/vendor/github.com/v3io/frames/go.sum index 64b1eeb2476..eb03a990711 100644 --- a/vendor/github.com/v3io/frames/go.sum +++ b/vendor/github.com/v3io/frames/go.sum @@ -5,7 +5,6 @@ github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cpuguy83/go-md2man v1.0.8/go.mod h1:N6JayAiVKtlHSnuTCeuLSQVs75hb8q+dYQLjr7cDsKY= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -14,124 +13,64 @@ github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-00000000000000-611e8accdfc92c4187d399e95ce826046d4c8d73/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 h1:uHTyIjqVhYRhLbJ8nIiOJHkEZZ+5YoOsAbD3sk82NiE= github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.7 h1:Y+UAYTZ7gDEuOfhxKWy+dvb5dRQ6rJjFSdX2HZY1/gI= github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.4.0 h1:8nsMz3tWa9SWWPL60G1V6CUsf4lLjWLTNEtibhe8gh8= github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e h1:+lIPJOWl+jSiJOc70QXJ07+2eg2Jy2EC7Mi11BWujeM= github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1 h1:G1f5SKeVxmagw/IyvzvtZE4Gybcc4Tr1tf7I8z0XgOg= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5 h1:tHXDdz1cpzGaovsTB+TVB8q90WEokoVmfMqoVcrLUgw= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/nuclio/errors v0.0.1 h1:JoADBDnhRKjW05Npu5CLS27Peo7gx+QZcNrLwINV6UY= github.com/nuclio/errors v0.0.1/go.mod h1:it2rUqDarIL8PasLYZo0Q1Ebsx4NRPM+OyYYakgNyrQ= -github.com/nuclio/logger v0.0.0-20180410162335-ccc5ab971395/go.mod h1:ttazNAqTxKjQ7XrGDZxecumGa9KCIuJh88gzFY1mRXo= github.com/nuclio/logger v0.0.0-20190303161055-fc1e4b16d127/go.mod h1:ttazNAqTxKjQ7XrGDZxecumGa9KCIuJh88gzFY1mRXo= github.com/nuclio/logger v0.0.1 h1:e+vT/Ug65RC+u0QX2J+lq3P57ZBwJ1ZA6Q2LCEcViwE= github.com/nuclio/logger v0.0.1/go.mod h1:ttazNAqTxKjQ7XrGDZxecumGa9KCIuJh88gzFY1mRXo= github.com/nuclio/nuclio-sdk-go v0.0.0-20190205170814-3b507fbd0324/go.mod h1:NqMgotiF6Y0Ho4+i5AvJhH3FRKAyL4IMaMv/eoUOkKQ= -github.com/nuclio/nuclio-test-go v0.0.0-20180704132150-0ce6587f8e37/go.mod h1:aO4cdrk1L42/y4l7IPeNAcY+9bb060Sjpr56+LiTmMc= -github.com/nuclio/zap v0.0.0-20180228181516-4a2bd2f9ef28/go.mod h1:SUxPsgePvlyjx6c5MtGdB50pf0IQThtlyLwISLboeuc= github.com/nuclio/zap v0.0.2 h1:rY5PkMOl8CTkqRqIPuxziBiKK6Mq/8oEurfgRnNtqf0= github.com/nuclio/zap v0.0.2/go.mod h1:SUxPsgePvlyjx6c5MtGdB50pf0IQThtlyLwISLboeuc= -github.com/pavius/zap v0.0.0-20180228181622-8d52692529b8/go.mod h1:6FWOCx06uh50GClv8S2cfk3asqTJs3qq3ZNRtLZE77I= github.com/pavius/zap v1.4.2-0.20180228181622-8d52692529b8 h1:WqLgmr/wj9TO5Sc6oYPQRAJBxuHE0NTeuVeFnT+FZVo= github.com/pavius/zap v1.4.2-0.20180228181622-8d52692529b8/go.mod h1:6FWOCx06uh50GClv8S2cfk3asqTJs3qq3ZNRtLZE77I= github.com/philhofer/fwd v1.0.0 h1:UbZqGr5Y38ApvM/V/jEljVxwocdweyH+vmYvRPBnbqQ= github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/prometheus v2.5.0+incompatible/go.mod h1:oAIUtOny2rjMX0OWN5vPR5/q/twIROJvdqnQKDdil/s= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a h1:9ZKAASQSHhDYGoxY8uLVpewe1GDZ2vu2Tr/vTdVAkFQ= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rs/xid v1.1.0/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= -github.com/russross/blackfriday v1.5.2+incompatible/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/tinylib/msgp v1.1.0 h1:9fQd+ICuRIu/ue4vxJZu6/LzxN0HwMds2nq/0cFvxHU= -github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.1 h1:TnCZ3FIuKeaIy+F45+Cnp+caqdXGy4z74HvwXN+570Y= github.com/tinylib/msgp v1.1.1/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= -github.com/v3io/frames v0.0.0-20190328123118-1dad1ff610509e7b087d9cd390ed1b452caecf15/go.mod h1:6aKW4Wl4A+gQhXH0JRCVOLgwvcrLyk+fqEpemuie094= -github.com/v3io/frames v0.6.8-v0.9.11/go.mod h1:V3j8yjzhNNGXjosCBn7Qf8C8jo25Y+7Ge/SkTK9ya9Q= -github.com/v3io/frames v0.6.14-v0.9.18/go.mod h1:O/n9q49+q225y/jrrXjAQbUI/v03nV/H52z/qPQCbNE= github.com/v3io/sqlparser v0.0.0-20190306105200-4d7273501871 h1:myF4tU/HdFWU1UzMdf16cHRbownzsyvL7VKIHqkrSvo= github.com/v3io/sqlparser v0.0.0-20190306105200-4d7273501871/go.mod h1:QD2Bo64oyTWzeV8RFehXS0hZEDFgOK99/h2a6ErRu6E= -github.com/v3io/v3io-go v0.0.0-20191024084247-042df6b5ee40eb60996ab7f4e74ec9aa07d996c4/go.mod h1:IFb6dJiyvJnOjXUoCoPJ5UViaYjgVYmqJb4fD1qDeLk= -github.com/v3io/v3io-go v0.0.0-20191120130819-9003ae83f0b673afb88b862d8f46dcc818684450/go.mod h1:IFb6dJiyvJnOjXUoCoPJ5UViaYjgVYmqJb4fD1qDeLk= -github.com/v3io/v3io-go v0.1.5-0.20200301152134-6880d30985de h1:UcOuqrNG4DFs50f+RwxIcMOlWZZzzBQCe8hss6ZS3p0= -github.com/v3io/v3io-go v0.1.5-0.20200301152134-6880d30985de/go.mod h1:D0W1tjsVgcp4xk3ZI2fjKTKaOpYJLewN1BPN0x2osO4= -github.com/v3io/v3io-go v0.1.5-0.20200308131040-79c5a91d3daf h1:GdM8m1DKlA1pF4pyAM+QC+Tt7JUgZYQKOxFYk3MYZd0= -github.com/v3io/v3io-go v0.1.5-0.20200308131040-79c5a91d3daf/go.mod h1:D0W1tjsVgcp4xk3ZI2fjKTKaOpYJLewN1BPN0x2osO4= -github.com/v3io/v3io-go v0.1.5-0.20200316155009-cc83de374ff2 h1:9jIOiEqhu1bUAPl6KFiKvpFhQWkcNGVp/9OC72F+9Os= -github.com/v3io/v3io-go v0.1.5-0.20200316155009-cc83de374ff2/go.mod h1:D0W1tjsVgcp4xk3ZI2fjKTKaOpYJLewN1BPN0x2osO4= -github.com/v3io/v3io-go v0.1.5-0.20200413162202-5d20cf2c5c71 h1:yhMPIAWjePxFnhau/TydO7HhR64+skxvfB6wqDdAOOU= -github.com/v3io/v3io-go v0.1.5-0.20200413162202-5d20cf2c5c71/go.mod h1:D0W1tjsVgcp4xk3ZI2fjKTKaOpYJLewN1BPN0x2osO4= -github.com/v3io/v3io-go-http v0.0.0-20190221115935-53e2b487c9a2 h1:NJc63wM25iS+ci5z7LVwjWD4QM0QpTQw/fovKzatss0= -github.com/v3io/v3io-go-http v0.0.0-20190221115935-53e2b487c9a2/go.mod h1:GXYcR9MxgfbE3BJdkXki5EclvtS8Nxu2RQNLA8hMMog= -github.com/v3io/v3io-tsdb v0.0.0-20190328071546-4e85f3df2d205fc7368d54184bb2ceff949ab4bd/go.mod h1:A+5yKC16QxLf+Fy5v7VvIxSw+jwsKHLhUS7dCYFDLAA= -github.com/v3io/v3io-tsdb v0.9.11 h1:Offcqj7OzAezIYMqo+2l9ewvMS3gi3yb2bN5wcelago= -github.com/v3io/v3io-tsdb v0.9.11/go.mod h1:K5jxlyxnb/HGyFlPrJQtIbMWQBY6USFBsHYI/vzMKVo= -github.com/v3io/v3io-tsdb v0.9.18 h1:KWH3+cesiyOw0II1rZ5XjVmqlImvotneDTL6NSRei9I= -github.com/v3io/v3io-tsdb v0.9.18/go.mod h1:niG39x0WSqZNbRoy+WUZ1jb0t3ClV/tCU3Bsi1yUamc= -github.com/v3io/v3io-tsdb v0.9.19 h1:re7tUbpHD7ac1OYf/Vs64we257c8XRMgbWV1mRx//TQ= -github.com/v3io/v3io-tsdb v0.9.19/go.mod h1:PzSaxWWm4buDT8JAXqpMB5fFS/4IK7fgYI6X919RNww= -github.com/v3io/v3io-tsdb v0.9.20 h1:YrUWQ1oD387R71Y1emnaaAFJKsDhtjjVjUufhbuBQJc= -github.com/v3io/v3io-tsdb v0.9.20/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= -github.com/v3io/v3io-tsdb v0.9.21 h1:lnqPXYPLch78GU19wnTcv9Kg75l15FkvWFmL7x0XXWY= -github.com/v3io/v3io-tsdb v0.9.21/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= -github.com/v3io/v3io-tsdb v0.9.22 h1:tRp5ICMcjjua26cTUKkWpZU2cXrjiXqbj12EkNauep0= -github.com/v3io/v3io-tsdb v0.9.22/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= -github.com/v3io/v3io-tsdb v0.9.23 h1:BE7AcJACWoh0OXPaXgIUiDB+bFkYWcsgL6s2xa2C60g= -github.com/v3io/v3io-tsdb v0.9.23/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= -github.com/v3io/v3io-tsdb v0.9.24 h1:99C89uv0f8qet4RLuI3baNMUElDeaiVaaO74zbi0qHw= -github.com/v3io/v3io-tsdb v0.9.24/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= -github.com/v3io/v3io-tsdb v0.10.1/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= -github.com/v3io/v3io-tsdb v0.10.2 h1:sNexIKjecE0ejnNPzHWYVydzkpdr3gDI0AHyAKEyVSA= -github.com/v3io/v3io-tsdb v0.10.2/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= -github.com/v3io/v3io-tsdb v0.10.3 h1:slF/xX1QRaNhiQH91iPAatv4KAgG3Q2CoOSCsuQD6Y8= -github.com/v3io/v3io-tsdb v0.10.3/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= +github.com/v3io/v3io-go v0.0.0-20200602081255-9a94144f811c h1:IX8Gm8g/hh4Al5g9bHzxw+QbWwlruiLE8tUhL6PKAi4= +github.com/v3io/v3io-go v0.0.0-20200602081255-9a94144f811c/go.mod h1:5poBlcjZG5TiexRTYI44PE6tHzZz5Z60w+iS899pWtc= +github.com/v3io/v3io-tsdb v0.10.4 h1:i7v9rKkSFBEGfob9IhiIv5PnLdMGwn+FXKVxOtAXByw= +github.com/v3io/v3io-tsdb v0.10.4/go.mod h1:8xi2vWbHDIVfOsENKPAI+X70F7JZvfD9ucYYJ5YJYeI= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.0.0 h1:BwIoZQbBsTo3v2F5lz5Oy3TlTq4wLKTLV260EVTEWco= -github.com/valyala/fasthttp v1.0.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s= github.com/valyala/fasthttp v1.2.0 h1:dzZJf2IuMiclVjdw0kkT+f9u4YdrapbNyGAN47E/qnk= github.com/valyala/fasthttp v1.2.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s= github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= @@ -139,20 +78,17 @@ go.uber.org/atomic v1.3.2 h1:2Oa65PReHzfn29GpvgsYwloV9AVFHPDk8tYxt2c2tr4= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/multierr v1.1.0 h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a h1:gOpx8G595UYyvj8UK4+OFyY4rx037g3fmfhe5SasG3U= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f h1:Bl/8QSvNqXvPGPGXa2z5xUTmV7VDcZyvRZ+QQXkXTZQ= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a h1:WXEvlFVvvGxCJLG6REjsT03iWnKLEWinaScsxF2Vm2o= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223 h1:DH4skfRX4EBpamg7iV4ZlCpblAHI6s6TDM39bFZumv8= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= @@ -162,15 +98,10 @@ golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGm google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 h1:Nw54tB0rB7hY/N0NQvRW8DG4Yk3Q6T9cu9RcFQDu1tc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20181026194446-8b5d7a19e2d9 h1:26lptpu+T60F849wXfTQMz9ecFf6nTQM0J1JjLSga5U= -google.golang.org/genproto v0.0.0-20181026194446-8b5d7a19e2d9/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858 h1:wN+eVZ7U+gqdqkec6C6VXR1OFf9a5Ul9ETzeYsYv20g= diff --git a/vendor/github.com/v3io/frames/pb/frames.pb.go b/vendor/github.com/v3io/frames/pb/frames.pb.go index 9c96946bab9..79dc180a30f 100644 --- a/vendor/github.com/v3io/frames/pb/frames.pb.go +++ b/vendor/github.com/v3io/frames/pb/frames.pb.go @@ -55,7 +55,7 @@ func (x DType) String() string { return proto.EnumName(DType_name, int32(x)) } func (DType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{0} + return fileDescriptor_frames_8eec434b81b14290, []int{0} } type ErrorOptions int32 @@ -78,7 +78,7 @@ func (x ErrorOptions) String() string { return proto.EnumName(ErrorOptions_name, int32(x)) } func (ErrorOptions) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{1} + return fileDescriptor_frames_8eec434b81b14290, []int{1} } type Column_Kind int32 @@ -101,7 +101,7 @@ func (x Column_Kind) String() string { return proto.EnumName(Column_Kind_name, int32(x)) } func (Column_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{0, 0} + return fileDescriptor_frames_8eec434b81b14290, []int{0, 0} } type Column struct { @@ -124,7 +124,7 @@ func (m *Column) Reset() { *m = Column{} } func (m *Column) String() string { return proto.CompactTextString(m) } func (*Column) ProtoMessage() {} func (*Column) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{0} + return fileDescriptor_frames_8eec434b81b14290, []int{0} } func (m *Column) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Column.Unmarshal(m, b) @@ -225,7 +225,7 @@ func (m *Value) Reset() { *m = Value{} } func (m *Value) String() string { return proto.CompactTextString(m) } func (*Value) ProtoMessage() {} func (*Value) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{1} + return fileDescriptor_frames_8eec434b81b14290, []int{1} } func (m *Value) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Value.Unmarshal(m, b) @@ -443,7 +443,7 @@ func (m *NullValuesMap) Reset() { *m = NullValuesMap{} } func (m *NullValuesMap) String() string { return proto.CompactTextString(m) } func (*NullValuesMap) ProtoMessage() {} func (*NullValuesMap) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{2} + return fileDescriptor_frames_8eec434b81b14290, []int{2} } func (m *NullValuesMap) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NullValuesMap.Unmarshal(m, b) @@ -485,7 +485,7 @@ func (m *Frame) Reset() { *m = Frame{} } func (m *Frame) String() string { return proto.CompactTextString(m) } func (*Frame) ProtoMessage() {} func (*Frame) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{3} + return fileDescriptor_frames_8eec434b81b14290, []int{3} } func (m *Frame) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Frame.Unmarshal(m, b) @@ -556,7 +556,7 @@ func (m *SchemaField) Reset() { *m = SchemaField{} } func (m *SchemaField) String() string { return proto.CompactTextString(m) } func (*SchemaField) ProtoMessage() {} func (*SchemaField) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{4} + return fileDescriptor_frames_8eec434b81b14290, []int{4} } func (m *SchemaField) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SchemaField.Unmarshal(m, b) @@ -623,7 +623,7 @@ func (m *SchemaKey) Reset() { *m = SchemaKey{} } func (m *SchemaKey) String() string { return proto.CompactTextString(m) } func (*SchemaKey) ProtoMessage() {} func (*SchemaKey) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{5} + return fileDescriptor_frames_8eec434b81b14290, []int{5} } func (m *SchemaKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SchemaKey.Unmarshal(m, b) @@ -675,7 +675,7 @@ func (m *TableSchema) Reset() { *m = TableSchema{} } func (m *TableSchema) String() string { return proto.CompactTextString(m) } func (*TableSchema) ProtoMessage() {} func (*TableSchema) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{6} + return fileDescriptor_frames_8eec434b81b14290, []int{6} } func (m *TableSchema) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TableSchema.Unmarshal(m, b) @@ -754,7 +754,7 @@ func (m *JoinStruct) Reset() { *m = JoinStruct{} } func (m *JoinStruct) String() string { return proto.CompactTextString(m) } func (*JoinStruct) ProtoMessage() {} func (*JoinStruct) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{7} + return fileDescriptor_frames_8eec434b81b14290, []int{7} } func (m *JoinStruct) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JoinStruct.Unmarshal(m, b) @@ -791,7 +791,7 @@ func (m *Session) Reset() { *m = Session{} } func (m *Session) String() string { return proto.CompactTextString(m) } func (*Session) ProtoMessage() {} func (*Session) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{8} + return fileDescriptor_frames_8eec434b81b14290, []int{8} } func (m *Session) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Session.Unmarshal(m, b) @@ -902,7 +902,7 @@ func (m *ReadRequest) Reset() { *m = ReadRequest{} } func (m *ReadRequest) String() string { return proto.CompactTextString(m) } func (*ReadRequest) ProtoMessage() {} func (*ReadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{9} + return fileDescriptor_frames_8eec434b81b14290, []int{9} } func (m *ReadRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRequest.Unmarshal(m, b) @@ -1144,7 +1144,7 @@ func (m *InitialWriteRequest) Reset() { *m = InitialWriteRequest{} } func (m *InitialWriteRequest) String() string { return proto.CompactTextString(m) } func (*InitialWriteRequest) ProtoMessage() {} func (*InitialWriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{10} + return fileDescriptor_frames_8eec434b81b14290, []int{10} } func (m *InitialWriteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InitialWriteRequest.Unmarshal(m, b) @@ -1241,7 +1241,7 @@ func (m *WriteRequest) Reset() { *m = WriteRequest{} } func (m *WriteRequest) String() string { return proto.CompactTextString(m) } func (*WriteRequest) ProtoMessage() {} func (*WriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{11} + return fileDescriptor_frames_8eec434b81b14290, []int{11} } func (m *WriteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteRequest.Unmarshal(m, b) @@ -1384,7 +1384,7 @@ func (m *WriteRespose) Reset() { *m = WriteRespose{} } func (m *WriteRespose) String() string { return proto.CompactTextString(m) } func (*WriteRespose) ProtoMessage() {} func (*WriteRespose) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{12} + return fileDescriptor_frames_8eec434b81b14290, []int{12} } func (m *WriteRespose) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WriteRespose.Unmarshal(m, b) @@ -1441,7 +1441,7 @@ func (m *CreateRequest) Reset() { *m = CreateRequest{} } func (m *CreateRequest) String() string { return proto.CompactTextString(m) } func (*CreateRequest) ProtoMessage() {} func (*CreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{13} + return fileDescriptor_frames_8eec434b81b14290, []int{13} } func (m *CreateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateRequest.Unmarshal(m, b) @@ -1541,7 +1541,7 @@ func (m *CreateResponse) Reset() { *m = CreateResponse{} } func (m *CreateResponse) String() string { return proto.CompactTextString(m) } func (*CreateResponse) ProtoMessage() {} func (*CreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{14} + return fileDescriptor_frames_8eec434b81b14290, []int{14} } func (m *CreateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateResponse.Unmarshal(m, b) @@ -1581,7 +1581,7 @@ func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRequest) ProtoMessage() {} func (*DeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{15} + return fileDescriptor_frames_8eec434b81b14290, []int{15} } func (m *DeleteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRequest.Unmarshal(m, b) @@ -1667,7 +1667,7 @@ func (m *DeleteResponse) Reset() { *m = DeleteResponse{} } func (m *DeleteResponse) String() string { return proto.CompactTextString(m) } func (*DeleteResponse) ProtoMessage() {} func (*DeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{16} + return fileDescriptor_frames_8eec434b81b14290, []int{16} } func (m *DeleteResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteResponse.Unmarshal(m, b) @@ -1703,7 +1703,7 @@ func (m *ExecRequest) Reset() { *m = ExecRequest{} } func (m *ExecRequest) String() string { return proto.CompactTextString(m) } func (*ExecRequest) ProtoMessage() {} func (*ExecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{17} + return fileDescriptor_frames_8eec434b81b14290, []int{17} } func (m *ExecRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecRequest.Unmarshal(m, b) @@ -1776,7 +1776,7 @@ func (m *ExecResponse) Reset() { *m = ExecResponse{} } func (m *ExecResponse) String() string { return proto.CompactTextString(m) } func (*ExecResponse) ProtoMessage() {} func (*ExecResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_4147bf9c76c5aeef, []int{18} + return fileDescriptor_frames_8eec434b81b14290, []int{18} } func (m *ExecResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecResponse.Unmarshal(m, b) @@ -1803,6 +1803,116 @@ func (m *ExecResponse) GetFrame() *Frame { return nil } +type HistoryRequest struct { + Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` + Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` + User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` + Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"` + MinStartTime string `protobuf:"bytes,6,opt,name=min_start_time,json=minStartTime,proto3" json:"min_start_time,omitempty"` + MaxStartTime string `protobuf:"bytes,7,opt,name=max_start_time,json=maxStartTime,proto3" json:"max_start_time,omitempty"` + Container string `protobuf:"bytes,8,opt,name=container,proto3" json:"container,omitempty"` + MinDuration int64 `protobuf:"varint,9,opt,name=min_duration,json=minDuration,proto3" json:"min_duration,omitempty"` + MaxDuration int64 `protobuf:"varint,10,opt,name=max_duration,json=maxDuration,proto3" json:"max_duration,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HistoryRequest) Reset() { *m = HistoryRequest{} } +func (m *HistoryRequest) String() string { return proto.CompactTextString(m) } +func (*HistoryRequest) ProtoMessage() {} +func (*HistoryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_frames_8eec434b81b14290, []int{19} +} +func (m *HistoryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HistoryRequest.Unmarshal(m, b) +} +func (m *HistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HistoryRequest.Marshal(b, m, deterministic) +} +func (dst *HistoryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HistoryRequest.Merge(dst, src) +} +func (m *HistoryRequest) XXX_Size() int { + return xxx_messageInfo_HistoryRequest.Size(m) +} +func (m *HistoryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HistoryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HistoryRequest proto.InternalMessageInfo + +func (m *HistoryRequest) GetSession() *Session { + if m != nil { + return m.Session + } + return nil +} + +func (m *HistoryRequest) GetBackend() string { + if m != nil { + return m.Backend + } + return "" +} + +func (m *HistoryRequest) GetTable() string { + if m != nil { + return m.Table + } + return "" +} + +func (m *HistoryRequest) GetUser() string { + if m != nil { + return m.User + } + return "" +} + +func (m *HistoryRequest) GetAction() string { + if m != nil { + return m.Action + } + return "" +} + +func (m *HistoryRequest) GetMinStartTime() string { + if m != nil { + return m.MinStartTime + } + return "" +} + +func (m *HistoryRequest) GetMaxStartTime() string { + if m != nil { + return m.MaxStartTime + } + return "" +} + +func (m *HistoryRequest) GetContainer() string { + if m != nil { + return m.Container + } + return "" +} + +func (m *HistoryRequest) GetMinDuration() int64 { + if m != nil { + return m.MinDuration + } + return 0 +} + +func (m *HistoryRequest) GetMaxDuration() int64 { + if m != nil { + return m.MaxDuration + } + return 0 +} + func init() { proto.RegisterType((*Column)(nil), "pb.Column") proto.RegisterType((*Value)(nil), "pb.Value") @@ -1827,6 +1937,7 @@ func init() { proto.RegisterType((*ExecRequest)(nil), "pb.ExecRequest") proto.RegisterMapType((map[string]*Value)(nil), "pb.ExecRequest.ArgsEntry") proto.RegisterType((*ExecResponse)(nil), "pb.ExecResponse") + proto.RegisterType((*HistoryRequest)(nil), "pb.HistoryRequest") proto.RegisterEnum("pb.DType", DType_name, DType_value) proto.RegisterEnum("pb.ErrorOptions", ErrorOptions_name, ErrorOptions_value) proto.RegisterEnum("pb.Column_Kind", Column_Kind_name, Column_Kind_value) @@ -1849,6 +1960,7 @@ type FramesClient interface { Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) + History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (Frames_HistoryClient, error) } type framesClient struct { @@ -1952,6 +2064,38 @@ func (c *framesClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.C return out, nil } +func (c *framesClient) History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (Frames_HistoryClient, error) { + stream, err := c.cc.NewStream(ctx, &_Frames_serviceDesc.Streams[2], "/pb.Frames/History", opts...) + if err != nil { + return nil, err + } + x := &framesHistoryClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type Frames_HistoryClient interface { + Recv() (*Frame, error) + grpc.ClientStream +} + +type framesHistoryClient struct { + grpc.ClientStream +} + +func (x *framesHistoryClient) Recv() (*Frame, error) { + m := new(Frame) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // FramesServer is the server API for Frames service. type FramesServer interface { Read(*ReadRequest, Frames_ReadServer) error @@ -1959,6 +2103,7 @@ type FramesServer interface { Create(context.Context, *CreateRequest) (*CreateResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) Exec(context.Context, *ExecRequest) (*ExecResponse, error) + History(*HistoryRequest, Frames_HistoryServer) error } func RegisterFramesServer(s *grpc.Server, srv FramesServer) { @@ -2066,6 +2211,27 @@ func _Frames_Exec_Handler(srv interface{}, ctx context.Context, dec func(interfa return interceptor(ctx, in, info, handler) } +func _Frames_History_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(HistoryRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(FramesServer).History(m, &framesHistoryServer{stream}) +} + +type Frames_HistoryServer interface { + Send(*Frame) error + grpc.ServerStream +} + +type framesHistoryServer struct { + grpc.ServerStream +} + +func (x *framesHistoryServer) Send(m *Frame) error { + return x.ServerStream.SendMsg(m) +} + var _Frames_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.Frames", HandlerType: (*FramesServer)(nil), @@ -2094,126 +2260,137 @@ var _Frames_serviceDesc = grpc.ServiceDesc{ Handler: _Frames_Write_Handler, ClientStreams: true, }, + { + StreamName: "History", + Handler: _Frames_History_Handler, + ServerStreams: true, + }, }, Metadata: "frames.proto", } -func init() { proto.RegisterFile("frames.proto", fileDescriptor_frames_4147bf9c76c5aeef) } - -var fileDescriptor_frames_4147bf9c76c5aeef = []byte{ - // 1809 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x5f, 0x73, 0x1b, 0x49, - 0x11, 0xd7, 0xea, 0xff, 0xb6, 0x64, 0x47, 0x99, 0xcb, 0x25, 0x1b, 0x5d, 0x8e, 0xe8, 0x36, 0x77, - 0x9c, 0xeb, 0x8e, 0x38, 0xe0, 0x7b, 0x80, 0xba, 0x07, 0x28, 0x3b, 0x96, 0x63, 0x63, 0xc5, 0xa6, - 0xc6, 0x86, 0x7b, 0x54, 0x8d, 0xb4, 0x23, 0x65, 0xf0, 0x6a, 0x77, 0x33, 0x33, 0x8a, 0x23, 0x1e, - 0x78, 0x84, 0x67, 0xa8, 0xe2, 0x13, 0xf0,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f0, 0x11, - 0xd4, 0x31, 0x11, 0xe6, 0x43, 0xe3, 0x62, 0x74, 0xf2, 0x7c, 0xd8, 0xab, 0xe0, 0x72, 0xb4, 0x7f, - 0x30, 0x1c, 0xf5, 0xbc, 0xf0, 0xf7, 0xd0, 0xf8, 0x8d, 0x88, 0x97, 0x92, 0xdd, 0x83, 0xba, 0x7a, - 0x23, 0x62, 0xa2, 0xa1, 0x76, 0x5c, 0xe1, 0x24, 0x21, 0x3a, 0x43, 0x14, 0xf3, 0xf6, 0x10, 0x9d, - 0xe5, 0xa8, 0x41, 0x14, 0x13, 0xf7, 0x11, 0x35, 0x39, 0x6a, 0x11, 0xad, 0x17, 0x3b, 0xd8, 0x1c, - 0x9d, 0x20, 0xda, 0x18, 0x78, 0x3b, 0x6d, 0x44, 0x51, 0x3a, 0x68, 0x41, 0xe3, 0x0d, 0x7e, 0x36, - 0xfc, 0x8b, 0x07, 0x5b, 0x67, 0xcb, 0x38, 0xa6, 0x20, 0xcc, 0x4b, 0x91, 0xb1, 0x43, 0xe8, 0x24, - 0xcb, 0x38, 0x76, 0x67, 0x60, 0x02, 0x6f, 0x50, 0xdb, 0xe9, 0xec, 0x85, 0x48, 0xee, 0x0d, 0x3b, - 0x92, 0x72, 0xa3, 0x61, 0x62, 0xf5, 0x8a, 0x97, 0xdd, 0xfa, 0x3f, 0x87, 0xde, 0x6d, 0x03, 0xd6, - 0x83, 0xda, 0x95, 0x5c, 0x51, 0x86, 0x3e, 0xc7, 0x25, 0x32, 0x46, 0x61, 0x50, 0x7e, 0x6d, 0xee, - 0x84, 0x6f, 0xab, 0x3f, 0xf3, 0xc2, 0x3f, 0x57, 0xa1, 0x71, 0x84, 0x55, 0xc3, 0x3e, 0x87, 0xd6, - 0xf4, 0x46, 0x2c, 0xb0, 0x29, 0x11, 0x5e, 0xa8, 0xd0, 0x4a, 0x25, 0x91, 0x9a, 0x4a, 0x13, 0x54, - 0xdf, 0xb5, 0xca, 0x55, 0xec, 0x29, 0x34,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 0x4f, - 0x36, 0x46, 0x9d, 0x5d, 0x7a, 0xbc, 0xf5, 0x37, 0x91, 0x86, 0x95, 0x1f, 0x7b, 0xec, 0x19, 0x34, - 0x68, 0x5c, 0x31, 0xaa, 0xb2, 0xf2, 0xfc, 0xeb, 0x97, 0x11, 0x9a, 0x65, 0x61, 0x65, 0xc7, 0x63, - 0x3f, 0x81, 0xa6, 0x6b, 0x1a, 0x46, 0x3f, 0xa3, 0x6e, 0x8c, 0xab, 0x3e, 0x2b, 0x43, 0x79, 0x35, - 0x55, 0xd0, 0xc5, 0x55, 0x98, 0x73, 0xb9, 0xd1, 0x60, 0xce, 0xe5, 0x56, 0x01, 0x56, 0xd8, 0xd7, - 0x50, 0x47, 0xba, 0x5d, 0xf8, 0xa5, 0xb3, 0x77, 0x41, 0x95, 0x4f, 0x22, 0xac, 0x4c, 0x9a, 0xf4, - 0x5f, 0xc5, 0x37, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x19, 0xa3, 0xb4, 0xbb, 0x10, 0x00, - 0x00, +func init() { proto.RegisterFile("frames.proto", fileDescriptor_frames_8eec434b81b14290) } + +var fileDescriptor_frames_8eec434b81b14290 = []byte{ + // 1916 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4f, 0x77, 0x1b, 0x49, + 0x11, 0xd7, 0xe8, 0xff, 0x94, 0x64, 0x45, 0xdb, 0x9b, 0x4d, 0x26, 0xda, 0x2c, 0x51, 0x26, 0x59, + 0xd6, 0x6f, 0x77, 0xe3, 0x80, 0xf7, 0x00, 0x6f, 0x0f, 0xf0, 0xe2, 0x58, 0x8e, 0x4d, 0x14, 0x9b, + 0x37, 0x36, 0xec, 0x51, 0xaf, 0xad, 0x69, 0x29, 0x8d, 0xe7, 0x8f, 0xd2, 0xdd, 0x8a, 0x2d, 0x0e, + 0x1c, 0xe1, 0x0c, 0xef, 0xf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xd5, 0x77, 0xad, 0x9c, 0x8a, 0x3d, 0x81, 0x66, 0xc2, 0xcf, 0x45, 0xa2, 0x83, 0x1a, 0x19, + 0x7d, 0x82, 0x46, 0xf4, 0x99, 0x9d, 0x31, 0xe1, 0x36, 0x12, 0x67, 0x84, 0xee, 0x09, 0xa5, 0x72, + 0x45, 0x94, 0xfa, 0x91, 0x15, 0xd8, 0xae, 0x25, 0x68, 0x42, 0xce, 0xda, 0x4c, 0xea, 0xec, 0x7e, + 0xf4, 0x0e, 0x41, 0x11, 0x64, 0x6b, 0x71, 0xb0, 0x0f, 0x9d, 0xd2, 0x07, 0xde, 0xc3, 0xc4, 0x83, + 0x32, 0x13, 0x1d, 0x9b, 0xcc, 0xb4, 0xb7, 0x4c, 0xca, 0xbf, 0x3d, 0xe8, 0x9c, 0x4e, 0x5f, 0x8b, + 0x94, 0x1f, 0x48, 0x91, 0x6c, 0xaa, 0xc2, 0x2b, 0x55, 0x45, 0x1f, 0x6a, 0x71, 0x3e, 0x75, 0x85, + 0x82, 0x4b, 0xf6, 0x08, 0x5a, 0xb1, 0x98, 0xf1, 0x65, 0x62, 0x28, 0x61, 0xae, 0x1d, 0x5e, 0x68, + 0xf0, 0x28, 0xaa, 0x25, 0x1b, 0x29, 0xad, 0xd9, 0xcf, 0x01, 0x16, 0x2a, 0x5f, 0x08, 0x65, 0xe4, + 0x3a, 0xce, 0x07, 0xb8, 0xb7, 0xe4, 0xc3, 0xce, 0x2f, 0xd7, 0x16, 0x96, 0xbb, 0xd2, 0x96, 0xc1, + 0x21, 0xdc, 0xba, 0xa1, 0xfe, 0xbe, 0x91, 0x9f, 0x80, 0x6f, 0x3f, 0xfa, 0x52, 0xac, 0xd8, 0x43, + 0xe8, 0xea, 0xd7, 0x5c, 0xc5, 0x32, 0x9b, 0x4f, 0xec, 0x61, 0x58, 0x9c, 0x9d, 0x02, 0x7b, 0x49, + 0x87, 0x76, 0x74, 0xae, 0x4c, 0x61, 0x51, 0x25, 0x0b, 0x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+ 0x19, 0x9d, 0x76, 0x3d, 0x79, 0x6f, 0x44, 0x7c, 0xde, 0xa4, 0xff, 0x87, 0xbe, 0xf9, 0x4f, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xfd, 0xb3, 0x70, 0x03, 0x2f, 0x12, 0x00, 0x00, } diff --git a/vendor/github.com/v3io/frames/types.go b/vendor/github.com/v3io/frames/types.go index e176fa9e529..35f7f1f06df 100644 --- a/vendor/github.com/v3io/frames/types.go +++ b/vendor/github.com/v3io/frames/types.go @@ -21,6 +21,8 @@ such restriction. package frames import ( + "fmt" + "strings" "time" "github.com/pkg/errors" @@ -156,6 +158,65 @@ type ReadRequest struct { Token SecretString } +func (readRequest ReadRequest) ToMap() map[string]string { + + reqMap := make(map[string]string, 10) + + if readRequest.Proto.Query != "" { + reqMap["query"] = readRequest.Proto.Query + } + if len(readRequest.Proto.Columns) > 0 { + reqMap["columns"] = strings.Join(readRequest.Proto.Columns, ",") + } + if readRequest.Proto.Filter != "" { + reqMap["filter"] = readRequest.Proto.Filter + } + if readRequest.Proto.GroupBy != "" { + reqMap["groupBy"] = readRequest.Proto.GroupBy + } + if readRequest.Proto.Limit != 0 { + reqMap["limit"] = fmt.Sprintf("%v", readRequest.Proto.Limit) + } + if readRequest.Proto.MessageLimit != 0 { + reqMap["messageLimit"] = fmt.Sprintf("%v", readRequest.Proto.MessageLimit) + } + if len(readRequest.Proto.ShardingKeys) > 0 { + reqMap["shardingkeys"] = strings.Join(readRequest.Proto.ShardingKeys, ",") + } + if readRequest.Proto.SortKeyRangeStart != "" { + reqMap["sortKeyRangeStart"] = readRequest.Proto.SortKeyRangeStart + } + if readRequest.Proto.SortKeyRangeEnd != "" { + reqMap["sortKeyRangeEnd"] = readRequest.Proto.SortKeyRangeEnd + } + if readRequest.Proto.Start != "" { + reqMap["start"] = readRequest.Proto.Start + } + if readRequest.Proto.End != "" { + reqMap["end"] = readRequest.Proto.End + } + if readRequest.Proto.Step != "" { + reqMap["step"] = readRequest.Proto.Step + } + if readRequest.Proto.Aggregators != "" { + reqMap["aggregators"] = readRequest.Proto.Aggregators + } + if readRequest.Proto.AggregationWindow != "" { + reqMap["aggregationWindow"] = readRequest.Proto.AggregationWindow + } + if readRequest.Proto.Seek != "" { + reqMap["seek"] = readRequest.Proto.Seek + } + if readRequest.Proto.ShardId != "" { + reqMap["shardID"] = readRequest.Proto.ShardId + } + if readRequest.Proto.Sequence != 0 { + reqMap["sequence"] = fmt.Sprintf("%v", readRequest.Proto.Sequence) + } + + return reqMap +} + // JoinStruct is a join structure type JoinStruct = pb.JoinStruct @@ -181,6 +242,25 @@ type WriteRequest struct { SaveMode SaveMode } +func (writeRequest WriteRequest) ToMap() map[string]string { + + reqMap := make(map[string]string) + + if writeRequest.Expression != "" { + reqMap["expression"] = writeRequest.Expression + } + if writeRequest.Condition != "" { + reqMap["condition"] = writeRequest.Condition + } + if len(writeRequest.PartitionKeys) > 0 { + reqMap["partitionKeys"] = strings.Join(writeRequest.PartitionKeys, ",") + } + + reqMap["saveMode"] = writeRequest.SaveMode.String() + + return reqMap +} + // CreateRequest is a table creation request type CreateRequest struct { Proto *pb.CreateRequest @@ -188,6 +268,29 @@ type CreateRequest struct { Token SecretString } +func (createRequest CreateRequest) ToMap() map[string]string { + + reqMap := make(map[string]string) + + if createRequest.Proto.Rate != "" { + reqMap["rate"] = createRequest.Proto.Rate + } + if createRequest.Proto.Aggregates != "" { + reqMap["aggregates"] = createRequest.Proto.Aggregates + } + if createRequest.Proto.AggregationGranularity != "" { + reqMap["aggregationGranularity"] = createRequest.Proto.AggregationGranularity + } + if createRequest.Proto.Shards != 0 { + reqMap["shards"] = fmt.Sprintf("%v", createRequest.Proto.Shards) + } + if createRequest.Proto.RetentionHours != 0 { + reqMap["retentionHours"] = fmt.Sprintf("%v", createRequest.Proto.RetentionHours) + } + + return reqMap +} + // DeleteRequest is a deletion request type DeleteRequest struct { Proto *pb.DeleteRequest @@ -195,6 +298,33 @@ type DeleteRequest struct { Token SecretString } +func (deleteRequest DeleteRequest) ToMap() map[string]string { + + reqMap := make(map[string]string) + + if deleteRequest.Proto.Filter != "" { + reqMap["filter"] = deleteRequest.Proto.Filter + } + if deleteRequest.Proto.Start != "" { + reqMap["start"] = deleteRequest.Proto.Start + } + if deleteRequest.Proto.End != "" { + reqMap["end"] = deleteRequest.Proto.End + } + if len(deleteRequest.Proto.Metrics) > 0 { + reqMap["metrics"] = strings.Join(deleteRequest.Proto.Metrics, ",") + } + + return reqMap +} + +// HistoryRequest is a history logs request +type HistoryRequest struct { + Proto *pb.HistoryRequest + Password SecretString + Token SecretString +} + // TableSchema is a table schema type TableSchema = pb.TableSchema @@ -220,6 +350,25 @@ type ExecRequest struct { Token SecretString } +func (executeRequest ExecRequest) ToMap() map[string]string { + + reqMap := make(map[string]string) + + if executeRequest.Proto.Command != "" { + reqMap["command"] = executeRequest.Proto.Command + } + if executeRequest.Proto.Expression != "" { + reqMap["expression"] = executeRequest.Proto.Expression + } + if len(executeRequest.Proto.Args) > 0 { + for k, v := range executeRequest.Proto.Args { + reqMap[fmt.Sprintf("args_%v", k)] = v.String() + } + } + + return reqMap +} + // Hides a string such as a password from both plain and json logs. type SecretString struct { s *string diff --git a/vendor/github.com/v3io/v3io-go/pkg/dataplane/http/context.go b/vendor/github.com/v3io/v3io-go/pkg/dataplane/http/context.go index 0372483559a..1447c7d4ce7 100644 --- a/vendor/github.com/v3io/v3io-go/pkg/dataplane/http/context.go +++ b/vendor/github.com/v3io/v3io-go/pkg/dataplane/http/context.go @@ -506,11 +506,18 @@ func (c *context) GetObject(getObjectInput *v3io.GetObjectInput, // GetObjectSync func (c *context) GetObjectSync(getObjectInput *v3io.GetObjectInput) (*v3io.Response, error) { + var headers map[string]string + if getObjectInput.Offset != 0 || getObjectInput.NumBytes != 0 { + headers = make(map[string]string) + // Range header is inclusive in both 'start' and 'end', thus reducing 1 + headers["Range"] = fmt.Sprintf("bytes=%v-%v", getObjectInput.Offset, getObjectInput.Offset+getObjectInput.NumBytes-1) + } + return c.sendRequest(&getObjectInput.DataPlaneInput, http.MethodGet, getObjectInput.Path, "", - nil, + headers, nil, false) } @@ -524,11 +531,18 @@ func (c *context) PutObject(putObjectInput *v3io.PutObjectInput, // PutObjectSync func (c *context) PutObjectSync(putObjectInput *v3io.PutObjectInput) error { + + var headers map[string]string + if putObjectInput.Append { + headers = make(map[string]string) + headers["Range"] = "-1" + } + _, err := c.sendRequest(&putObjectInput.DataPlaneInput, http.MethodPut, putObjectInput.Path, "", - nil, + headers, putObjectInput.Body, true) @@ -1346,7 +1360,7 @@ func decodeCapnpAttributes(keyValues node_common_capnp.VnObjectItemsGetMappedKey func (c *context) getItemsParseJSONResponse(response *v3io.Response, getItemsInput *v3io.GetItemsInput) (*v3io.GetItemsOutput, error) { getItemsResponse := struct { - Items []map[string]map[string]interface{} + Items []map[string]map[string]interface{} NextMarker string LastItemIncluded string }{} diff --git a/vendor/github.com/v3io/v3io-go/pkg/dataplane/types.go b/vendor/github.com/v3io/v3io-go/pkg/dataplane/types.go index 7edb81c8630..b6a320a2580 100644 --- a/vendor/github.com/v3io/v3io-go/pkg/dataplane/types.go +++ b/vendor/github.com/v3io/v3io-go/pkg/dataplane/types.go @@ -191,6 +191,7 @@ type PutObjectInput struct { Path string Offset int Body []byte + Append bool } type DeleteObjectInput struct { diff --git a/vendor/modules.txt b/vendor/modules.txt index e3082129e88..4140285c326 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -298,15 +298,15 @@ github.com/shurcooL/vfsgen github.com/stretchr/testify/require github.com/stretchr/testify/suite github.com/stretchr/testify/assert -# github.com/v3io/frames v0.6.14-v0.9.18 => github.com/v3io/frames v0.7.5 +# github.com/v3io/frames v0.6.14-v0.9.18 => github.com/v3io/frames v0.7.12 github.com/v3io/frames github.com/v3io/frames/pb -# github.com/v3io/v3io-go v0.1.5-0.20200413162202-5d20cf2c5c71 +# github.com/v3io/v3io-go v0.1.5-0.20200416113214-f1b82b9a8e82 github.com/v3io/v3io-go/pkg/dataplane github.com/v3io/v3io-go/pkg/errors github.com/v3io/v3io-go/pkg/dataplane/http github.com/v3io/v3io-go/pkg/dataplane/schemas/node/common -# github.com/v3io/v3io-tsdb v0.10.3 => github.com/v3io/v3io-tsdb v0.10.3 +# github.com/v3io/v3io-tsdb v0.10.4 => github.com/v3io/v3io-tsdb v0.10.4 github.com/v3io/v3io-tsdb/pkg/aggregate github.com/v3io/v3io-tsdb/pkg/appender github.com/v3io/v3io-tsdb/pkg/config