mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 08:50:01 -06:00
New propto fields
This commit is contained in:
@@ -30,6 +30,8 @@ import (
|
||||
"github.com/dolthub/dolt/go/libraries/utils/iohelp"
|
||||
)
|
||||
|
||||
var Application = eventsapi.AppID_APP_DOLT
|
||||
|
||||
// Emitter is an interface used for processing a batch of events
|
||||
type Emitter interface {
|
||||
// LogEvents takes a batch of events and processes them
|
||||
@@ -110,7 +112,7 @@ func (em *GrpcEmitter) LogEvents(version string, evts []*eventsapi.ClientEvent)
|
||||
Version: version,
|
||||
Platform: plat,
|
||||
Events: evts,
|
||||
App: eventsapi.AppID_APP_DOLT,
|
||||
App: Application,
|
||||
}
|
||||
|
||||
_, err := em.client.LogEvents(ctx, &req)
|
||||
|
||||
@@ -92,6 +92,7 @@ enum ClientEventType {
|
||||
STASH_POP = 60;
|
||||
SHOW = 61;
|
||||
PROFILE = 62;
|
||||
SQL_SERVER_HEARTBEAT = 63;
|
||||
}
|
||||
|
||||
enum MetricID {
|
||||
@@ -110,4 +111,5 @@ enum AttributeID {
|
||||
enum AppID {
|
||||
APP_ID_UNSPECIFIED = 0;
|
||||
APP_DOLT = 1;
|
||||
APP_DOLTGRES = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user