@ddd-ts-kit/sentry 0.113.2 → 0.114.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.
- package/README.fr.md +4 -4
- package/README.md +3 -3
- package/package.json +8 -8
package/README.fr.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[English](README.md) · **Français**
|
|
2
|
-
<!-- translation-of: README.md sha256:
|
|
2
|
+
<!-- translation-of: README.md sha256:dfecc690f619411f -->
|
|
3
3
|
|
|
4
4
|
# @ddd-ts-kit/sentry
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ npm i @ddd-ts-kit/sentry @sentry/node @opentelemetry/api
|
|
|
17
17
|
(`enableOpenTelemetrySetup`, `dataCollection`) n'existent pas dans les versions majeures
|
|
18
18
|
antérieures.
|
|
19
19
|
|
|
20
|
-

|
|
21
21
|
|
|
22
22
|
Le code d'un cas d'usage ne voit jamais le rapporteur. Il lève une exception ; ce qui l'entoure
|
|
23
23
|
décide si l'échec est un incident, le décrit avec les identifiants du travail en cours et le
|
|
@@ -106,7 +106,7 @@ fois, par le bus, sous le nom de la commande, et la route qui répond 500 reste
|
|
|
106
106
|
rapport dit tout de même d'où il vient : `origin` est l'origine du contexte d'exécution (`http`,
|
|
107
107
|
`schedule`), et l'identifiant de corrélation et la trace mènent à la requête HTTP.
|
|
108
108
|
|
|
109
|
-

|
|
110
110
|
|
|
111
111
|
**Événements.** Un consommateur fait l'objet de nouvelles tentatives : ses premiers échecs sont
|
|
112
112
|
attendus, et les remonter enterrerait les vrais incidents. Le *middleware* du bus ne dit donc
|
|
@@ -117,7 +117,7 @@ erreur et sa pile. Sans lui, ou pour un message empoisonné, le rapport est une
|
|
|
117
117
|
qui nomme le code. Un événement enterré par une `DomainError` est remonté en `warning` : il est
|
|
118
118
|
perdu pour son consommateur tout de même.
|
|
119
119
|
|
|
120
|
-

|
|
121
121
|
|
|
122
122
|
Les mêmes étapes, jouées à la main contre les doubles du noyau, comme le ferait un test du
|
|
123
123
|
câblage :
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npm i @ddd-ts-kit/sentry @sentry/node @opentelemetry/api
|
|
|
14
14
|
Written against `@sentry/node` 11: the options it relies on (`enableOpenTelemetrySetup`,
|
|
15
15
|
`dataCollection`) do not exist in earlier majors.
|
|
16
16
|
|
|
17
|
-

|
|
18
18
|
|
|
19
19
|
The code of a use case never sees the reporter. It throws; what stands around it decides whether
|
|
20
20
|
the failure is an incident, describes it with the identifiers of the work in progress and hands
|
|
@@ -100,7 +100,7 @@ under the name of the command, and the route that answers 500 stays silent. The
|
|
|
100
100
|
says where it came from: `origin` is the origin of the execution context (`http`, `schedule`),
|
|
101
101
|
and the correlation id and the trace lead to the request.
|
|
102
102
|
|
|
103
|
-

|
|
104
104
|
|
|
105
105
|
**Events.** A consumer is retried: its first failures are expected, and reporting them would
|
|
106
106
|
bury the real incidents. The bus middleware therefore says nothing while an event is consumed,
|
|
@@ -110,7 +110,7 @@ report carries the real error and its stack. Without it, or for a poison message
|
|
|
110
110
|
is a `DeadLetterError` naming the code. An event buried by a `DomainError` is reported as a
|
|
111
111
|
`warning`: it is lost to its consumer all the same.
|
|
112
112
|
|
|
113
|
-

|
|
114
114
|
|
|
115
115
|
The same steps, played by hand against the doubles of the kernel, as a test of the wiring would:
|
|
116
116
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddd-ts-kit/sentry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.114.1",
|
|
4
4
|
"description": "Error reporting to Sentry or GlitchTip behind the kernel ErrorReporter port: unexpected failures only, correlated with traces, scrubbed before sending.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/
|
|
19
|
+
"url": "git+https://github.com/ddd-ts-kit/ddd-ts-kit.git",
|
|
20
20
|
"directory": "packages/sentry"
|
|
21
21
|
},
|
|
22
|
-
"homepage": "https://
|
|
23
|
-
"bugs": "https://github.com/
|
|
22
|
+
"homepage": "https://ddd-ts-kit.github.io/ddd-ts-kit/packages/sentry/",
|
|
23
|
+
"bugs": "https://github.com/ddd-ts-kit/ddd-ts-kit/issues",
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public",
|
|
26
26
|
"provenance": true
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@ddd-ts-kit/kernel": "0.
|
|
43
|
+
"@ddd-ts-kit/kernel": "0.114.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@ddd-ts-kit/di": "0.
|
|
47
|
-
"@ddd-ts-kit/http": "0.
|
|
48
|
-
"@ddd-ts-kit/tracing": "0.
|
|
46
|
+
"@ddd-ts-kit/di": "0.114.1",
|
|
47
|
+
"@ddd-ts-kit/http": "0.114.1",
|
|
48
|
+
"@ddd-ts-kit/tracing": "0.114.1",
|
|
49
49
|
"@opentelemetry/api": "^1.10.0",
|
|
50
50
|
"@opentelemetry/sdk-trace": "^3.1.0",
|
|
51
51
|
"@sentry/node": "^11.11.0"
|