@sailfish-ai/sf-veritas 0.1.17 → 0.1.18
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.md +10 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ To install from our repository, you need to configure your `npm` or `yarn` regis
|
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
// Add this to your .npmrc
|
|
13
|
-
@sailfishai:registry=https://us-npm.pkg.dev/
|
|
13
|
+
@sailfishai:registry=https://us-npm.pkg.dev/sailfish-ai/sailfishai-npm/
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
#### Install the Package
|
|
@@ -81,15 +81,15 @@ export async function register() {
|
|
|
81
81
|
const { setupInterceptors } = await import("@sailfish/sf-veritas");
|
|
82
82
|
|
|
83
83
|
setupInterceptors({
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
84
|
+
serviceIdentifier: "your-service-name",
|
|
85
|
+
serviceVersion: "1.0.0",
|
|
86
|
+
serviceAdditionalMetadata: {
|
|
87
|
+
environment: "production",
|
|
88
|
+
cluster: "east-coast",
|
|
89
|
+
},
|
|
90
|
+
domainsToNotPropagateHeadersTo: ["example.com"],
|
|
91
|
+
nodeModulesToCollectLocalVariablesOn: ["@your-org/your-package"],
|
|
92
|
+
});
|
|
93
93
|
|
|
94
94
|
console.log(
|
|
95
95
|
"[Instrumentation] Server-side interceptors initialized successfully.",
|
|
@@ -102,5 +102,4 @@ export async function register() {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
|
|
106
105
|
```
|