@dakera-ai/dakera 0.9.2 → 0.9.3
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/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +6 -0
- package/dist/index.mjs +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2215,6 +2215,10 @@ declare class DakeraClient {
|
|
|
2215
2215
|
/** Get server stats (version, total_vectors, namespace_count, uptime_seconds, timestamp).
|
|
2216
2216
|
* Requires Read scope — works with read-only API keys, unlike clusterStatus. */
|
|
2217
2217
|
opsStats(): Promise<OpsStats>;
|
|
2218
|
+
/** Get Prometheus metrics in text exposition format (INFRA-3).
|
|
2219
|
+
* Requires Admin scope. Returns the raw Prometheus text exposition
|
|
2220
|
+
* format string suitable for scraping by a Prometheus server. */
|
|
2221
|
+
opsMetrics(): Promise<string>;
|
|
2218
2222
|
/** Get cluster status */
|
|
2219
2223
|
clusterStatus(): Promise<ClusterStatus>;
|
|
2220
2224
|
/** Get cluster nodes */
|
package/dist/index.d.ts
CHANGED
|
@@ -2215,6 +2215,10 @@ declare class DakeraClient {
|
|
|
2215
2215
|
/** Get server stats (version, total_vectors, namespace_count, uptime_seconds, timestamp).
|
|
2216
2216
|
* Requires Read scope — works with read-only API keys, unlike clusterStatus. */
|
|
2217
2217
|
opsStats(): Promise<OpsStats>;
|
|
2218
|
+
/** Get Prometheus metrics in text exposition format (INFRA-3).
|
|
2219
|
+
* Requires Admin scope. Returns the raw Prometheus text exposition
|
|
2220
|
+
* format string suitable for scraping by a Prometheus server. */
|
|
2221
|
+
opsMetrics(): Promise<string>;
|
|
2218
2222
|
/** Get cluster status */
|
|
2219
2223
|
clusterStatus(): Promise<ClusterStatus>;
|
|
2220
2224
|
/** Get cluster nodes */
|
package/dist/index.js
CHANGED
|
@@ -1435,6 +1435,12 @@ var DakeraClient = class {
|
|
|
1435
1435
|
async opsStats() {
|
|
1436
1436
|
return this.request("GET", "/v1/ops/stats");
|
|
1437
1437
|
}
|
|
1438
|
+
/** Get Prometheus metrics in text exposition format (INFRA-3).
|
|
1439
|
+
* Requires Admin scope. Returns the raw Prometheus text exposition
|
|
1440
|
+
* format string suitable for scraping by a Prometheus server. */
|
|
1441
|
+
async opsMetrics() {
|
|
1442
|
+
return this.request("GET", "/v1/ops/metrics");
|
|
1443
|
+
}
|
|
1438
1444
|
/** Get cluster status */
|
|
1439
1445
|
async clusterStatus() {
|
|
1440
1446
|
return this.request("GET", "/v1/admin/cluster/status");
|
package/dist/index.mjs
CHANGED
|
@@ -1395,6 +1395,12 @@ var DakeraClient = class {
|
|
|
1395
1395
|
async opsStats() {
|
|
1396
1396
|
return this.request("GET", "/v1/ops/stats");
|
|
1397
1397
|
}
|
|
1398
|
+
/** Get Prometheus metrics in text exposition format (INFRA-3).
|
|
1399
|
+
* Requires Admin scope. Returns the raw Prometheus text exposition
|
|
1400
|
+
* format string suitable for scraping by a Prometheus server. */
|
|
1401
|
+
async opsMetrics() {
|
|
1402
|
+
return this.request("GET", "/v1/ops/metrics");
|
|
1403
|
+
}
|
|
1398
1404
|
/** Get cluster status */
|
|
1399
1405
|
async clusterStatus() {
|
|
1400
1406
|
return this.request("GET", "/v1/admin/cluster/status");
|