@frontmcp/observability 1.11.1-rc.1 → 1.11.1-rc.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/README.md +1 -1
- package/esm/package.json +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ const shutdown = setupOTel({ serviceName: 'help-desk', exporter: 'otlp', endpoin
|
|
|
92
92
|
|
|
93
93
|
The log sinks are `{ type: 'stdout', pretty? }` (one JSON object per line), `{ type: 'console' }` (a readable line), `{ type: 'callback', fn }`, `{ type: 'otlp', endpoint?, headers?, batchSize?, flushIntervalMs?, serviceName? }`, `{ type: 'pino', logger }` and `{ type: 'winston', logger }`.
|
|
94
94
|
|
|
95
|
-
`@FrontMcp({ observability })` registers `ObservabilityPlugin` for you. You can register `ObservabilityPlugin.init(options)` in `plugins` yourself, but `observability` also connects the `logging` sinks to the server's logger, which the plugin alone doesn't.
|
|
95
|
+
`@FrontMcp({ observability })` registers `ObservabilityPlugin` for you. You can register `ObservabilityPlugin.init(options)` in `plugins` yourself instead, but `observability` also connects the `logging` sinks to the server's logger, which the plugin alone doesn't. Use one or the other: a server that sets `observability` and also lists `ObservabilityPlugin` in `@FrontMcp({ plugins })` fails at startup with `PluginConfiguredTwiceError` (code `PLUGIN_CONFIGURED_TWICE`).
|
|
96
96
|
|
|
97
97
|
## Key exports
|
|
98
98
|
|
package/esm/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/observability",
|
|
3
|
-
"version": "1.11.1-rc.
|
|
3
|
+
"version": "1.11.1-rc.2",
|
|
4
4
|
"description": "OpenTelemetry tracing, structured JSON logging, request logs and Prometheus-format metrics for FrontMCP servers",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@opentelemetry/api": "^1.9.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@frontmcp/sdk": "1.11.1-rc.
|
|
57
|
-
"@frontmcp/utils": "1.11.1-rc.
|
|
56
|
+
"@frontmcp/sdk": "1.11.1-rc.2",
|
|
57
|
+
"@frontmcp/utils": "1.11.1-rc.2",
|
|
58
58
|
"@opentelemetry/exporter-trace-otlp-http": "^0.219.0",
|
|
59
59
|
"@opentelemetry/sdk-node": "^0.219.0",
|
|
60
60
|
"@opentelemetry/sdk-trace-base": "^2.8.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/observability",
|
|
3
|
-
"version": "1.11.1-rc.
|
|
3
|
+
"version": "1.11.1-rc.2",
|
|
4
4
|
"description": "OpenTelemetry tracing, structured JSON logging, request logs and Prometheus-format metrics for FrontMCP servers",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@opentelemetry/api": "^1.9.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@frontmcp/sdk": "1.11.1-rc.
|
|
57
|
-
"@frontmcp/utils": "1.11.1-rc.
|
|
56
|
+
"@frontmcp/sdk": "1.11.1-rc.2",
|
|
57
|
+
"@frontmcp/utils": "1.11.1-rc.2",
|
|
58
58
|
"@opentelemetry/exporter-trace-otlp-http": "^0.219.0",
|
|
59
59
|
"@opentelemetry/sdk-node": "^0.219.0",
|
|
60
60
|
"@opentelemetry/sdk-trace-base": "^2.8.0",
|