-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔊 Collect configuration telemetry event (#1760)
- Loading branch information
1 parent
369826b
commit 124285f
Showing
24 changed files
with
431 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
export { | ||
Telemetry, | ||
RawTelemetryEvent, | ||
addTelemetryDebug, | ||
addTelemetryError, | ||
startFakeTelemetry, | ||
resetTelemetry, | ||
startTelemetry, | ||
isTelemetryReplicationAllowed, | ||
addTelemetryConfiguration, | ||
} from './telemetry' | ||
|
||
export * from './rawTelemetryEvent.types' | ||
export * from './telemetryEvent.types' |
14 changes: 14 additions & 0 deletions
14
packages/core/src/domain/telemetry/rawTelemetryEvent.types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import type { TelemetryEvent, TelemetryConfigurationEvent } from './telemetryEvent.types' | ||
|
||
export const TelemetryType = { | ||
log: 'log', | ||
configuration: 'configuration', | ||
} as const | ||
|
||
export const enum StatusType { | ||
debug = 'debug', | ||
error = 'error', | ||
} | ||
|
||
export type RawTelemetryEvent = TelemetryEvent['telemetry'] | ||
export type RawTelemetryConfiguration = TelemetryConfigurationEvent['telemetry']['configuration'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.