@twin.org/telemetry-service 0.0.1 → 0.0.2-next.2
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/dist/cjs/index.cjs
CHANGED
|
@@ -466,10 +466,6 @@ async function telemetryMetricValueList(httpRequestContext, componentName, reque
|
|
|
466
466
|
* Service for performing telemetry operations to a connector.
|
|
467
467
|
*/
|
|
468
468
|
class TelemetryService {
|
|
469
|
-
/**
|
|
470
|
-
* The namespace supported by the telemetry service.
|
|
471
|
-
*/
|
|
472
|
-
static NAMESPACE = "telemetry";
|
|
473
469
|
/**
|
|
474
470
|
* Runtime name for the class.
|
|
475
471
|
*/
|
package/dist/esm/index.mjs
CHANGED
|
@@ -464,10 +464,6 @@ async function telemetryMetricValueList(httpRequestContext, componentName, reque
|
|
|
464
464
|
* Service for performing telemetry operations to a connector.
|
|
465
465
|
*/
|
|
466
466
|
class TelemetryService {
|
|
467
|
-
/**
|
|
468
|
-
* The namespace supported by the telemetry service.
|
|
469
|
-
*/
|
|
470
|
-
static NAMESPACE = "telemetry";
|
|
471
467
|
/**
|
|
472
468
|
* Runtime name for the class.
|
|
473
469
|
*/
|
|
@@ -4,10 +4,6 @@ import type { ITelemetryServiceConstructorOptions } from "./models/ITelemetrySer
|
|
|
4
4
|
* Service for performing telemetry operations to a connector.
|
|
5
5
|
*/
|
|
6
6
|
export declare class TelemetryService implements ITelemetryComponent {
|
|
7
|
-
/**
|
|
8
|
-
* The namespace supported by the telemetry service.
|
|
9
|
-
*/
|
|
10
|
-
static readonly NAMESPACE: string;
|
|
11
7
|
/**
|
|
12
8
|
* Runtime name for the class.
|
|
13
9
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @twin.org/telemetry-service - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/telemetry/compare/telemetry-service-v0.0.2-next.1...telemetry-service-v0.0.2-next.2) (2025-08-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* eslint migration to flat config ([69ac91a](https://github.com/twinfoundation/telemetry/commit/69ac91a89d0b5bc63374a0bd314f770b557dabb4))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/telemetry-models bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
16
|
+
|
|
17
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/telemetry/compare/telemetry-service-v0.0.2-next.0...telemetry-service-v0.0.2-next.1) (2025-08-20)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* remove unused namespace ([54939fa](https://github.com/twinfoundation/telemetry/commit/54939faac3790dc1b51aa96a54005a03c99f98da))
|
|
23
|
+
* remove unused namespace ([02dcabb](https://github.com/twinfoundation/telemetry/commit/02dcabbe00f5b03d5e4b2c12e655efac50409acf))
|
|
24
|
+
* update dependencies ([0e55c48](https://github.com/twinfoundation/telemetry/commit/0e55c48de4139c6fe66b823101ca17973e60847c))
|
|
25
|
+
* update framework core ([4b10bcd](https://github.com/twinfoundation/telemetry/commit/4b10bcd4d3101151671bdcf9aef7c54f5937fc2a))
|
|
26
|
+
* use shared store mechanism ([#7](https://github.com/twinfoundation/telemetry/issues/7)) ([806fe2c](https://github.com/twinfoundation/telemetry/commit/806fe2c2b7653d6b949c27ebf57bd13c3e040242))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* query params force coercion ([ec7999e](https://github.com/twinfoundation/telemetry/commit/ec7999eadb66c65585efa19f3ce4cabb50eed761))
|
|
32
|
+
* Update metric endpoint paths by removing trailing slashes and query type as string ([#3](https://github.com/twinfoundation/telemetry/issues/3)) ([b386ca5](https://github.com/twinfoundation/telemetry/commit/b386ca55404aa933ad8917f82a7f0e588593fcc8))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Dependencies
|
|
36
|
+
|
|
37
|
+
* The following workspace dependencies were updated
|
|
38
|
+
* dependencies
|
|
39
|
+
* @twin.org/telemetry-models bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
40
|
+
|
|
3
41
|
## 0.0.1 (2025-07-04)
|
|
4
42
|
|
|
5
43
|
|
package/docs/open-api/spec.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"openapi": "3.1.
|
|
2
|
+
"openapi": "3.1.1",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "TWIN - Test Endpoints",
|
|
5
5
|
"description": "REST API for TWIN - Test Endpoints.",
|
|
@@ -878,7 +878,7 @@
|
|
|
878
878
|
"type": "string",
|
|
879
879
|
"description": "The stack trace for the error."
|
|
880
880
|
},
|
|
881
|
-
"
|
|
881
|
+
"cause": {
|
|
882
882
|
"$ref": "#/components/schemas/Error"
|
|
883
883
|
}
|
|
884
884
|
},
|
|
@@ -962,6 +962,7 @@
|
|
|
962
962
|
"properties": {
|
|
963
963
|
"entities": {
|
|
964
964
|
"type": "array",
|
|
965
|
+
"items": false,
|
|
965
966
|
"description": "The metrics.",
|
|
966
967
|
"prefixItems": [
|
|
967
968
|
{
|
|
@@ -1070,6 +1071,7 @@
|
|
|
1070
1071
|
},
|
|
1071
1072
|
"entities": {
|
|
1072
1073
|
"type": "array",
|
|
1074
|
+
"items": false,
|
|
1073
1075
|
"description": "The metric values.",
|
|
1074
1076
|
"prefixItems": [
|
|
1075
1077
|
{
|
|
@@ -28,14 +28,6 @@ The options for the connector.
|
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
31
|
-
### NAMESPACE
|
|
32
|
-
|
|
33
|
-
> `readonly` `static` **NAMESPACE**: `string` = `"telemetry"`
|
|
34
|
-
|
|
35
|
-
The namespace supported by the telemetry service.
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
31
|
### CLASS\_NAME
|
|
40
32
|
|
|
41
33
|
> `readonly` **CLASS\_NAME**: `string`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/telemetry-service",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-next.2",
|
|
4
4
|
"description": "Telemetry contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-models": "
|
|
18
|
-
"@twin.org/core": "
|
|
19
|
-
"@twin.org/entity": "
|
|
20
|
-
"@twin.org/nameof": "
|
|
21
|
-
"@twin.org/telemetry-models": "
|
|
22
|
-
"@twin.org/web": "
|
|
17
|
+
"@twin.org/api-models": "next",
|
|
18
|
+
"@twin.org/core": "next",
|
|
19
|
+
"@twin.org/entity": "next",
|
|
20
|
+
"@twin.org/nameof": "next",
|
|
21
|
+
"@twin.org/telemetry-models": "0.0.2-next.2",
|
|
22
|
+
"@twin.org/web": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/cjs/index.cjs",
|
|
25
25
|
"module": "./dist/esm/index.mjs",
|