perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
66 lines • 2.32 kB
TypeScript
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
import type { QueryResult } from "../trace_processor/trace_processor_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/bigtrace/orchestrator.proto.
*/
export declare const file_protos_perfetto_bigtrace_orchestrator: GenFile;
/**
* Request/Response for TraceListQuery
*
* @generated from message perfetto.protos.BigtraceQueryArgs
*/
export type BigtraceQueryArgs = Message<"perfetto.protos.BigtraceQueryArgs"> & {
/**
* @generated from field: repeated string traces = 1;
*/
traces: string[];
/**
* @generated from field: optional string sql_query = 2;
*/
sqlQuery?: string;
};
/**
* Describes the message perfetto.protos.BigtraceQueryArgs.
* Use `create(BigtraceQueryArgsSchema)` to create a new message.
*/
export declare const BigtraceQueryArgsSchema: GenMessage<BigtraceQueryArgs>;
/**
* @generated from message perfetto.protos.BigtraceQueryResponse
*/
export type BigtraceQueryResponse = Message<"perfetto.protos.BigtraceQueryResponse"> & {
/**
* @generated from field: optional string trace = 1;
*/
trace?: string;
/**
* @generated from field: repeated perfetto.protos.QueryResult result = 2;
*/
result: QueryResult[];
};
/**
* Describes the message perfetto.protos.BigtraceQueryResponse.
* Use `create(BigtraceQueryResponseSchema)` to create a new message.
*/
export declare const BigtraceQueryResponseSchema: GenMessage<BigtraceQueryResponse>;
/**
* Each Bigtrace instance has an orchestrator which is responsible for receiving
* requests from the client and loading and querying traces by sharding them
* across a set of "Workers"
*
* @generated from service perfetto.protos.BigtraceOrchestrator
*/
export declare const BigtraceOrchestrator: GenService<{
/**
* Executes a SQL query on the specified list of traces and returns a stream
* of the result of the query for a given trace
*
* @generated from rpc perfetto.protos.BigtraceOrchestrator.Query
*/
query: {
methodKind: "server_streaming";
input: typeof BigtraceQueryArgsSchema;
output: typeof BigtraceQueryResponseSchema;
};
}>;
//# sourceMappingURL=orchestrator_pb.d.ts.map