@daytonaio/analytics-api-client 0.148.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.
- package/package.json +25 -0
- package/src/api/telemetry-api.d.ts +248 -0
- package/src/api/telemetry-api.js +459 -0
- package/src/api/telemetry-api.js.map +1 -0
- package/src/api/usage-api.d.ts +170 -0
- package/src/api/usage-api.js +317 -0
- package/src/api/usage-api.js.map +1 -0
- package/src/api.d.ts +13 -0
- package/src/api.js +32 -0
- package/src/api.js.map +1 -0
- package/src/base.d.ts +66 -0
- package/src/base.js +69 -0
- package/src/base.js.map +1 -0
- package/src/common.d.ts +65 -0
- package/src/common.js +146 -0
- package/src/common.js.map +1 -0
- package/src/configuration.d.ts +91 -0
- package/src/configuration.js +105 -0
- package/src/configuration.js.map +1 -0
- package/src/index.d.ts +14 -0
- package/src/index.js +33 -0
- package/src/index.js.map +1 -0
- package/src/models/index.d.ts +7 -0
- package/src/models/index.js +24 -0
- package/src/models/index.js.map +1 -0
- package/src/models/models-aggregated-usage.d.ts +66 -0
- package/src/models/models-aggregated-usage.js +16 -0
- package/src/models/models-aggregated-usage.js.map +1 -0
- package/src/models/models-log-entry.d.ts +76 -0
- package/src/models/models-log-entry.js +16 -0
- package/src/models/models-log-entry.js.map +1 -0
- package/src/models/models-metric-point.d.ts +36 -0
- package/src/models/models-metric-point.js +16 -0
- package/src/models/models-metric-point.js.map +1 -0
- package/src/models/models-sandbox-usage.d.ts +66 -0
- package/src/models/models-sandbox-usage.js +16 -0
- package/src/models/models-sandbox-usage.js.map +1 -0
- package/src/models/models-span.d.ts +74 -0
- package/src/models/models-span.js +16 -0
- package/src/models/models-span.js.map +1 -0
- package/src/models/models-trace-summary.d.ts +60 -0
- package/src/models/models-trace-summary.js +16 -0
- package/src/models/models-trace-summary.js.map +1 -0
- package/src/models/models-usage-period.d.ts +60 -0
- package/src/models/models-usage-period.js +16 -0
- package/src/models/models-usage-period.js.map +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@daytonaio/analytics-api-client",
|
|
3
|
+
"version": "0.148.0",
|
|
4
|
+
"description": "OpenAPI client for @daytonaio/analytics-api-client",
|
|
5
|
+
"author": "OpenAPI-Generator Contributors",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/daytonaio/daytona.git"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"axios",
|
|
12
|
+
"typescript",
|
|
13
|
+
"openapi-client",
|
|
14
|
+
"openapi-generator",
|
|
15
|
+
"@daytonaio/analytics-api-client"
|
|
16
|
+
],
|
|
17
|
+
"license": "Apache-2.0",
|
|
18
|
+
"main": "./src/index.js",
|
|
19
|
+
"types": "./src/index.d.ts",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"axios": "^1.6.1"
|
|
22
|
+
},
|
|
23
|
+
"packageManager": "yarn@4.6.0",
|
|
24
|
+
"type": "commonjs"
|
|
25
|
+
}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Analytics API
|
|
3
|
+
* Daytona Analytics API - Read-only telemetry and usage data
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { ModelsLogEntry } from '../models';
|
|
16
|
+
import type { ModelsMetricPoint } from '../models';
|
|
17
|
+
import type { ModelsSpan } from '../models';
|
|
18
|
+
import type { ModelsTraceSummary } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* TelemetryApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const TelemetryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
* Returns paginated log entries with optional severity and search filters
|
|
26
|
+
* @summary Get sandbox logs
|
|
27
|
+
* @param {string} organizationId Organization ID
|
|
28
|
+
* @param {string} sandboxId Sandbox ID
|
|
29
|
+
* @param {string} from Start time (RFC3339)
|
|
30
|
+
* @param {string} to End time (RFC3339)
|
|
31
|
+
* @param {string} [severity] Comma-separated severity levels
|
|
32
|
+
* @param {string} [search] Search text (ILIKE)
|
|
33
|
+
* @param {number} [limit] Page size
|
|
34
|
+
* @param {number} [offset] Offset
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryLogsGet: (organizationId: string, sandboxId: string, from: string, to: string, severity?: string, search?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns gauge metrics aggregated in 1-minute intervals
|
|
41
|
+
* @summary Get sandbox metrics
|
|
42
|
+
* @param {string} organizationId Organization ID
|
|
43
|
+
* @param {string} sandboxId Sandbox ID
|
|
44
|
+
* @param {string} from Start time (RFC3339)
|
|
45
|
+
* @param {string} to End time (RFC3339)
|
|
46
|
+
* @param {string} [metricNames] Comma-separated metric names
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet: (organizationId: string, sandboxId: string, from: string, to: string, metricNames?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
* Returns paginated trace summaries with span counts and root span info
|
|
53
|
+
* @summary Get sandbox traces
|
|
54
|
+
* @param {string} organizationId Organization ID
|
|
55
|
+
* @param {string} sandboxId Sandbox ID
|
|
56
|
+
* @param {string} from Start time (RFC3339)
|
|
57
|
+
* @param {string} to End time (RFC3339)
|
|
58
|
+
* @param {number} [limit] Page size
|
|
59
|
+
* @param {number} [offset] Offset
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryTracesGet: (organizationId: string, sandboxId: string, from: string, to: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* Returns all spans belonging to a specific trace ID
|
|
66
|
+
* @summary Get trace spans
|
|
67
|
+
* @param {string} organizationId Organization ID
|
|
68
|
+
* @param {string} sandboxId Sandbox ID
|
|
69
|
+
* @param {string} traceId Trace ID
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet: (organizationId: string, sandboxId: string, traceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* TelemetryApi - functional programming interface
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export declare const TelemetryApiFp: (configuration?: Configuration) => {
|
|
80
|
+
/**
|
|
81
|
+
* Returns paginated log entries with optional severity and search filters
|
|
82
|
+
* @summary Get sandbox logs
|
|
83
|
+
* @param {string} organizationId Organization ID
|
|
84
|
+
* @param {string} sandboxId Sandbox ID
|
|
85
|
+
* @param {string} from Start time (RFC3339)
|
|
86
|
+
* @param {string} to End time (RFC3339)
|
|
87
|
+
* @param {string} [severity] Comma-separated severity levels
|
|
88
|
+
* @param {string} [search] Search text (ILIKE)
|
|
89
|
+
* @param {number} [limit] Page size
|
|
90
|
+
* @param {number} [offset] Offset
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryLogsGet(organizationId: string, sandboxId: string, from: string, to: string, severity?: string, search?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsLogEntry>>>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns gauge metrics aggregated in 1-minute intervals
|
|
97
|
+
* @summary Get sandbox metrics
|
|
98
|
+
* @param {string} organizationId Organization ID
|
|
99
|
+
* @param {string} sandboxId Sandbox ID
|
|
100
|
+
* @param {string} from Start time (RFC3339)
|
|
101
|
+
* @param {string} to End time (RFC3339)
|
|
102
|
+
* @param {string} [metricNames] Comma-separated metric names
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet(organizationId: string, sandboxId: string, from: string, to: string, metricNames?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsMetricPoint>>>;
|
|
107
|
+
/**
|
|
108
|
+
* Returns paginated trace summaries with span counts and root span info
|
|
109
|
+
* @summary Get sandbox traces
|
|
110
|
+
* @param {string} organizationId Organization ID
|
|
111
|
+
* @param {string} sandboxId Sandbox ID
|
|
112
|
+
* @param {string} from Start time (RFC3339)
|
|
113
|
+
* @param {string} to End time (RFC3339)
|
|
114
|
+
* @param {number} [limit] Page size
|
|
115
|
+
* @param {number} [offset] Offset
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryTracesGet(organizationId: string, sandboxId: string, from: string, to: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsTraceSummary>>>;
|
|
120
|
+
/**
|
|
121
|
+
* Returns all spans belonging to a specific trace ID
|
|
122
|
+
* @summary Get trace spans
|
|
123
|
+
* @param {string} organizationId Organization ID
|
|
124
|
+
* @param {string} sandboxId Sandbox ID
|
|
125
|
+
* @param {string} traceId Trace ID
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet(organizationId: string, sandboxId: string, traceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsSpan>>>;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* TelemetryApi - factory interface
|
|
133
|
+
* @export
|
|
134
|
+
*/
|
|
135
|
+
export declare const TelemetryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
136
|
+
/**
|
|
137
|
+
* Returns paginated log entries with optional severity and search filters
|
|
138
|
+
* @summary Get sandbox logs
|
|
139
|
+
* @param {string} organizationId Organization ID
|
|
140
|
+
* @param {string} sandboxId Sandbox ID
|
|
141
|
+
* @param {string} from Start time (RFC3339)
|
|
142
|
+
* @param {string} to End time (RFC3339)
|
|
143
|
+
* @param {string} [severity] Comma-separated severity levels
|
|
144
|
+
* @param {string} [search] Search text (ILIKE)
|
|
145
|
+
* @param {number} [limit] Page size
|
|
146
|
+
* @param {number} [offset] Offset
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryLogsGet(organizationId: string, sandboxId: string, from: string, to: string, severity?: string, search?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsLogEntry>>;
|
|
151
|
+
/**
|
|
152
|
+
* Returns gauge metrics aggregated in 1-minute intervals
|
|
153
|
+
* @summary Get sandbox metrics
|
|
154
|
+
* @param {string} organizationId Organization ID
|
|
155
|
+
* @param {string} sandboxId Sandbox ID
|
|
156
|
+
* @param {string} from Start time (RFC3339)
|
|
157
|
+
* @param {string} to End time (RFC3339)
|
|
158
|
+
* @param {string} [metricNames] Comma-separated metric names
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
*/
|
|
162
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet(organizationId: string, sandboxId: string, from: string, to: string, metricNames?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsMetricPoint>>;
|
|
163
|
+
/**
|
|
164
|
+
* Returns paginated trace summaries with span counts and root span info
|
|
165
|
+
* @summary Get sandbox traces
|
|
166
|
+
* @param {string} organizationId Organization ID
|
|
167
|
+
* @param {string} sandboxId Sandbox ID
|
|
168
|
+
* @param {string} from Start time (RFC3339)
|
|
169
|
+
* @param {string} to End time (RFC3339)
|
|
170
|
+
* @param {number} [limit] Page size
|
|
171
|
+
* @param {number} [offset] Offset
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryTracesGet(organizationId: string, sandboxId: string, from: string, to: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsTraceSummary>>;
|
|
176
|
+
/**
|
|
177
|
+
* Returns all spans belonging to a specific trace ID
|
|
178
|
+
* @summary Get trace spans
|
|
179
|
+
* @param {string} organizationId Organization ID
|
|
180
|
+
* @param {string} sandboxId Sandbox ID
|
|
181
|
+
* @param {string} traceId Trace ID
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet(organizationId: string, sandboxId: string, traceId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsSpan>>;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* TelemetryApi - object-oriented interface
|
|
189
|
+
* @export
|
|
190
|
+
* @class TelemetryApi
|
|
191
|
+
* @extends {BaseAPI}
|
|
192
|
+
*/
|
|
193
|
+
export declare class TelemetryApi extends BaseAPI {
|
|
194
|
+
/**
|
|
195
|
+
* Returns paginated log entries with optional severity and search filters
|
|
196
|
+
* @summary Get sandbox logs
|
|
197
|
+
* @param {string} organizationId Organization ID
|
|
198
|
+
* @param {string} sandboxId Sandbox ID
|
|
199
|
+
* @param {string} from Start time (RFC3339)
|
|
200
|
+
* @param {string} to End time (RFC3339)
|
|
201
|
+
* @param {string} [severity] Comma-separated severity levels
|
|
202
|
+
* @param {string} [search] Search text (ILIKE)
|
|
203
|
+
* @param {number} [limit] Page size
|
|
204
|
+
* @param {number} [offset] Offset
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
* @memberof TelemetryApi
|
|
208
|
+
*/
|
|
209
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryLogsGet(organizationId: string, sandboxId: string, from: string, to: string, severity?: string, search?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsLogEntry[], any, {}>>;
|
|
210
|
+
/**
|
|
211
|
+
* Returns gauge metrics aggregated in 1-minute intervals
|
|
212
|
+
* @summary Get sandbox metrics
|
|
213
|
+
* @param {string} organizationId Organization ID
|
|
214
|
+
* @param {string} sandboxId Sandbox ID
|
|
215
|
+
* @param {string} from Start time (RFC3339)
|
|
216
|
+
* @param {string} to End time (RFC3339)
|
|
217
|
+
* @param {string} [metricNames] Comma-separated metric names
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
* @memberof TelemetryApi
|
|
221
|
+
*/
|
|
222
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet(organizationId: string, sandboxId: string, from: string, to: string, metricNames?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsMetricPoint[], any, {}>>;
|
|
223
|
+
/**
|
|
224
|
+
* Returns paginated trace summaries with span counts and root span info
|
|
225
|
+
* @summary Get sandbox traces
|
|
226
|
+
* @param {string} organizationId Organization ID
|
|
227
|
+
* @param {string} sandboxId Sandbox ID
|
|
228
|
+
* @param {string} from Start time (RFC3339)
|
|
229
|
+
* @param {string} to End time (RFC3339)
|
|
230
|
+
* @param {number} [limit] Page size
|
|
231
|
+
* @param {number} [offset] Offset
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
* @memberof TelemetryApi
|
|
235
|
+
*/
|
|
236
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryTracesGet(organizationId: string, sandboxId: string, from: string, to: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsTraceSummary[], any, {}>>;
|
|
237
|
+
/**
|
|
238
|
+
* Returns all spans belonging to a specific trace ID
|
|
239
|
+
* @summary Get trace spans
|
|
240
|
+
* @param {string} organizationId Organization ID
|
|
241
|
+
* @param {string} sandboxId Sandbox ID
|
|
242
|
+
* @param {string} traceId Trace ID
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
* @memberof TelemetryApi
|
|
246
|
+
*/
|
|
247
|
+
organizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet(organizationId: string, sandboxId: string, traceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsSpan[], any, {}>>;
|
|
248
|
+
}
|