databricks-cli/libs/telemetry/frontend_log.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
802 B
Go
Raw Normal View History

2024-11-29 00:57:48 +00:00
package telemetry
2024-12-20 05:54:30 +00:00
import "github.com/databricks/cli/libs/telemetry/events"
2024-11-29 00:57:48 +00:00
// This corresponds to the FrontendLog lumberjack proto in universe.
// FrontendLog is the top-level struct for any client-side logs at Databricks
// regardless of whether they are generated from the CLI or the web UI.
type FrontendLog struct {
// A unique identifier for the log event generated from the CLI.
FrontendLogEventID string `json:"frontend_log_event_id,omitempty"`
Entry FrontendLogEntry `json:"entry,omitempty"`
}
type FrontendLogEntry struct {
DatabricksCliLog DatabricksCliLog `json:"databricks_cli_log,omitempty"`
}
type DatabricksCliLog struct {
2024-12-24 10:37:11 +00:00
CliTestEvent *events.CliTestEvent `json:"cli_test_event,omitempty"`
2024-12-24 08:02:27 +00:00
BundleInitEvent *events.BundleInitEvent `json:"bundle_init_event,omitempty"`
2024-11-29 00:57:48 +00:00
}