diff --git a/libs/telemetry/api.go b/libs/telemetry/api.go index 4e3f6c861..c9346ccf9 100644 --- a/libs/telemetry/api.go +++ b/libs/telemetry/api.go @@ -1,5 +1,10 @@ package telemetry +import ( + "github.com/databricks/cli/libs/telemetry/protos" + "github.com/databricks/databricks-sdk-go/config" +) + // RequestBody is the request body type bindings for the /telemetry-ext API endpoint. type RequestBody struct { // Timestamp in millis for when the log was uploaded. @@ -29,3 +34,8 @@ type LogError struct { Message string `json:"message"` ErrorType string `json:"errorType"` } + +type WorkerInput struct { + AuthConfig *config.Config `json:"authConfig"` + Logs []protos.FrontendLog `json:"logs"` +}