@thotischner/observability-mcp 3.9.16 → 3.9.17
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.
|
@@ -93,9 +93,9 @@ export declare function enterprisePolicyView(): {
|
|
|
93
93
|
data: any;
|
|
94
94
|
error?: undefined;
|
|
95
95
|
} | {
|
|
96
|
+
data?: undefined;
|
|
96
97
|
configured: true;
|
|
97
98
|
error: string;
|
|
98
|
-
data?: undefined;
|
|
99
99
|
};
|
|
100
100
|
/** The loaded product catalog (read-only view). */
|
|
101
101
|
export declare function enterpriseCatalogView(): {
|
|
@@ -107,14 +107,14 @@ export declare function enterpriseCatalogView(): {
|
|
|
107
107
|
data: any;
|
|
108
108
|
error?: undefined;
|
|
109
109
|
} | {
|
|
110
|
+
data?: undefined;
|
|
110
111
|
configured: true;
|
|
111
112
|
error: string;
|
|
112
|
-
data?: undefined;
|
|
113
113
|
};
|
|
114
114
|
/** Recent audit decisions + a tamper-evidence check over the whole log. */
|
|
115
115
|
export declare function enterpriseAuditTail(limit?: number): Promise<{
|
|
116
|
-
configured: false;
|
|
117
116
|
error?: undefined;
|
|
117
|
+
configured: false;
|
|
118
118
|
total?: undefined;
|
|
119
119
|
chain?: undefined;
|
|
120
120
|
entries?: undefined;
|
|
@@ -125,11 +125,11 @@ export declare function enterpriseAuditTail(limit?: number): Promise<{
|
|
|
125
125
|
chain?: undefined;
|
|
126
126
|
entries?: undefined;
|
|
127
127
|
} | {
|
|
128
|
+
error?: undefined;
|
|
128
129
|
configured: true;
|
|
129
130
|
total: number;
|
|
130
131
|
chain: unknown;
|
|
131
132
|
entries: unknown[];
|
|
132
|
-
error?: undefined;
|
|
133
133
|
}>;
|
|
134
134
|
export declare const ADMIN_CAP = "enterprise:admin";
|
|
135
135
|
/** Structural validation — never trust a PUT body. */
|
package/dist/metrics/self.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Registry, Counter, Histogram, Gauge } from "prom-client";
|
|
2
2
|
export declare const selfRegistry: Registry<"text/plain; version=0.0.4; charset=utf-8">;
|
|
3
|
-
export declare const mcpToolCalls: Counter<"
|
|
3
|
+
export declare const mcpToolCalls: Counter<"outcome" | "tool">;
|
|
4
4
|
export declare const mcpToolLatency: Histogram<"tool">;
|
|
5
|
-
export declare const connectorCalls: Counter<"
|
|
6
|
-
export declare const apiRequests: Counter<"
|
|
5
|
+
export declare const connectorCalls: Counter<"operation" | "outcome" | "source" | "type">;
|
|
6
|
+
export declare const apiRequests: Counter<"method" | "route" | "status">;
|
|
7
7
|
export declare const mcpActiveSessions: Gauge<string>;
|
|
8
8
|
export declare const auditDlqDepth: Gauge<string>;
|
|
9
|
-
export declare const inspectEvents: Counter<"
|
|
9
|
+
export declare const inspectEvents: Counter<"decision" | "outcome" | "tool">;
|
|
10
10
|
/** Record one inspection observation in the self-metrics registry. Never throws. */
|
|
11
11
|
export declare function recordInspectEvent(tool: string, outcome: string, decision: string): void;
|
|
12
12
|
/**
|
|
@@ -6,10 +6,10 @@ export declare const manifestSchema: z.ZodObject<{
|
|
|
6
6
|
version: z.ZodString;
|
|
7
7
|
description: z.ZodString;
|
|
8
8
|
signalTypes: z.ZodArray<z.ZodEnum<{
|
|
9
|
-
metrics: "metrics";
|
|
10
9
|
logs: "logs";
|
|
11
|
-
|
|
10
|
+
metrics: "metrics";
|
|
12
11
|
topology: "topology";
|
|
12
|
+
traces: "traces";
|
|
13
13
|
}>>;
|
|
14
14
|
homepage: z.ZodOptional<z.ZodString>;
|
|
15
15
|
license: z.ZodOptional<z.ZodString>;
|
|
@@ -33,19 +33,19 @@ export declare const manifestSchema: z.ZodObject<{
|
|
|
33
33
|
integrity: z.ZodOptional<z.ZodString>;
|
|
34
34
|
hooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
35
|
kind: z.ZodEnum<{
|
|
36
|
-
tool_pre_invoke: "tool_pre_invoke";
|
|
37
|
-
tool_post_invoke: "tool_post_invoke";
|
|
38
|
-
resource_pre_fetch: "resource_pre_fetch";
|
|
39
|
-
resource_post_fetch: "resource_post_fetch";
|
|
40
|
-
prompt_pre_fetch: "prompt_pre_fetch";
|
|
41
36
|
prompt_post_fetch: "prompt_post_fetch";
|
|
37
|
+
prompt_pre_fetch: "prompt_pre_fetch";
|
|
38
|
+
resource_post_fetch: "resource_post_fetch";
|
|
39
|
+
resource_pre_fetch: "resource_pre_fetch";
|
|
40
|
+
tool_post_invoke: "tool_post_invoke";
|
|
41
|
+
tool_pre_invoke: "tool_pre_invoke";
|
|
42
42
|
}>;
|
|
43
43
|
module: z.ZodString;
|
|
44
44
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
45
45
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
46
|
+
disabled: "disabled";
|
|
46
47
|
enforce: "enforce";
|
|
47
48
|
permissive: "permissive";
|
|
48
|
-
disabled: "disabled";
|
|
49
49
|
}>>;
|
|
50
50
|
}, z.core.$strip>>>;
|
|
51
51
|
}, z.core.$strip>;
|
package/dist/tools/topology.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thotischner/observability-mcp",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.17",
|
|
4
4
|
"description": "Unified observability gateway for AI agents — one MCP server for Prometheus, Loki, and any backend",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@types/ws": "^8.5.13",
|
|
86
86
|
"openapi-types": "^12.1.3",
|
|
87
87
|
"tsx": "^4.22.0",
|
|
88
|
-
"typescript": "^
|
|
88
|
+
"typescript": "^7.0.2"
|
|
89
89
|
},
|
|
90
90
|
"overrides": {
|
|
91
91
|
"fast-uri": "^3.1.9",
|