@monocle.sh/studio 0.1.0 → 0.1.1

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.
@@ -29,14 +29,14 @@ declare class LogRepository {
29
29
  trace_id: string | null;
30
30
  span_id: string | null;
31
31
  service_name: string | null;
32
+ resource_attributes: string | null;
33
+ scope_name: string | null;
34
+ scope_version: string | null;
32
35
  timestamp_unix: bigint;
33
36
  severity_text: string | null;
34
37
  severity_number: number | null;
35
38
  body: string | null;
36
- resource_attributes: string | null;
37
39
  log_attributes: string | null;
38
- scope_name: string | null;
39
- scope_version: string | null;
40
40
  }[]>;
41
41
  }
42
42
  //#endregion
@@ -32,8 +32,8 @@ declare class SpanRepository {
32
32
  span_name: string;
33
33
  service_name: string | null;
34
34
  status_code: string;
35
- duration_ns: bigint;
36
35
  start_time_unix: bigint;
36
+ duration_ns: bigint;
37
37
  span_attributes: string | null;
38
38
  }[]>;
39
39
  /**
@@ -49,8 +49,8 @@ declare class SpanRepository {
49
49
  span_name: string;
50
50
  service_name: string | null;
51
51
  status_code: string;
52
- duration_ns: bigint;
53
52
  start_time_unix: bigint;
53
+ duration_ns: bigint;
54
54
  span_attributes: string | null;
55
55
  }[]>;
56
56
  /**
@@ -66,8 +66,8 @@ declare class SpanRepository {
66
66
  span_name: string;
67
67
  service_name: string | null;
68
68
  status_code: string;
69
- duration_ns: bigint;
70
69
  start_time_unix: bigint;
70
+ duration_ns: bigint;
71
71
  span_attributes: string | null;
72
72
  }[]>;
73
73
  /**
@@ -85,8 +85,8 @@ declare class SpanRepository {
85
85
  span_name: string;
86
86
  service_name: string | null;
87
87
  status_code: string;
88
- duration_ns: bigint;
89
88
  start_time_unix: bigint;
89
+ duration_ns: bigint;
90
90
  span_attributes: string | null;
91
91
  }[]>;
92
92
  /**
@@ -116,15 +116,15 @@ declare class SpanRepository {
116
116
  getTraceSpans(traceId: string): Promise<{
117
117
  trace_id: string;
118
118
  span_id: string;
119
+ parent_span_id: string | null;
119
120
  span_name: string;
121
+ span_kind: string | null;
120
122
  service_name: string | null;
121
123
  status_code: string;
122
- duration_ns: bigint;
123
- start_time_unix: bigint;
124
- parent_span_id: string | null;
125
- span_kind: string | null;
126
124
  status_message: string | null;
125
+ start_time_unix: bigint;
127
126
  end_time_unix: bigint;
127
+ duration_ns: bigint;
128
128
  span_attributes: string | null;
129
129
  events: string | null;
130
130
  resource_attributes: string | null;
@@ -11,17 +11,17 @@ declare const paginationValidator: _vinejs_vine0.VineValidator<_vinejs_vine0.Vin
11
11
  offset: _vinejs_vine_schema_base_literal0.OptionalModifier<_vinejs_vine0.VineNumber>;
12
12
  traceId: _vinejs_vine_schema_base_literal0.OptionalModifier<_vinejs_vine0.VineString>;
13
13
  }, {
14
+ traceId?: string | null | undefined;
14
15
  limit?: string | number | null | undefined;
15
16
  offset?: string | number | null | undefined;
16
- traceId?: string | null | undefined;
17
17
  }, {
18
+ traceId?: string | undefined;
18
19
  limit?: number | undefined;
19
20
  offset?: number | undefined;
20
- traceId?: string | undefined;
21
21
  }, {
22
+ traceId?: string | undefined;
22
23
  limit?: number | undefined;
23
24
  offset?: number | undefined;
24
- traceId?: string | undefined;
25
25
  }>, Record<string, any> | undefined>;
26
26
  /**
27
27
  * Validates trace listing params including optional service filter.
@@ -32,19 +32,19 @@ declare const listTracesValidator: _vinejs_vine0.VineValidator<_vinejs_vine0.Vin
32
32
  traceId: _vinejs_vine_schema_base_literal0.OptionalModifier<_vinejs_vine0.VineString>;
33
33
  service: _vinejs_vine_schema_base_literal0.OptionalModifier<_vinejs_vine0.VineString>;
34
34
  }, {
35
+ traceId?: string | null | undefined;
35
36
  limit?: string | number | null | undefined;
36
37
  offset?: string | number | null | undefined;
37
- traceId?: string | null | undefined;
38
38
  service?: string | null | undefined;
39
39
  }, {
40
+ traceId?: string | undefined;
40
41
  limit?: number | undefined;
41
42
  offset?: number | undefined;
42
- traceId?: string | undefined;
43
43
  service?: string | undefined;
44
44
  }, {
45
+ traceId?: string | undefined;
45
46
  limit?: number | undefined;
46
47
  offset?: number | undefined;
47
- traceId?: string | undefined;
48
48
  service?: string | undefined;
49
49
  }>, Record<string, any> | undefined>;
50
50
  /**
@@ -56,19 +56,19 @@ declare const listQueriesValidator: _vinejs_vine0.VineValidator<_vinejs_vine0.Vi
56
56
  traceId: _vinejs_vine_schema_base_literal0.OptionalModifier<_vinejs_vine0.VineString>;
57
57
  dbSystem: _vinejs_vine_schema_base_literal0.OptionalModifier<_vinejs_vine0.VineString>;
58
58
  }, {
59
+ traceId?: string | null | undefined;
59
60
  limit?: string | number | null | undefined;
60
61
  offset?: string | number | null | undefined;
61
- traceId?: string | null | undefined;
62
62
  dbSystem?: string | null | undefined;
63
63
  }, {
64
+ traceId?: string | undefined;
64
65
  limit?: number | undefined;
65
66
  offset?: number | undefined;
66
- traceId?: string | undefined;
67
67
  dbSystem?: string | undefined;
68
68
  }, {
69
+ traceId?: string | undefined;
69
70
  limit?: number | undefined;
70
71
  offset?: number | undefined;
71
- traceId?: string | undefined;
72
72
  dbSystem?: string | undefined;
73
73
  }>, Record<string, any> | undefined>;
74
74
  /**
@@ -81,23 +81,23 @@ declare const listLogsValidator: _vinejs_vine0.VineValidator<_vinejs_vine0.VineO
81
81
  severity: _vinejs_vine_schema_base_literal0.OptionalModifier<_vinejs_vine0.VineString>;
82
82
  search: _vinejs_vine_schema_base_literal0.OptionalModifier<_vinejs_vine0.VineString>;
83
83
  }, {
84
+ traceId?: string | null | undefined;
85
+ search?: string | null | undefined;
84
86
  limit?: string | number | null | undefined;
85
87
  offset?: string | number | null | undefined;
86
- traceId?: string | null | undefined;
87
88
  severity?: string | null | undefined;
88
- search?: string | null | undefined;
89
89
  }, {
90
+ traceId?: string | undefined;
91
+ search?: string | undefined;
90
92
  limit?: number | undefined;
91
93
  offset?: number | undefined;
92
- traceId?: string | undefined;
93
94
  severity?: string | undefined;
94
- search?: string | undefined;
95
95
  }, {
96
+ traceId?: string | undefined;
97
+ search?: string | undefined;
96
98
  limit?: number | undefined;
97
99
  offset?: number | undefined;
98
- traceId?: string | undefined;
99
100
  severity?: string | undefined;
100
- search?: string | undefined;
101
101
  }>, Record<string, any> | undefined>;
102
102
  //#endregion
103
103
  export { listLogsValidator, listQueriesValidator, listTracesValidator, paginationValidator };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monocle.sh/studio",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Monocle DevTools - local development observability tool",
5
5
  "keywords": [
6
6
  "devtools",
@@ -43,6 +43,7 @@
43
43
  "@vinejs/vine": "^4.3.0",
44
44
  "kysely": "^0.28.14",
45
45
  "kysely-duckdb": "^0.2.0",
46
+ "pino-pretty": "^13.1.3",
46
47
  "reflect-metadata": "^0.2.2",
47
48
  "zod": "^4.3.6"
48
49
  },