@parca/client
Advanced tools
Comparing version 0.16.86 to 0.16.87
@@ -6,2 +6,6 @@ # Change Log | ||
## 0.16.87 (2023-09-18) | ||
**Note:** Version bump only for package @parca/client | ||
## [0.16.86](https://github.com/parca-dev/parca/compare/@parca/client@0.16.85...@parca/client@0.16.86) (2023-08-23) | ||
@@ -8,0 +12,0 @@ |
@@ -9,2 +9,6 @@ import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; | ||
/** | ||
* Health is gRPC's mechanism for checking whether a server is able to handle | ||
* RPCs. Its semantics are documented in | ||
* https://github.com/grpc/grpc/blob/master/doc/health-checking.md. | ||
* | ||
* @generated from protobuf service grpc.health.v1.Health | ||
@@ -14,5 +18,12 @@ */ | ||
/** | ||
* If the requested service is unknown, the call will fail with status | ||
* NOT_FOUND. | ||
* Check gets the health of the specified service. If the requested service | ||
* is unknown, the call will fail with status NOT_FOUND. If the caller does | ||
* not specify a service name, the server should respond with its overall | ||
* health status. | ||
* | ||
* Clients should set a deadline when calling Check, and can declare the | ||
* server unhealthy if they do not receive a timely response. | ||
* | ||
* Check implementations should be idempotent and side effect free. | ||
* | ||
* @generated from protobuf rpc: Check(grpc.health.v1.HealthCheckRequest) returns (grpc.health.v1.HealthCheckResponse); | ||
@@ -43,2 +54,6 @@ */ | ||
/** | ||
* Health is gRPC's mechanism for checking whether a server is able to handle | ||
* RPCs. Its semantics are documented in | ||
* https://github.com/grpc/grpc/blob/master/doc/health-checking.md. | ||
* | ||
* @generated from protobuf service grpc.health.v1.Health | ||
@@ -55,5 +70,12 @@ */ | ||
/** | ||
* If the requested service is unknown, the call will fail with status | ||
* NOT_FOUND. | ||
* Check gets the health of the specified service. If the requested service | ||
* is unknown, the call will fail with status NOT_FOUND. If the caller does | ||
* not specify a service name, the server should respond with its overall | ||
* health status. | ||
* | ||
* Clients should set a deadline when calling Check, and can declare the | ||
* server unhealthy if they do not receive a timely response. | ||
* | ||
* Check implementations should be idempotent and side effect free. | ||
* | ||
* @generated from protobuf rpc: Check(grpc.health.v1.HealthCheckRequest) returns (grpc.health.v1.HealthCheckResponse); | ||
@@ -60,0 +82,0 @@ */ |
import { Health } from "./health"; | ||
import { stackIntercept } from "@protobuf-ts/runtime-rpc"; | ||
/** | ||
* Health is gRPC's mechanism for checking whether a server is able to handle | ||
* RPCs. Its semantics are documented in | ||
* https://github.com/grpc/grpc/blob/master/doc/health-checking.md. | ||
* | ||
* @generated from protobuf service grpc.health.v1.Health | ||
@@ -14,5 +18,12 @@ */ | ||
/** | ||
* If the requested service is unknown, the call will fail with status | ||
* NOT_FOUND. | ||
* Check gets the health of the specified service. If the requested service | ||
* is unknown, the call will fail with status NOT_FOUND. If the caller does | ||
* not specify a service name, the server should respond with its overall | ||
* health status. | ||
* | ||
* Clients should set a deadline when calling Check, and can declare the | ||
* server unhealthy if they do not receive a timely response. | ||
* | ||
* Check implementations should be idempotent and side effect free. | ||
* | ||
* @generated from protobuf rpc: Check(grpc.health.v1.HealthCheckRequest) returns (grpc.health.v1.HealthCheckResponse); | ||
@@ -19,0 +30,0 @@ */ |
@@ -8,2 +8,5 @@ import { ServiceType } from "@protobuf-ts/runtime-rpc"; | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { TableArrow } from "../../query/v1alpha1/query"; | ||
import { Source } from "../../query/v1alpha1/query"; | ||
import { FlamegraphArrow } from "../../query/v1alpha1/query"; | ||
import { Callgraph } from "../../query/v1alpha1/query"; | ||
@@ -163,2 +166,26 @@ import { Top } from "../../query/v1alpha1/query"; | ||
} | { | ||
oneofKind: "flamegraphArrow"; | ||
/** | ||
* flamegraph_arrow is a flamegraph encoded as a arrow record | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.FlamegraphArrow flamegraph_arrow = 7; | ||
*/ | ||
flamegraphArrow: FlamegraphArrow; | ||
} | { | ||
oneofKind: "source"; | ||
/** | ||
* source is the source report type result | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.Source source = 8; | ||
*/ | ||
source: Source; | ||
} | { | ||
oneofKind: "tableArrow"; | ||
/** | ||
* table_arrow is a table encoded as a arrow record | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.TableArrow table_arrow = 9; | ||
*/ | ||
tableArrow: TableArrow; | ||
} | { | ||
oneofKind: undefined; | ||
@@ -165,0 +192,0 @@ }; |
@@ -10,2 +10,5 @@ // @generated by protobuf-ts 2.9.1 with parameter generate_dependencies | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { TableArrow } from "../../query/v1alpha1/query"; | ||
import { Source } from "../../query/v1alpha1/query"; | ||
import { FlamegraphArrow } from "../../query/v1alpha1/query"; | ||
import { Callgraph } from "../../query/v1alpha1/query"; | ||
@@ -308,2 +311,5 @@ import { Top } from "../../query/v1alpha1/query"; | ||
{ no: 4, name: "callgraph", kind: "message", oneof: "report", T: () => Callgraph }, | ||
{ no: 7, name: "flamegraph_arrow", kind: "message", oneof: "report", T: () => FlamegraphArrow }, | ||
{ no: 8, name: "source", kind: "message", oneof: "report", T: () => Source }, | ||
{ no: 9, name: "table_arrow", kind: "message", oneof: "report", T: () => TableArrow }, | ||
{ no: 5, name: "total", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }, | ||
@@ -349,2 +355,20 @@ { no: 6, name: "filtered", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ } | ||
break; | ||
case /* parca.query.v1alpha1.FlamegraphArrow flamegraph_arrow */ 7: | ||
message.report = { | ||
oneofKind: "flamegraphArrow", | ||
flamegraphArrow: FlamegraphArrow.internalBinaryRead(reader, reader.uint32(), options, message.report.flamegraphArrow) | ||
}; | ||
break; | ||
case /* parca.query.v1alpha1.Source source */ 8: | ||
message.report = { | ||
oneofKind: "source", | ||
source: Source.internalBinaryRead(reader, reader.uint32(), options, message.report.source) | ||
}; | ||
break; | ||
case /* parca.query.v1alpha1.TableArrow table_arrow */ 9: | ||
message.report = { | ||
oneofKind: "tableArrow", | ||
tableArrow: TableArrow.internalBinaryRead(reader, reader.uint32(), options, message.report.tableArrow) | ||
}; | ||
break; | ||
case /* int64 total */ 5: | ||
@@ -380,2 +404,11 @@ message.total = reader.int64().toBigInt(); | ||
Callgraph.internalBinaryWrite(message.report.callgraph, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); | ||
/* parca.query.v1alpha1.FlamegraphArrow flamegraph_arrow = 7; */ | ||
if (message.report.oneofKind === "flamegraphArrow") | ||
FlamegraphArrow.internalBinaryWrite(message.report.flamegraphArrow, writer.tag(7, WireType.LengthDelimited).fork(), options).join(); | ||
/* parca.query.v1alpha1.Source source = 8; */ | ||
if (message.report.oneofKind === "source") | ||
Source.internalBinaryWrite(message.report.source, writer.tag(8, WireType.LengthDelimited).fork(), options).join(); | ||
/* parca.query.v1alpha1.TableArrow table_arrow = 9; */ | ||
if (message.report.oneofKind === "tableArrow") | ||
TableArrow.internalBinaryWrite(message.report.tableArrow, writer.tag(9, WireType.LengthDelimited).fork(), options).join(); | ||
/* int64 total = 5; */ | ||
@@ -382,0 +415,0 @@ if (message.total !== 0n) |
{ | ||
"name": "@parca/client", | ||
"version": "0.16.86", | ||
"version": "0.16.87", | ||
"description": "Parca API Client", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "6cc8241e1dba86446268b2c427330e46fe815fb0" | ||
"gitHead": "5f92957a5d928d98b4fe7bec67e5b44e10e380b2" | ||
} |
@@ -33,2 +33,6 @@ // @generated by protobuf-ts 2.9.1 with parameter generate_dependencies | ||
/** | ||
* Health is gRPC's mechanism for checking whether a server is able to handle | ||
* RPCs. Its semantics are documented in | ||
* https://github.com/grpc/grpc/blob/master/doc/health-checking.md. | ||
* | ||
* @generated from protobuf service grpc.health.v1.Health | ||
@@ -38,5 +42,12 @@ */ | ||
/** | ||
* If the requested service is unknown, the call will fail with status | ||
* NOT_FOUND. | ||
* Check gets the health of the specified service. If the requested service | ||
* is unknown, the call will fail with status NOT_FOUND. If the caller does | ||
* not specify a service name, the server should respond with its overall | ||
* health status. | ||
* | ||
* Clients should set a deadline when calling Check, and can declare the | ||
* server unhealthy if they do not receive a timely response. | ||
* | ||
* Check implementations should be idempotent and side effect free. | ||
* | ||
* @generated from protobuf rpc: Check(grpc.health.v1.HealthCheckRequest) returns (grpc.health.v1.HealthCheckResponse); | ||
@@ -67,2 +78,6 @@ */ | ||
/** | ||
* Health is gRPC's mechanism for checking whether a server is able to handle | ||
* RPCs. Its semantics are documented in | ||
* https://github.com/grpc/grpc/blob/master/doc/health-checking.md. | ||
* | ||
* @generated from protobuf service grpc.health.v1.Health | ||
@@ -77,5 +92,12 @@ */ | ||
/** | ||
* If the requested service is unknown, the call will fail with status | ||
* NOT_FOUND. | ||
* Check gets the health of the specified service. If the requested service | ||
* is unknown, the call will fail with status NOT_FOUND. If the caller does | ||
* not specify a service name, the server should respond with its overall | ||
* health status. | ||
* | ||
* Clients should set a deadline when calling Check, and can declare the | ||
* server unhealthy if they do not receive a timely response. | ||
* | ||
* Check implementations should be idempotent and side effect free. | ||
* | ||
* @generated from protobuf rpc: Check(grpc.health.v1.HealthCheckRequest) returns (grpc.health.v1.HealthCheckResponse); | ||
@@ -82,0 +104,0 @@ */ |
@@ -15,2 +15,5 @@ // @generated by protobuf-ts 2.9.1 with parameter generate_dependencies | ||
import { MessageType } from "@protobuf-ts/runtime"; | ||
import { TableArrow } from "../../query/v1alpha1/query"; | ||
import { Source } from "../../query/v1alpha1/query"; | ||
import { FlamegraphArrow } from "../../query/v1alpha1/query"; | ||
import { Callgraph } from "../../query/v1alpha1/query"; | ||
@@ -170,2 +173,26 @@ import { Top } from "../../query/v1alpha1/query"; | ||
} | { | ||
oneofKind: "flamegraphArrow"; | ||
/** | ||
* flamegraph_arrow is a flamegraph encoded as a arrow record | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.FlamegraphArrow flamegraph_arrow = 7; | ||
*/ | ||
flamegraphArrow: FlamegraphArrow; | ||
} | { | ||
oneofKind: "source"; | ||
/** | ||
* source is the source report type result | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.Source source = 8; | ||
*/ | ||
source: Source; | ||
} | { | ||
oneofKind: "tableArrow"; | ||
/** | ||
* table_arrow is a table encoded as a arrow record | ||
* | ||
* @generated from protobuf field: parca.query.v1alpha1.TableArrow table_arrow = 9; | ||
*/ | ||
tableArrow: TableArrow; | ||
} | { | ||
oneofKind: undefined; | ||
@@ -478,2 +505,5 @@ }; | ||
{ no: 4, name: "callgraph", kind: "message", oneof: "report", T: () => Callgraph }, | ||
{ no: 7, name: "flamegraph_arrow", kind: "message", oneof: "report", T: () => FlamegraphArrow }, | ||
{ no: 8, name: "source", kind: "message", oneof: "report", T: () => Source }, | ||
{ no: 9, name: "table_arrow", kind: "message", oneof: "report", T: () => TableArrow }, | ||
{ no: 5, name: "total", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }, | ||
@@ -519,2 +549,20 @@ { no: 6, name: "filtered", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ } | ||
break; | ||
case /* parca.query.v1alpha1.FlamegraphArrow flamegraph_arrow */ 7: | ||
message.report = { | ||
oneofKind: "flamegraphArrow", | ||
flamegraphArrow: FlamegraphArrow.internalBinaryRead(reader, reader.uint32(), options, (message.report as any).flamegraphArrow) | ||
}; | ||
break; | ||
case /* parca.query.v1alpha1.Source source */ 8: | ||
message.report = { | ||
oneofKind: "source", | ||
source: Source.internalBinaryRead(reader, reader.uint32(), options, (message.report as any).source) | ||
}; | ||
break; | ||
case /* parca.query.v1alpha1.TableArrow table_arrow */ 9: | ||
message.report = { | ||
oneofKind: "tableArrow", | ||
tableArrow: TableArrow.internalBinaryRead(reader, reader.uint32(), options, (message.report as any).tableArrow) | ||
}; | ||
break; | ||
case /* int64 total */ 5: | ||
@@ -550,2 +598,11 @@ message.total = reader.int64().toBigInt(); | ||
Callgraph.internalBinaryWrite(message.report.callgraph, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); | ||
/* parca.query.v1alpha1.FlamegraphArrow flamegraph_arrow = 7; */ | ||
if (message.report.oneofKind === "flamegraphArrow") | ||
FlamegraphArrow.internalBinaryWrite(message.report.flamegraphArrow, writer.tag(7, WireType.LengthDelimited).fork(), options).join(); | ||
/* parca.query.v1alpha1.Source source = 8; */ | ||
if (message.report.oneofKind === "source") | ||
Source.internalBinaryWrite(message.report.source, writer.tag(8, WireType.LengthDelimited).fork(), options).join(); | ||
/* parca.query.v1alpha1.TableArrow table_arrow = 9; */ | ||
if (message.report.oneofKind === "tableArrow") | ||
TableArrow.internalBinaryWrite(message.report.tableArrow, writer.tag(9, WireType.LengthDelimited).fork(), options).join(); | ||
/* int64 total = 5; */ | ||
@@ -552,0 +609,0 @@ if (message.total !== 0n) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1529670
32745