@redthreadlabs/tracelog-schema 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/wire.d.ts +5 -5
  2. package/package.json +1 -1
package/dist/wire.d.ts CHANGED
@@ -14,7 +14,7 @@ export interface LogBatch {
14
14
  session_ref?: string;
15
15
  device_id?: string;
16
16
  events: LogEventItem[];
17
- timers: TimerItem[];
17
+ perfs: LogPerfItem[];
18
18
  }
19
19
  export interface LogEventItem {
20
20
  /** Event category, e.g. 'auth', 'billing', 'startup'. Default: 'client-log' */
@@ -42,18 +42,18 @@ export interface LogEventItem {
42
42
  */
43
43
  tz_offset?: number;
44
44
  }
45
- export interface TimerItem {
45
+ export interface LogPerfItem {
46
46
  /** 16-char hex ID, generated client-side */
47
47
  id: string;
48
48
  /** 32-char hex trace ID, shared by parent + children */
49
49
  trace_id: string;
50
- /** ID of the root timer in this trace */
50
+ /** ID of the root perf in this trace */
51
51
  root_id: string;
52
- /** 16-char hex ID of parent timer (absent for root timers) */
52
+ /** 16-char hex ID of parent perf (absent for root perfs) */
53
53
  parent_id?: string;
54
54
  /** Operation name, e.g. 'content-store-startup' */
55
55
  name: string;
56
- /** Timer category. Default: 'client-perf' */
56
+ /** Perf category. Default: 'client-perf' */
57
57
  type: string;
58
58
  /** Start time, epoch milliseconds */
59
59
  timestamp: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redthreadlabs/tracelog-schema",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Shared contract for the tracelog suite: record kinds, S3 key layout, metadata sidecar, and the /logs wire format",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",