@twin.org/telemetry-service 0.0.1-next.15 → 0.0.1-next.16
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/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/telemetry-service - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.16](https://github.com/twinfoundation/telemetry/compare/telemetry-service-v0.0.1-next.15...telemetry-service-v0.0.1-next.16) (2025-04-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use shared store mechanism ([#7](https://github.com/twinfoundation/telemetry/issues/7)) ([806fe2c](https://github.com/twinfoundation/telemetry/commit/806fe2c2b7653d6b949c27ebf57bd13c3e040242))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/telemetry-models bumped from 0.0.1-next.15 to 0.0.1-next.16
|
|
16
|
+
|
|
3
17
|
## [0.0.1-next.15](https://github.com/twinfoundation/telemetry/compare/telemetry-service-v0.0.1-next.14...telemetry-service-v0.0.1-next.15) (2025-03-28)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -8,9 +8,9 @@ Service for performing telemetry operations to a connector.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new TelemetryService**(`options
|
|
13
|
+
> **new TelemetryService**(`options?`): `TelemetryService`
|
|
14
14
|
|
|
15
15
|
Create a new instance of TelemetryService.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ The options for the connector.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`TelemetryService`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -128,7 +128,7 @@ Nothing.
|
|
|
128
128
|
|
|
129
129
|
### addMetricValue()
|
|
130
130
|
|
|
131
|
-
> **addMetricValue**(`id`, `value`, `customData
|
|
131
|
+
> **addMetricValue**(`id`, `value`, `customData?`): `Promise`\<`string`\>
|
|
132
132
|
|
|
133
133
|
Add a metric value.
|
|
134
134
|
|
|
@@ -190,7 +190,7 @@ Nothing.
|
|
|
190
190
|
|
|
191
191
|
### query()
|
|
192
192
|
|
|
193
|
-
> **query**(`type
|
|
193
|
+
> **query**(`type?`, `cursor?`, `pageSize?`): `Promise`\<\{ `entities`: `ITelemetryMetric`[]; `cursor`: `string`; \}\>
|
|
194
194
|
|
|
195
195
|
Query the metrics.
|
|
196
196
|
|
|
@@ -233,7 +233,7 @@ NotImplementedError if the implementation does not support retrieval.
|
|
|
233
233
|
|
|
234
234
|
### queryValues()
|
|
235
235
|
|
|
236
|
-
> **queryValues**(`id`, `timeStart
|
|
236
|
+
> **queryValues**(`id`, `timeStart?`, `timeEnd?`, `cursor?`, `pageSize?`): `Promise`\<\{ `metric`: `ITelemetryMetric`; `entities`: `ITelemetryMetricValue`[]; `cursor`: `string`; \}\>
|
|
237
237
|
|
|
238
238
|
Query the metric values.
|
|
239
239
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/telemetry-service",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.16",
|
|
4
4
|
"description": "Telemetry contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/entity": "next",
|
|
20
20
|
"@twin.org/nameof": "next",
|
|
21
|
-
"@twin.org/telemetry-models": "0.0.1-next.
|
|
21
|
+
"@twin.org/telemetry-models": "0.0.1-next.16",
|
|
22
22
|
"@twin.org/web": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/cjs/index.cjs",
|